@dangl/avacloud-client-node 1.54.5-beta0001-avacloud-preview → 1.54.6-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 CHANGED
@@ -1805,6 +1805,8 @@ export declare class PartyInformationDto implements IPartyInformationDto {
1805
1805
  bankingInformation?: BankingInformationDto[] | undefined;
1806
1806
  /** This can be used to specify a registration number for this party, e.g. a company registration number. It is usually used in GAEB XML commerce exchanges for bidders to supply their WEEE registration number, which is used to identify them as a registered WEEE company. */
1807
1807
  registrationNumber?: string | undefined;
1808
+ /** This can be used to specify a tax id for this party. It is different from the VatId and the RegistrationNumber. For example, in Germany this would be the "Steuernummer". This is usually not mapped to any AVA exchanges, but it's used e.g. in the XRechnung electronic invoices. */
1809
+ taxId?: string | undefined;
1808
1810
  constructor(data?: IPartyInformationDto);
1809
1811
  init(_data?: any): void;
1810
1812
  static fromJS(data: any): PartyInformationDto;
@@ -1852,6 +1854,8 @@ export interface IPartyInformationDto {
1852
1854
  bankingInformation?: IBankingInformationDto[] | undefined;
1853
1855
  /** This can be used to specify a registration number for this party, e.g. a company registration number. It is usually used in GAEB XML commerce exchanges for bidders to supply their WEEE registration number, which is used to identify them as a registered WEEE company. */
1854
1856
  registrationNumber?: string | undefined;
1857
+ /** This can be used to specify a tax id for this party. It is different from the VatId and the RegistrationNumber. For example, in Germany this would be the "Steuernummer". This is usually not mapped to any AVA exchanges, but it's used e.g. in the XRechnung electronic invoices. */
1858
+ taxId?: string | undefined;
1855
1859
  }
1856
1860
  /** This is a class that represents the information about a bank connection. It is usually used within a PartyInformation. */
1857
1861
  export declare class BankingInformationDto implements IBankingInformationDto {
@@ -4246,8 +4250,13 @@ export declare enum InvoiceType {
4246
4250
  }
4247
4251
  /** This class holds typical references used in an invoice */
4248
4252
  export declare class References implements IReferences {
4249
- /** An internal reference used by the buyer */
4253
+ /** An internal reference used by the buyer, this can also be used as the
4254
+ 'Leitweg-ID' in Germany */
4250
4255
  buyerReference?: string | undefined;
4256
+ /** This is a reference for the seller itself, usually some kind
4257
+ of supplier identifier or an internal reference. In German,
4258
+ this could be used as 'Lieferantennummer' in BT-29 */
4259
+ sellerReference?: string | undefined;
4251
4260
  /** Reference to a project */
4252
4261
  projectReference?: string | undefined;
4253
4262
  /** Reference to a contract */
@@ -4272,8 +4281,13 @@ contract or anything that would identify the invoice in the buyer's system */
4272
4281
  }
4273
4282
  /** This class holds typical references used in an invoice */
4274
4283
  export interface IReferences {
4275
- /** An internal reference used by the buyer */
4284
+ /** An internal reference used by the buyer, this can also be used as the
4285
+ 'Leitweg-ID' in Germany */
4276
4286
  buyerReference?: string | undefined;
4287
+ /** This is a reference for the seller itself, usually some kind
4288
+ of supplier identifier or an internal reference. In German,
4289
+ this could be used as 'Lieferantennummer' in BT-29 */
4290
+ sellerReference?: string | undefined;
4277
4291
  /** Reference to a project */
4278
4292
  projectReference?: string | undefined;
4279
4293
  /** Reference to a contract */
@@ -4314,8 +4328,12 @@ export interface IPreviousInvoice {
4314
4328
  export declare class Organization implements IOrganization {
4315
4329
  /** The name of the organization */
4316
4330
  name?: string | undefined;
4331
+ /** A registration number, e.g. a Handelsregisternummer in Germany */
4332
+ registrationNumber?: string | undefined;
4317
4333
  /** The VAT ID for the organization */
4318
4334
  vatId?: string | undefined;
4335
+ /** The tax ID for the organization */
4336
+ taxId?: string | undefined;
4319
4337
  /** An email address for the organization */
4320
4338
  email?: string | undefined;
4321
4339
  /** The name of a contact person */
@@ -4343,8 +4361,12 @@ export declare class Organization implements IOrganization {
4343
4361
  export interface IOrganization {
4344
4362
  /** The name of the organization */
4345
4363
  name?: string | undefined;
4364
+ /** A registration number, e.g. a Handelsregisternummer in Germany */
4365
+ registrationNumber?: string | undefined;
4346
4366
  /** The VAT ID for the organization */
4347
4367
  vatId?: string | undefined;
4368
+ /** The tax ID for the organization */
4369
+ taxId?: string | undefined;
4348
4370
  /** An email address for the organization */
4349
4371
  email?: string | undefined;
4350
4372
  /** The name of a contact person */
@@ -4558,7 +4580,7 @@ export interface ISupportingDocument {
4558
4580
  /** The type of the document */
4559
4581
  documentMimeType: AttachmentMimeType;
4560
4582
  }
4561
- /** Describes a mimne type of a document */
4583
+ /** Describes a mime type of a document */
4562
4584
  export declare enum AttachmentMimeType {
4563
4585
  Unknown = "Unknown",
4564
4586
  Pdf = "Pdf",
package/api.js CHANGED
@@ -6187,6 +6187,7 @@ class PartyInformationDto {
6187
6187
  this.bankingInformation.push(BankingInformationDto.fromJS(item));
6188
6188
  }
6189
6189
  this.registrationNumber = _data["registrationNumber"];
6190
+ this.taxId = _data["taxId"];
6190
6191
  }
6191
6192
  }
6192
6193
  static fromJS(data) {
@@ -6221,6 +6222,7 @@ class PartyInformationDto {
6221
6222
  data["bankingInformation"].push(item.toJSON());
6222
6223
  }
6223
6224
  data["registrationNumber"] = this.registrationNumber;
6225
+ data["taxId"] = this.taxId;
6224
6226
  return data;
6225
6227
  }
6226
6228
  }
@@ -9244,6 +9246,7 @@ class References {
9244
9246
  init(_data) {
9245
9247
  if (_data) {
9246
9248
  this.buyerReference = _data["buyerReference"];
9249
+ this.sellerReference = _data["sellerReference"];
9247
9250
  this.projectReference = _data["projectReference"];
9248
9251
  this.contractReference = _data["contractReference"];
9249
9252
  this.purchaseOrderReference = _data["purchaseOrderReference"];
@@ -9263,6 +9266,7 @@ class References {
9263
9266
  toJSON(data) {
9264
9267
  data = typeof data === 'object' ? data : {};
9265
9268
  data["buyerReference"] = this.buyerReference;
9269
+ data["sellerReference"] = this.sellerReference;
9266
9270
  data["projectReference"] = this.projectReference;
9267
9271
  data["contractReference"] = this.contractReference;
9268
9272
  data["purchaseOrderReference"] = this.purchaseOrderReference;
@@ -9318,7 +9322,9 @@ class Organization {
9318
9322
  init(_data) {
9319
9323
  if (_data) {
9320
9324
  this.name = _data["name"];
9325
+ this.registrationNumber = _data["registrationNumber"];
9321
9326
  this.vatId = _data["vatId"];
9327
+ this.taxId = _data["taxId"];
9322
9328
  this.email = _data["email"];
9323
9329
  this.contactPersonName = _data["contactPersonName"];
9324
9330
  this.contactPersonPhone = _data["contactPersonPhone"];
@@ -9339,7 +9345,9 @@ class Organization {
9339
9345
  toJSON(data) {
9340
9346
  data = typeof data === 'object' ? data : {};
9341
9347
  data["name"] = this.name;
9348
+ data["registrationNumber"] = this.registrationNumber;
9342
9349
  data["vatId"] = this.vatId;
9350
+ data["taxId"] = this.taxId;
9343
9351
  data["email"] = this.email;
9344
9352
  data["contactPersonName"] = this.contactPersonName;
9345
9353
  data["contactPersonPhone"] = this.contactPersonPhone;
@@ -9604,7 +9612,7 @@ class SupportingDocument {
9604
9612
  }
9605
9613
  }
9606
9614
  exports.SupportingDocument = SupportingDocument;
9607
- /** Describes a mimne type of a document */
9615
+ /** Describes a mime type of a document */
9608
9616
  var AttachmentMimeType;
9609
9617
  (function (AttachmentMimeType) {
9610
9618
  AttachmentMimeType["Unknown"] = "Unknown";