@dangl/avacloud-client-node 1.60.4-beta0001-avacloud-preview → 1.60.4-beta0002-avacloud-preview
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api.d.ts +68 -24
- package/api.js +6 -0
- package/api.js.map +1 -1
- package/api.ts +74 -24
- package/package.json +1 -1
package/api.d.ts
CHANGED
|
@@ -4248,29 +4248,39 @@ reasons. */
|
|
|
4248
4248
|
}
|
|
4249
4249
|
/** This class represents an invoice */
|
|
4250
4250
|
export declare class Invoice implements IInvoice {
|
|
4251
|
-
/**
|
|
4251
|
+
/** BT-1
|
|
4252
|
+
The number of the invoice */
|
|
4252
4253
|
invoiceNumber?: string | undefined;
|
|
4253
|
-
/**
|
|
4254
|
+
/** BT-2
|
|
4255
|
+
The date of the invoice */
|
|
4254
4256
|
invoiceDate?: Date | undefined;
|
|
4255
|
-
/**
|
|
4257
|
+
/** BT-3
|
|
4258
|
+
The type of the invoice */
|
|
4256
4259
|
invoiceType?: InvoiceType | undefined;
|
|
4257
|
-
/**
|
|
4260
|
+
/** BT-5
|
|
4261
|
+
The three letter ISO currency code */
|
|
4258
4262
|
currencyCode?: string | undefined;
|
|
4259
|
-
/**
|
|
4263
|
+
/** BT-9
|
|
4264
|
+
Until when the payment is due */
|
|
4260
4265
|
paymentDueDate?: Date | undefined;
|
|
4261
4266
|
/** An object holding reference used in this invoice */
|
|
4262
4267
|
references?: References | undefined;
|
|
4263
4268
|
/** A text description of payment terms, e.g. cash discounts or payment conditions */
|
|
4264
4269
|
paymentTerms?: string | undefined;
|
|
4265
|
-
/**
|
|
4270
|
+
/** BG-3
|
|
4271
|
+
In case of partial or final invoices, it's possible to reference the previous invoice numbers */
|
|
4266
4272
|
previousInvoices?: PreviousInvoice[] | undefined;
|
|
4267
|
-
/**
|
|
4273
|
+
/** BG-7
|
|
4274
|
+
Information about the buyer */
|
|
4268
4275
|
buyer?: Organization | undefined;
|
|
4269
|
-
/**
|
|
4276
|
+
/** BG-4
|
|
4277
|
+
Information about the seller */
|
|
4270
4278
|
seller?: Organization | undefined;
|
|
4271
|
-
/**
|
|
4279
|
+
/** BG-11
|
|
4280
|
+
Information about the sellers tax representative */
|
|
4272
4281
|
sellerTaxRepresentative?: Organization | undefined;
|
|
4273
|
-
/**
|
|
4282
|
+
/** BG-10
|
|
4283
|
+
A payee is someone who receives the payment that is different from the seller */
|
|
4274
4284
|
payee?: Payee | undefined;
|
|
4275
4285
|
/** If present, this is an unstructured text that can be used to give additional information
|
|
4276
4286
|
about the invoice. Field BG-1 */
|
|
@@ -4303,29 +4313,39 @@ BG-13 in XRechnung */
|
|
|
4303
4313
|
}
|
|
4304
4314
|
/** This class represents an invoice */
|
|
4305
4315
|
export interface IInvoice {
|
|
4306
|
-
/**
|
|
4316
|
+
/** BT-1
|
|
4317
|
+
The number of the invoice */
|
|
4307
4318
|
invoiceNumber?: string | undefined;
|
|
4308
|
-
/**
|
|
4319
|
+
/** BT-2
|
|
4320
|
+
The date of the invoice */
|
|
4309
4321
|
invoiceDate?: Date | undefined;
|
|
4310
|
-
/**
|
|
4322
|
+
/** BT-3
|
|
4323
|
+
The type of the invoice */
|
|
4311
4324
|
invoiceType?: InvoiceType | undefined;
|
|
4312
|
-
/**
|
|
4325
|
+
/** BT-5
|
|
4326
|
+
The three letter ISO currency code */
|
|
4313
4327
|
currencyCode?: string | undefined;
|
|
4314
|
-
/**
|
|
4328
|
+
/** BT-9
|
|
4329
|
+
Until when the payment is due */
|
|
4315
4330
|
paymentDueDate?: Date | undefined;
|
|
4316
4331
|
/** An object holding reference used in this invoice */
|
|
4317
4332
|
references?: IReferences | undefined;
|
|
4318
4333
|
/** A text description of payment terms, e.g. cash discounts or payment conditions */
|
|
4319
4334
|
paymentTerms?: string | undefined;
|
|
4320
|
-
/**
|
|
4335
|
+
/** BG-3
|
|
4336
|
+
In case of partial or final invoices, it's possible to reference the previous invoice numbers */
|
|
4321
4337
|
previousInvoices?: IPreviousInvoice[] | undefined;
|
|
4322
|
-
/**
|
|
4338
|
+
/** BG-7
|
|
4339
|
+
Information about the buyer */
|
|
4323
4340
|
buyer?: IOrganization | undefined;
|
|
4324
|
-
/**
|
|
4341
|
+
/** BG-4
|
|
4342
|
+
Information about the seller */
|
|
4325
4343
|
seller?: IOrganization | undefined;
|
|
4326
|
-
/**
|
|
4344
|
+
/** BG-11
|
|
4345
|
+
Information about the sellers tax representative */
|
|
4327
4346
|
sellerTaxRepresentative?: IOrganization | undefined;
|
|
4328
|
-
/**
|
|
4347
|
+
/** BG-10
|
|
4348
|
+
A payee is someone who receives the payment that is different from the seller */
|
|
4329
4349
|
payee?: IPayee | undefined;
|
|
4330
4350
|
/** If present, this is an unstructured text that can be used to give additional information
|
|
4331
4351
|
about the invoice. Field BG-1 */
|
|
@@ -4441,9 +4461,11 @@ BT-19 in XRechnung. */
|
|
|
4441
4461
|
}
|
|
4442
4462
|
/** References to previous invoices */
|
|
4443
4463
|
export declare class PreviousInvoice implements IPreviousInvoice {
|
|
4444
|
-
/**
|
|
4464
|
+
/** BT-26
|
|
4465
|
+
The date of the previous invoice */
|
|
4445
4466
|
invoiceDate?: Date | undefined;
|
|
4446
|
-
/**
|
|
4467
|
+
/** BT-25
|
|
4468
|
+
The number of the previous invoice */
|
|
4447
4469
|
invoiceNumber: string;
|
|
4448
4470
|
constructor(data?: IPreviousInvoice);
|
|
4449
4471
|
init?(_data?: any): void;
|
|
@@ -4452,9 +4474,11 @@ export declare class PreviousInvoice implements IPreviousInvoice {
|
|
|
4452
4474
|
}
|
|
4453
4475
|
/** References to previous invoices */
|
|
4454
4476
|
export interface IPreviousInvoice {
|
|
4455
|
-
/**
|
|
4477
|
+
/** BT-26
|
|
4478
|
+
The date of the previous invoice */
|
|
4456
4479
|
invoiceDate?: Date | undefined;
|
|
4457
|
-
/**
|
|
4480
|
+
/** BT-25
|
|
4481
|
+
The number of the previous invoice */
|
|
4458
4482
|
invoiceNumber: string;
|
|
4459
4483
|
}
|
|
4460
4484
|
/** Represents an organization, e.g. a buyer or a seller */
|
|
@@ -5260,6 +5284,16 @@ BT-91 in XRechnung. */
|
|
|
5260
5284
|
this would be called "Verwendungszweck".
|
|
5261
5285
|
BT-83 in XRechnung. */
|
|
5262
5286
|
paymentId?: string | undefined;
|
|
5287
|
+
/** If this is a card payment, then this is the name of the cardholder.
|
|
5288
|
+
BT-88 in XRechnung. */
|
|
5289
|
+
paymentCardHolderName?: string | undefined;
|
|
5290
|
+
/** If this is a card payment, then this is the type of card.
|
|
5291
|
+
BT-87 in XRechnung. */
|
|
5292
|
+
paymentCardPrimaryAccountNumber?: string | undefined;
|
|
5293
|
+
/** If this is a card payment, then this is the type of card.
|
|
5294
|
+
This has no mapping yet in XRechnung, see:
|
|
5295
|
+
https://github.com/itplr-kosit/validator-configuration-xrechnung/issues/53 */
|
|
5296
|
+
paymentCardNetworkId?: string | undefined;
|
|
5263
5297
|
constructor(data?: IPaymentMeans);
|
|
5264
5298
|
init?(_data?: any): void;
|
|
5265
5299
|
static fromJS(data: any): PaymentMeans;
|
|
@@ -5288,6 +5322,16 @@ BT-91 in XRechnung. */
|
|
|
5288
5322
|
this would be called "Verwendungszweck".
|
|
5289
5323
|
BT-83 in XRechnung. */
|
|
5290
5324
|
paymentId?: string | undefined;
|
|
5325
|
+
/** If this is a card payment, then this is the name of the cardholder.
|
|
5326
|
+
BT-88 in XRechnung. */
|
|
5327
|
+
paymentCardHolderName?: string | undefined;
|
|
5328
|
+
/** If this is a card payment, then this is the type of card.
|
|
5329
|
+
BT-87 in XRechnung. */
|
|
5330
|
+
paymentCardPrimaryAccountNumber?: string | undefined;
|
|
5331
|
+
/** If this is a card payment, then this is the type of card.
|
|
5332
|
+
This has no mapping yet in XRechnung, see:
|
|
5333
|
+
https://github.com/itplr-kosit/validator-configuration-xrechnung/issues/53 */
|
|
5334
|
+
paymentCardNetworkId?: string | undefined;
|
|
5291
5335
|
}
|
|
5292
5336
|
/** Represents a document / attachment that is included with the invoice */
|
|
5293
5337
|
export declare class SupportingDocument implements ISupportingDocument {
|
package/api.js
CHANGED
|
@@ -10996,6 +10996,9 @@ class PaymentMeans {
|
|
|
10996
10996
|
this.directDebitMandateId = _data["directDebitMandateId"];
|
|
10997
10997
|
this.directDebitIban = _data["directDebitIban"];
|
|
10998
10998
|
this.paymentId = _data["paymentId"];
|
|
10999
|
+
this.paymentCardHolderName = _data["paymentCardHolderName"];
|
|
11000
|
+
this.paymentCardPrimaryAccountNumber = _data["paymentCardPrimaryAccountNumber"];
|
|
11001
|
+
this.paymentCardNetworkId = _data["paymentCardNetworkId"];
|
|
10999
11002
|
}
|
|
11000
11003
|
}
|
|
11001
11004
|
static fromJS(data) {
|
|
@@ -11012,6 +11015,9 @@ class PaymentMeans {
|
|
|
11012
11015
|
data["directDebitMandateId"] = this.directDebitMandateId;
|
|
11013
11016
|
data["directDebitIban"] = this.directDebitIban;
|
|
11014
11017
|
data["paymentId"] = this.paymentId;
|
|
11018
|
+
data["paymentCardHolderName"] = this.paymentCardHolderName;
|
|
11019
|
+
data["paymentCardPrimaryAccountNumber"] = this.paymentCardPrimaryAccountNumber;
|
|
11020
|
+
data["paymentCardNetworkId"] = this.paymentCardNetworkId;
|
|
11015
11021
|
return data;
|
|
11016
11022
|
}
|
|
11017
11023
|
}
|