@dangl/avacloud-client-node 1.55.1-beta0006-avacloud-preview → 1.56.0-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.
Files changed (5) hide show
  1. package/api.d.ts +825 -14
  2. package/api.js +793 -5
  3. package/api.js.map +1 -1
  4. package/api.ts +856 -16
  5. package/package.json +1 -1
package/api.d.ts CHANGED
@@ -1590,15 +1590,31 @@ export declare class XRechnungConversionApi {
1590
1590
  */
1591
1591
  xRechnungConversionConvertXRechnungToAva(xrechnungFile: FileParameter | null | undefined): Promise<SwaggerResponse<AvaProjectWrapper>>;
1592
1592
  protected processXRechnungConversionConvertXRechnungToAva(response: Response): Promise<SwaggerResponse<AvaProjectWrapper>>;
1593
+ /**
1594
+ * This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
1595
+ */
1596
+ xRechnungConversionConvertInvoiceToXRechnungWithRequestObject(invoice: Invoice, options?: {
1597
+ targetFormat?: DestinationXRechnungFormat | undefined;
1598
+ }): Promise<SwaggerResponse<FileResponse>>;
1593
1599
  /**
1594
1600
  * This will convert an Invoice object to an XRechnung file
1601
+ * @param targetFormat (optional) The target format for the XRechnung export. Defaults to Ubl. Options are:
1602
+ Ubl, CrossIndustryInvoice and FacturX (ZUGFerd)
1595
1603
  */
1596
- xRechnungConversionConvertInvoiceToXRechnung(invoice: Invoice): Promise<SwaggerResponse<FileResponse>>;
1604
+ xRechnungConversionConvertInvoiceToXRechnung(invoice: Invoice, targetFormat?: DestinationXRechnungFormat | undefined): Promise<SwaggerResponse<FileResponse>>;
1597
1605
  protected processXRechnungConversionConvertInvoiceToXRechnung(response: Response): Promise<SwaggerResponse<FileResponse>>;
1606
+ /**
1607
+ * This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
1608
+ */
1609
+ xRechnungConversionConvertAvaToXRechnungWithRequestObject(avaWrapper: AvaProjectWrapper, options?: {
1610
+ targetFormat?: DestinationXRechnungFormat | undefined;
1611
+ }): Promise<SwaggerResponse<FileResponse>>;
1598
1612
  /**
1599
1613
  * This will convert an AVA wrapper object to an XRechnung file
1614
+ * @param targetFormat (optional) The target format for the XRechnung export. Defaults to Ubl. Options are:
1615
+ Ubl, CrossIndustryInvoice and FacturX (ZUGFerd)
1600
1616
  */
1601
- xRechnungConversionConvertAvaToXRechnung(avaWrapper: AvaProjectWrapper): Promise<SwaggerResponse<FileResponse>>;
1617
+ xRechnungConversionConvertAvaToXRechnung(avaWrapper: AvaProjectWrapper, targetFormat?: DestinationXRechnungFormat | undefined): Promise<SwaggerResponse<FileResponse>>;
1602
1618
  protected processXRechnungConversionConvertAvaToXRechnung(response: Response): Promise<SwaggerResponse<FileResponse>>;
1603
1619
  /**
1604
1620
  * This will convert an Invoice object to a PDF file
@@ -4458,6 +4474,9 @@ export declare class InvoiceNote implements IInvoiceNote {
4458
4474
  https://unece.org/fileadmin/DAM/trade/untdid/d16b/tred/tred4451.htm
4459
4475
  Field BT-21 */
4460
4476
  shortText?: string | undefined;
4477
+ /** Short summary / heading type. This will be automatically parsed from ShortText
4478
+ and is a read-only property. */
4479
+ shortTextType?: ShortTextType | undefined;
4461
4480
  /** Explanation of this note
4462
4481
  Field BT-22 */
4463
4482
  longText?: string | undefined;
@@ -4472,10 +4491,395 @@ export interface IInvoiceNote {
4472
4491
  https://unece.org/fileadmin/DAM/trade/untdid/d16b/tred/tred4451.htm
4473
4492
  Field BT-21 */
4474
4493
  shortText?: string | undefined;
4494
+ /** Short summary / heading type. This will be automatically parsed from ShortText
4495
+ and is a read-only property. */
4496
+ shortTextType?: ShortTextType | undefined;
4475
4497
  /** Explanation of this note
4476
4498
  Field BT-22 */
4477
4499
  longText?: string | undefined;
4478
4500
  }
4501
+ /** Type qualifying the subject of the text. */
4502
+ export declare enum ShortTextType {
4503
+ GoodsItemDescription = "GoodsItemDescription",
4504
+ PaymentTerm = "PaymentTerm",
4505
+ DangerousGoodsAdditionalInformation = "DangerousGoodsAdditionalInformation",
4506
+ DangerousGoodsTechnicalName = "DangerousGoodsTechnicalName",
4507
+ AcknowledgementDescription = "AcknowledgementDescription",
4508
+ RateAdditionalInformation = "RateAdditionalInformation",
4509
+ PartyInstructions = "PartyInstructions",
4510
+ GeneralInformation = "GeneralInformation",
4511
+ AdditionalConditionsOfSalePurchase = "AdditionalConditionsOfSalePurchase",
4512
+ PriceConditions = "PriceConditions",
4513
+ GoodsDimensionsInCharacters = "GoodsDimensionsInCharacters",
4514
+ EquipmentReUsageRestrictions = "EquipmentReUsageRestrictions",
4515
+ HandlingRestriction = "HandlingRestriction",
4516
+ ErrorDescriptionFreeText = "ErrorDescriptionFreeText",
4517
+ ResponseFreeText = "ResponseFreeText",
4518
+ PackageContentsDescription = "PackageContentsDescription",
4519
+ TermsOfDelivery = "TermsOfDelivery",
4520
+ BillOfLadingRemarks = "BillOfLadingRemarks",
4521
+ ModeOfSettlementInformation = "ModeOfSettlementInformation",
4522
+ ConsignmentInvoiceInformation = "ConsignmentInvoiceInformation",
4523
+ ClearanceInvoiceInformation = "ClearanceInvoiceInformation",
4524
+ LetterOfCreditInformation = "LetterOfCreditInformation",
4525
+ LicenseInformation = "LicenseInformation",
4526
+ CertificationStatements = "CertificationStatements",
4527
+ AdditionalExportInformation = "AdditionalExportInformation",
4528
+ TariffStatements = "TariffStatements",
4529
+ MedicalHistory = "MedicalHistory",
4530
+ ConditionsOfSaleOrPurchase = "ConditionsOfSaleOrPurchase",
4531
+ ContractDocumentType = "ContractDocumentType",
4532
+ AdditionalTermsAndOrConditionsDocumentaryCredit = "AdditionalTermsAndOrConditionsDocumentaryCredit",
4533
+ InstructionsOrInformationAboutStandbyDocumentary = "InstructionsOrInformationAboutStandbyDocumentary",
4534
+ InstructionsOrInformationAboutPartialShipments = "InstructionsOrInformationAboutPartialShipments",
4535
+ InstructionsOrInformationAboutTranshipments = "InstructionsOrInformationAboutTranshipments",
4536
+ AdditionalHandlingInstructionsDocumentaryCredit = "AdditionalHandlingInstructionsDocumentaryCredit",
4537
+ DomesticRoutingInformation = "DomesticRoutingInformation",
4538
+ ChargeableCategoryOfEquipment = "ChargeableCategoryOfEquipment",
4539
+ GovernmentInformation = "GovernmentInformation",
4540
+ OnwardRoutingInformation = "OnwardRoutingInformation",
4541
+ AccountingInformation = "AccountingInformation",
4542
+ DiscrepancyInformation = "DiscrepancyInformation",
4543
+ ConfirmationInstructions = "ConfirmationInstructions",
4544
+ MethodOfIssuance = "MethodOfIssuance",
4545
+ DocumentsDeliveryInstructions = "DocumentsDeliveryInstructions",
4546
+ AdditionalConditions = "AdditionalConditions",
4547
+ InformationInstructionsAboutAdditionalAmountsCovered = "InformationInstructionsAboutAdditionalAmountsCovered",
4548
+ DeferredPaymentTermedAdditional = "DeferredPaymentTermedAdditional",
4549
+ AcceptanceTermsAdditional = "AcceptanceTermsAdditional",
4550
+ NegotiationTermsAdditional = "NegotiationTermsAdditional",
4551
+ DocumentNameAndDocumentaryRequirements = "DocumentNameAndDocumentaryRequirements",
4552
+ InstructionsInformationAboutRevolvingDocumentaryCredit = "InstructionsInformationAboutRevolvingDocumentaryCredit",
4553
+ DocumentaryRequirements = "DocumentaryRequirements",
4554
+ AdditionalInformation = "AdditionalInformation",
4555
+ FactorAssignmentClause = "FactorAssignmentClause",
4556
+ Reason = "Reason",
4557
+ Dispute = "Dispute",
4558
+ AdditionalAttributeInformation = "AdditionalAttributeInformation",
4559
+ AbsenceDeclaration = "AbsenceDeclaration",
4560
+ AggregationStatement = "AggregationStatement",
4561
+ CompilationStatement = "CompilationStatement",
4562
+ DefinitionalException = "DefinitionalException",
4563
+ PrivacyStatement = "PrivacyStatement",
4564
+ QualityStatement = "QualityStatement",
4565
+ StatisticalDescription = "StatisticalDescription",
4566
+ StatisticalDefinition = "StatisticalDefinition",
4567
+ StatisticalName = "StatisticalName",
4568
+ StatisticalTitle = "StatisticalTitle",
4569
+ OffDimensionInformation = "OffDimensionInformation",
4570
+ UnexpectedStopsInformation = "UnexpectedStopsInformation",
4571
+ Principles = "Principles",
4572
+ TermsAndDefinition = "TermsAndDefinition",
4573
+ SegmentName = "SegmentName",
4574
+ SimpleDataElementName = "SimpleDataElementName",
4575
+ Scope = "Scope",
4576
+ MessageTypeName = "MessageTypeName",
4577
+ Introduction = "Introduction",
4578
+ Glossary = "Glossary",
4579
+ FunctionalDefinition = "FunctionalDefinition",
4580
+ Examples = "Examples",
4581
+ CoverPage = "CoverPage",
4582
+ DependencySyntaxNotes = "DependencySyntaxNotes",
4583
+ CodeValueName = "CodeValueName",
4584
+ CodeListName = "CodeListName",
4585
+ ClarificationOfUsage = "ClarificationOfUsage",
4586
+ CompositeDataElementName = "CompositeDataElementName",
4587
+ FieldOfApplication = "FieldOfApplication",
4588
+ TypeOfAssetsAndLiabilities = "TypeOfAssetsAndLiabilities",
4589
+ PromotionInformation = "PromotionInformation",
4590
+ MeterCondition = "MeterCondition",
4591
+ MeterReadingInformation = "MeterReadingInformation",
4592
+ TypeOfTransactionReason = "TypeOfTransactionReason",
4593
+ TypeOfSurveyQuestion = "TypeOfSurveyQuestion",
4594
+ CarriersAgentCounterInformation = "CarriersAgentCounterInformation",
4595
+ DescriptionOfWorkItemOnEquipment = "DescriptionOfWorkItemOnEquipment",
4596
+ MessageDefinition = "MessageDefinition",
4597
+ BookedItemInformation = "BookedItemInformation",
4598
+ SourceOfDocument = "SourceOfDocument",
4599
+ Note = "Note",
4600
+ FixedPartOfSegmentClarificationText = "FixedPartOfSegmentClarificationText",
4601
+ CharacteristicsOfGoods = "CharacteristicsOfGoods",
4602
+ AdditionalDischargeInstructions = "AdditionalDischargeInstructions",
4603
+ ContainerStrippingInstructions = "ContainerStrippingInstructions",
4604
+ CscContainerSafetyConventionPlateInformation = "CscContainerSafetyConventionPlateInformation",
4605
+ CargoRemarks = "CargoRemarks",
4606
+ TemperatureControlInstructions = "TemperatureControlInstructions",
4607
+ TextRefersToExpectedData = "TextRefersToExpectedData",
4608
+ TextRefersToReceivedData = "TextRefersToReceivedData",
4609
+ SectionClarificationText = "SectionClarificationText",
4610
+ InformationToTheBeneficiary = "InformationToTheBeneficiary",
4611
+ InformationToTheApplicant = "InformationToTheApplicant",
4612
+ InstructionsToTheBeneficiary = "InstructionsToTheBeneficiary",
4613
+ InstructionsToTheApplicant = "InstructionsToTheApplicant",
4614
+ ControlledAtmosphere = "ControlledAtmosphere",
4615
+ TakeOffAnnotation = "TakeOffAnnotation",
4616
+ PriceVariationNarrative = "PriceVariationNarrative",
4617
+ DocumentaryCreditAmendmentInstructions = "DocumentaryCreditAmendmentInstructions",
4618
+ StandardMethodNarrative = "StandardMethodNarrative",
4619
+ ProjectNarrative = "ProjectNarrative",
4620
+ RadioactiveGoodsAdditionalInformation = "RadioactiveGoodsAdditionalInformation",
4621
+ BankToBankInformation = "BankToBankInformation",
4622
+ ReimbursementInstructions = "ReimbursementInstructions",
4623
+ ReasonForAmendingAMessage = "ReasonForAmendingAMessage",
4624
+ InstructionsToThePayingAndOrAcceptingAndOr = "InstructionsToThePayingAndOrAcceptingAndOr",
4625
+ InterestInstructions = "InterestInstructions",
4626
+ AgentCommission = "AgentCommission",
4627
+ RemittingBankInstructions = "RemittingBankInstructions",
4628
+ InstructionsToTheCollectingBank = "InstructionsToTheCollectingBank",
4629
+ CollectionAmountInstructions = "CollectionAmountInstructions",
4630
+ InternalAuditingInformation = "InternalAuditingInformation",
4631
+ Constraint = "Constraint",
4632
+ Comment = "Comment",
4633
+ SemanticNote = "SemanticNote",
4634
+ HelpText = "HelpText",
4635
+ Legend = "Legend",
4636
+ BatchCodeStructure = "BatchCodeStructure",
4637
+ ProductApplication = "ProductApplication",
4638
+ CustomerComplaint = "CustomerComplaint",
4639
+ ProbableCauseOfFault = "ProbableCauseOfFault",
4640
+ DefectDescription = "DefectDescription",
4641
+ RepairDescription = "RepairDescription",
4642
+ ReviewComments = "ReviewComments",
4643
+ Title = "Title",
4644
+ DescriptionOfAmount = "DescriptionOfAmount",
4645
+ Responsibilities = "Responsibilities",
4646
+ Supplier = "Supplier",
4647
+ PurchaseRegion = "PurchaseRegion",
4648
+ Affiliation = "Affiliation",
4649
+ Borrower = "Borrower",
4650
+ LineOfBusiness = "LineOfBusiness",
4651
+ FinancialInstitution = "FinancialInstitution",
4652
+ BusinessFounder = "BusinessFounder",
4653
+ BusinessHistory = "BusinessHistory",
4654
+ BankingArrangements = "BankingArrangements",
4655
+ BusinessOrigin = "BusinessOrigin",
4656
+ BrandNamesDescription = "BrandNamesDescription",
4657
+ BusinessFinancingDetails = "BusinessFinancingDetails",
4658
+ Competition = "Competition",
4659
+ ConstructionProcessDetails = "ConstructionProcessDetails",
4660
+ ConstructionSpecialty = "ConstructionSpecialty",
4661
+ ContractInformation = "ContractInformation",
4662
+ CorporateFiling = "CorporateFiling",
4663
+ CustomerInformation = "CustomerInformation",
4664
+ CopyrightNotice = "CopyrightNotice",
4665
+ ContingentDebt = "ContingentDebt",
4666
+ ConvictionDetails = "ConvictionDetails",
4667
+ Equipment = "Equipment",
4668
+ WorkforceDescription = "WorkforceDescription",
4669
+ Exemption = "Exemption",
4670
+ FuturePlans = "FuturePlans",
4671
+ IntervieweeConversationInformation = "IntervieweeConversationInformation",
4672
+ IntangibleAsset = "IntangibleAsset",
4673
+ Inventory = "Inventory",
4674
+ Investment = "Investment",
4675
+ IntercompanyRelationsInformation = "IntercompanyRelationsInformation",
4676
+ JointVenture = "JointVenture",
4677
+ Loan = "Loan",
4678
+ LongTermDebt = "LongTermDebt",
4679
+ Location = "Location",
4680
+ CurrentLegalStructure = "CurrentLegalStructure",
4681
+ MaritalContract = "MaritalContract",
4682
+ MarketingActivities = "MarketingActivities",
4683
+ Merger = "Merger",
4684
+ MarketableSecurities = "MarketableSecurities",
4685
+ BusinessDebt = "BusinessDebt",
4686
+ OriginalLegalStructure = "OriginalLegalStructure",
4687
+ EmployeeSharingArrangements = "EmployeeSharingArrangements",
4688
+ OrganizationDetails = "OrganizationDetails",
4689
+ PublicRecordDetails = "PublicRecordDetails",
4690
+ PriceRange = "PriceRange",
4691
+ Qualifications = "Qualifications",
4692
+ RegisteredActivity = "RegisteredActivity",
4693
+ CriminalSentence = "CriminalSentence",
4694
+ SalesMethod = "SalesMethod",
4695
+ EducationalInstitutionInformation = "EducationalInstitutionInformation",
4696
+ StatusDetails = "StatusDetails",
4697
+ Sales = "Sales",
4698
+ SpouseInformation = "SpouseInformation",
4699
+ EducationalDegreeInformation = "EducationalDegreeInformation",
4700
+ ShareholdingInformation = "ShareholdingInformation",
4701
+ SalesTerritory = "SalesTerritory",
4702
+ AccountantsComments = "AccountantsComments",
4703
+ ExemptionLawLocation = "ExemptionLawLocation",
4704
+ ShareClassifications = "ShareClassifications",
4705
+ Forecast = "Forecast",
4706
+ EventLocation = "EventLocation",
4707
+ FacilityOccupancy = "FacilityOccupancy",
4708
+ ImportAndExportDetails = "ImportAndExportDetails",
4709
+ AdditionalFacilityInformation = "AdditionalFacilityInformation",
4710
+ InventoryValue = "InventoryValue",
4711
+ Education = "Education",
4712
+ Event = "Event",
4713
+ Agent = "Agent",
4714
+ DomesticallyAgreedFinancialStatementDetails = "DomesticallyAgreedFinancialStatementDetails",
4715
+ OtherCurrentAssetDescription = "OtherCurrentAssetDescription",
4716
+ OtherCurrentLiabilityDescription = "OtherCurrentLiabilityDescription",
4717
+ FormerBusinessActivity = "FormerBusinessActivity",
4718
+ TradeNameUse = "TradeNameUse",
4719
+ SigningAuthority = "SigningAuthority",
4720
+ Guarantee = "Guarantee",
4721
+ HoldingCompanyOperation = "HoldingCompanyOperation",
4722
+ ConsignmentRouting = "ConsignmentRouting",
4723
+ LetterOfProtest = "LetterOfProtest",
4724
+ Question = "Question",
4725
+ PartyInformation = "PartyInformation",
4726
+ AreaBoundariesDescription = "AreaBoundariesDescription",
4727
+ AdvertisementInformation = "AdvertisementInformation",
4728
+ FinancialStatementDetails = "FinancialStatementDetails",
4729
+ AccessInstructions = "AccessInstructions",
4730
+ Liquidity = "Liquidity",
4731
+ CreditLine = "CreditLine",
4732
+ WarrantyTerms = "WarrantyTerms",
4733
+ DivisionDescription = "DivisionDescription",
4734
+ ReportingInstruction = "ReportingInstruction",
4735
+ ExaminationResult = "ExaminationResult",
4736
+ LaboratoryResult = "LaboratoryResult",
4737
+ AllowanceChargeInformation = "AllowanceChargeInformation",
4738
+ XRayResult = "XRayResult",
4739
+ PathologyResult = "PathologyResult",
4740
+ InterventionDescription = "InterventionDescription",
4741
+ SummaryOfAdmittance = "SummaryOfAdmittance",
4742
+ MedicalTreatmentCourseDetail = "MedicalTreatmentCourseDetail",
4743
+ Prognosis = "Prognosis",
4744
+ InstructionToPatient = "InstructionToPatient",
4745
+ InstructionToPhysician = "InstructionToPhysician",
4746
+ AllDocuments = "AllDocuments",
4747
+ MedicineTreatment = "MedicineTreatment",
4748
+ MedicineDosageAndAdministration = "MedicineDosageAndAdministration",
4749
+ AvailabilityOfPatient = "AvailabilityOfPatient",
4750
+ ReasonForServiceRequest = "ReasonForServiceRequest",
4751
+ PurposeOfService = "PurposeOfService",
4752
+ ArrivalConditions = "ArrivalConditions",
4753
+ ServiceRequestersComment = "ServiceRequestersComment",
4754
+ Authentication = "Authentication",
4755
+ RequestedLocationDescription = "RequestedLocationDescription",
4756
+ MedicineAdministrationCondition = "MedicineAdministrationCondition",
4757
+ PatientInformation = "PatientInformation",
4758
+ PrecautionaryMeasure = "PrecautionaryMeasure",
4759
+ ServiceCharacteristic = "ServiceCharacteristic",
4760
+ PlannedEventComment = "PlannedEventComment",
4761
+ ExpectedDelayComment = "ExpectedDelayComment",
4762
+ TransportRequirementsComment = "TransportRequirementsComment",
4763
+ TemporaryApprovalCondition = "TemporaryApprovalCondition",
4764
+ CustomsValuationInformation = "CustomsValuationInformation",
4765
+ ValueAddedTaxVatMarginScheme = "ValueAddedTaxVatMarginScheme",
4766
+ PassengerBaggageInformation = "PassengerBaggageInformation",
4767
+ AdditionalProductInformationAddress = "AdditionalProductInformationAddress",
4768
+ InformationToBePrintedOnDespatchAdvice = "InformationToBePrintedOnDespatchAdvice",
4769
+ MissingGoodsRemarks = "MissingGoodsRemarks",
4770
+ NonAcceptanceInformation = "NonAcceptanceInformation",
4771
+ ReturnsInformation = "ReturnsInformation",
4772
+ SubLineItemInformation = "SubLineItemInformation",
4773
+ TestInformation = "TestInformation",
4774
+ ExternalLink = "ExternalLink",
4775
+ VatExemptionReason = "VatExemptionReason",
4776
+ TransportContractDocumentClause = "TransportContractDocumentClause",
4777
+ InstructionToPrepareThePatient = "InstructionToPrepareThePatient",
4778
+ MedicineTreatmentComment = "MedicineTreatmentComment",
4779
+ ExaminationResultComment = "ExaminationResultComment",
4780
+ ServiceRequestComment = "ServiceRequestComment",
4781
+ PrescriptionReason = "PrescriptionReason",
4782
+ PrescriptionComment = "PrescriptionComment",
4783
+ ClinicalInvestigationComment = "ClinicalInvestigationComment",
4784
+ MedicinalSpecificationComment = "MedicinalSpecificationComment",
4785
+ EconomicContributionComment = "EconomicContributionComment",
4786
+ StatusOfAPlan = "StatusOfAPlan",
4787
+ RandomSampleTestInformation = "RandomSampleTestInformation",
4788
+ PeriodOfTime = "PeriodOfTime",
4789
+ Legislation = "Legislation",
4790
+ SecurityMeasuresRequested = "SecurityMeasuresRequested",
4791
+ TransportContractDocumentRemark = "TransportContractDocumentRemark",
4792
+ PreviousPortOfCallSecurityInformation = "PreviousPortOfCallSecurityInformation",
4793
+ SecurityInformation = "SecurityInformation",
4794
+ WasteInformation = "WasteInformation",
4795
+ B2cMarketingInformationShortDescription = "B2cMarketingInformationShortDescription",
4796
+ B2bMarketingInformationLongDescription = "B2bMarketingInformationLongDescription",
4797
+ B2cMarketingInformationLongDescription = "B2cMarketingInformationLongDescription",
4798
+ ProductIngredients = "ProductIngredients",
4799
+ LocationShortName = "LocationShortName",
4800
+ PackagingMaterialInformation = "PackagingMaterialInformation",
4801
+ FillerMaterialInformation = "FillerMaterialInformation",
4802
+ ShipToShipActivityInformation = "ShipToShipActivityInformation",
4803
+ PackageMaterialDescription = "PackageMaterialDescription",
4804
+ ConsumerLevelPackageMarking = "ConsumerLevelPackageMarking",
4805
+ CustomsClearanceInstructions = "CustomsClearanceInstructions",
4806
+ CustomsClearanceInstructionsExport = "CustomsClearanceInstructionsExport",
4807
+ ChangeInformation = "ChangeInformation",
4808
+ CustomsClearanceInstructionImport = "CustomsClearanceInstructionImport",
4809
+ ClearancePlaceRequested = "ClearancePlaceRequested",
4810
+ LoadingRemarks = "LoadingRemarks",
4811
+ OrderInformation = "OrderInformation",
4812
+ CustomerRemarks = "CustomerRemarks",
4813
+ CustomsDeclarationInformation = "CustomsDeclarationInformation",
4814
+ DamageRemarks = "DamageRemarks",
4815
+ DocumentIssuerDeclaration = "DocumentIssuerDeclaration",
4816
+ DeliveryInformation = "DeliveryInformation",
4817
+ DeliveryInstructions = "DeliveryInstructions",
4818
+ DocumentationInstructions = "DocumentationInstructions",
4819
+ DutyDeclaration = "DutyDeclaration",
4820
+ EffectiveUsedRouting = "EffectiveUsedRouting",
4821
+ FirstBlockToBePrintedOnTheTransportContract = "FirstBlockToBePrintedOnTheTransportContract",
4822
+ GovernmentBillOfLadingInformation = "GovernmentBillOfLadingInformation",
4823
+ EntireTransactionSet = "EntireTransactionSet",
4824
+ FurtherInformationConcerningGGVSPar7 = "FurtherInformationConcerningGGVSPar7",
4825
+ ConsignmentHandlingInstruction = "ConsignmentHandlingInstruction",
4826
+ HazardInformation = "HazardInformation",
4827
+ ConsignmentInformationForConsignee = "ConsignmentInformationForConsignee",
4828
+ InsuranceInstructions = "InsuranceInstructions",
4829
+ InvoiceMailingInstructions = "InvoiceMailingInstructions",
4830
+ CommercialInvoiceItemDescription = "CommercialInvoiceItemDescription",
4831
+ InsuranceInformation = "InsuranceInformation",
4832
+ InvoiceInstruction = "InvoiceInstruction",
4833
+ InformationForRailwayPurpose = "InformationForRailwayPurpose",
4834
+ InlandTransportDetails = "InlandTransportDetails",
4835
+ TestingInstructions = "TestingInstructions",
4836
+ LocationAlias = "LocationAlias",
4837
+ LineItem = "LineItem",
4838
+ LoadingInstruction = "LoadingInstruction",
4839
+ MiscellaneousChargeOrder = "MiscellaneousChargeOrder",
4840
+ MaritimeDeclarationOfHealth = "MaritimeDeclarationOfHealth",
4841
+ AdditionalMarksNumbersInformation = "AdditionalMarksNumbersInformation",
4842
+ OrderInstruction = "OrderInstruction",
4843
+ OtherServiceInformation = "OtherServiceInformation",
4844
+ PackingMarkingInformation = "PackingMarkingInformation",
4845
+ PaymentInstructionsInformation = "PaymentInstructionsInformation",
4846
+ PayablesInformation = "PayablesInformation",
4847
+ PackagingInformation = "PackagingInformation",
4848
+ PackagingTermsInformation = "PackagingTermsInformation",
4849
+ PaymentDetailRemittanceInformation = "PaymentDetailRemittanceInformation",
4850
+ PaymentInformation = "PaymentInformation",
4851
+ ProductInformation = "ProductInformation",
4852
+ PriceCalculationFormula = "PriceCalculationFormula",
4853
+ PriorityInformation = "PriorityInformation",
4854
+ PurchasingInformation = "PurchasingInformation",
4855
+ QuarantineInstructions = "QuarantineInstructions",
4856
+ QualityDemandsRequirements = "QualityDemandsRequirements",
4857
+ QuotationInstructionInformation = "QuotationInstructionInformation",
4858
+ RiskAndHandlingInformation = "RiskAndHandlingInformation",
4859
+ RegulatoryInformation = "RegulatoryInformation",
4860
+ ReturnToOriginInformation = "ReturnToOriginInformation",
4861
+ Receivables = "Receivables",
4862
+ ConsignmentRoute = "ConsignmentRoute",
4863
+ SafetyInformation = "SafetyInformation",
4864
+ ConsignmentDocumentaryInstruction = "ConsignmentDocumentaryInstruction",
4865
+ SpecialInstructions = "SpecialInstructions",
4866
+ ShipLineRequested = "ShipLineRequested",
4867
+ SpecialPermissionForTransportGenerally = "SpecialPermissionForTransportGenerally",
4868
+ SpecialPermissionConcerningTheGoodsToBeTransported = "SpecialPermissionConcerningTheGoodsToBeTransported",
4869
+ SpecialHandling = "SpecialHandling",
4870
+ SpecialPermissionConcerningPackage = "SpecialPermissionConcerningPackage",
4871
+ SpecialPermissionConcerningTransportMeans = "SpecialPermissionConcerningTransportMeans",
4872
+ SubsidiaryRiskNumberIataDgr = "SubsidiaryRiskNumberIataDgr",
4873
+ SpecialServiceRequest = "SpecialServiceRequest",
4874
+ SupplierRemarks = "SupplierRemarks",
4875
+ ConsignmentTariff = "ConsignmentTariff",
4876
+ ConsignmentTransport = "ConsignmentTransport",
4877
+ TransportationInformation = "TransportationInformation",
4878
+ RequestedTariff = "RequestedTariff",
4879
+ TaxDeclaration = "TaxDeclaration",
4880
+ WarehouseInstructionInformation = "WarehouseInstructionInformation",
4881
+ MutuallyDefined = "MutuallyDefined"
4882
+ }
4479
4883
  /** Represents an invoice period with start and end dates */
4480
4884
  export declare class InvoicePeriod implements IInvoicePeriod {
4481
4885
  /** The start date */
@@ -4624,11 +5028,14 @@ BT-115 in XRechnung. */
4624
5028
  export declare class PaymentInstructions implements IPaymentInstructions {
4625
5029
  /** Additional text to describe the payment instructions. */
4626
5030
  description?: string | undefined;
4627
- /** This should be a code according to UN/ECE 4461
5031
+ /** This should be a code according to UNCL 4461
4628
5032
  to identify the type of payment. For example, code "58" means SEPA Credit Transfer,
4629
5033
  and code "30" means non-SEPA Credit Transfer.
4630
- See this list: https://unece.org/fileadmin/DAM/trade/edifact/code/4461cl.htm */
5034
+ See this list: https://docs.peppol.eu/poacc/billing/3.0/codelist/UNCL4461/ */
4631
5035
  paymentTypeCode?: string | undefined;
5036
+ /** This should be a type according to UNCL 4461
5037
+ to identify the type of payment. */
5038
+ paymentType?: PaymentType | undefined;
4632
5039
  /** If a SEPA direct debit payment mean is used, then this reference should be provided.
4633
5040
  It's the creditor identifier in SEPA, in German "Gläubiger-Identifikationsnummer".
4634
5041
  Field BT-90 in XRechnung. */
@@ -4644,11 +5051,14 @@ Field BT-90 in XRechnung. */
4644
5051
  export interface IPaymentInstructions {
4645
5052
  /** Additional text to describe the payment instructions. */
4646
5053
  description?: string | undefined;
4647
- /** This should be a code according to UN/ECE 4461
5054
+ /** This should be a code according to UNCL 4461
4648
5055
  to identify the type of payment. For example, code "58" means SEPA Credit Transfer,
4649
5056
  and code "30" means non-SEPA Credit Transfer.
4650
- See this list: https://unece.org/fileadmin/DAM/trade/edifact/code/4461cl.htm */
5057
+ See this list: https://docs.peppol.eu/poacc/billing/3.0/codelist/UNCL4461/ */
4651
5058
  paymentTypeCode?: string | undefined;
5059
+ /** This should be a type according to UNCL 4461
5060
+ to identify the type of payment. */
5061
+ paymentType?: PaymentType | undefined;
4652
5062
  /** If a SEPA direct debit payment mean is used, then this reference should be provided.
4653
5063
  It's the creditor identifier in SEPA, in German "Gläubiger-Identifikationsnummer".
4654
5064
  Field BT-90 in XRechnung. */
@@ -4656,6 +5066,92 @@ Field BT-90 in XRechnung. */
4656
5066
  /** A list of payment means that can be used to pay the invoice. */
4657
5067
  paymentMeans?: IPaymentMeans[] | undefined;
4658
5068
  }
5069
+ /** Indication of the instrument of payment, which may include a guarantee. Enumeration values are self-descriptive, so no comments needed here. According to UNCL 4461, see: https://docs.peppol.eu/poacc/billing/3.0/codelist/UNCL4461/ */
5070
+ export declare enum PaymentType {
5071
+ MutuallyDefined = "MutuallyDefined",
5072
+ InstrumentNotDefined = "InstrumentNotDefined",
5073
+ AutomatedClearingHouseCredit = "AutomatedClearingHouseCredit",
5074
+ AutomatedClearingHouseDebit = "AutomatedClearingHouseDebit",
5075
+ ACHDemandDebitReversal = "ACHDemandDebitReversal",
5076
+ ACHDemandCreditReversal = "ACHDemandCreditReversal",
5077
+ ACHDemandCredit = "ACHDemandCredit",
5078
+ ACHDemandDebit = "ACHDemandDebit",
5079
+ Hold = "Hold",
5080
+ NationalOrRegionalClearing = "NationalOrRegionalClearing",
5081
+ InCash = "InCash",
5082
+ ACHSavingsCreditReversal = "ACHSavingsCreditReversal",
5083
+ ACHSavingsDebitReversal = "ACHSavingsDebitReversal",
5084
+ ACHSavingsCredit = "ACHSavingsCredit",
5085
+ ACHSavingsDebit = "ACHSavingsDebit",
5086
+ BookentryCredit = "BookentryCredit",
5087
+ BookentryDebit = "BookentryDebit",
5088
+ ACHDemandCashConcentrationDisbursementCCDCredit = "ACHDemandCashConcentrationDisbursementCCDCredit",
5089
+ ACHDemandCashConcentrationDisbursementCCDDebit = "ACHDemandCashConcentrationDisbursementCCDDebit",
5090
+ ACHDemandCorporateTradePaymentCTPCredit = "ACHDemandCorporateTradePaymentCTPCredit",
5091
+ Cheque = "Cheque",
5092
+ BankerSDraft = "BankerSDraft",
5093
+ CertifiedBankerSDraft = "CertifiedBankerSDraft",
5094
+ BankChequeIssuedByABankingOrSimilarEstablishment = "BankChequeIssuedByABankingOrSimilarEstablishment",
5095
+ BillOfExchangeAwaitingAcceptance = "BillOfExchangeAwaitingAcceptance",
5096
+ CertifiedCheque = "CertifiedCheque",
5097
+ LocalCheque = "LocalCheque",
5098
+ ACHDemandCorporateTradePaymentCTPDebit = "ACHDemandCorporateTradePaymentCTPDebit",
5099
+ ACHDemandCorporateTradeExchangeCTXCredit = "ACHDemandCorporateTradeExchangeCTXCredit",
5100
+ ACHDemandCorporateTradeExchangeCTXDebit = "ACHDemandCorporateTradeExchangeCTXDebit",
5101
+ CreditTransfer = "CreditTransfer",
5102
+ DebitTransfer = "DebitTransfer",
5103
+ ACHDemandCashConcentrationDisbursementPlusCCDCredit = "ACHDemandCashConcentrationDisbursementPlusCCDCredit",
5104
+ ACHDemandCashConcentrationDisbursementPlusCCDDebit = "ACHDemandCashConcentrationDisbursementPlusCCDDebit",
5105
+ ACHPrearrangedPaymentAndDepositPPD = "ACHPrearrangedPaymentAndDepositPPD",
5106
+ ACHSavingsCashConcentrationDisbursementCCDCredit = "ACHSavingsCashConcentrationDisbursementCCDCredit",
5107
+ ACHSavingsCashConcentrationDisbursementCCDDebit = "ACHSavingsCashConcentrationDisbursementCCDDebit",
5108
+ ACHSavingsCorporateTradePaymentCTPCredit = "ACHSavingsCorporateTradePaymentCTPCredit",
5109
+ ACHSavingsCorporateTradePaymentCTPDebit = "ACHSavingsCorporateTradePaymentCTPDebit",
5110
+ ACHSavingsCorporateTradeExchangeCTXCredit = "ACHSavingsCorporateTradeExchangeCTXCredit",
5111
+ ACHSavingsCorporateTradeExchangeCTXDebit = "ACHSavingsCorporateTradeExchangeCTXDebit",
5112
+ ACHSavingsCashConcentrationDisbursementPlusCCDCredit = "ACHSavingsCashConcentrationDisbursementPlusCCDCredit",
5113
+ PaymentToBankAccount = "PaymentToBankAccount",
5114
+ ACHSavingsCashConcentrationDisbursementPlusCCDDebit = "ACHSavingsCashConcentrationDisbursementPlusCCDDebit",
5115
+ AcceptedBillOfExchange = "AcceptedBillOfExchange",
5116
+ ReferencedHomeBankingCreditTransfer = "ReferencedHomeBankingCreditTransfer",
5117
+ InterbankDebitTransfer = "InterbankDebitTransfer",
5118
+ HomeBankingDebitTransfer = "HomeBankingDebitTransfer",
5119
+ BankCard = "BankCard",
5120
+ DirectDebit = "DirectDebit",
5121
+ PaymentByPostgiro = "PaymentByPostgiro",
5122
+ FRNorme697TelereglementCFONBFrenchOrganisationFor = "FRNorme697TelereglementCFONBFrenchOrganisationFor",
5123
+ UrgentCommercialPayment = "UrgentCommercialPayment",
5124
+ UrgentTreasuryPayment = "UrgentTreasuryPayment",
5125
+ CreditCard = "CreditCard",
5126
+ DebitCard = "DebitCard",
5127
+ Bankgiro = "Bankgiro",
5128
+ StandingAgreement = "StandingAgreement",
5129
+ SEPACreditTransfer = "SEPACreditTransfer",
5130
+ SEPADirectDebit = "SEPADirectDebit",
5131
+ PromissoryNote = "PromissoryNote",
5132
+ PromissoryNoteSignedByTheDebtor = "PromissoryNoteSignedByTheDebtor",
5133
+ PromissoryNoteSignedByTheDebtorAndEndorsedByABank = "PromissoryNoteSignedByTheDebtorAndEndorsedByABank",
5134
+ PromissoryNoteSignedByTheDebtorAndEndorsedByAThirdParty = "PromissoryNoteSignedByTheDebtorAndEndorsedByAThirdParty",
5135
+ PromissoryNoteSignedByABank = "PromissoryNoteSignedByABank",
5136
+ PromissoryNoteSignedByABankAndEndorsedByAnotherBank = "PromissoryNoteSignedByABankAndEndorsedByAnotherBank",
5137
+ PromissoryNoteSignedByAThirdParty = "PromissoryNoteSignedByAThirdParty",
5138
+ PromissoryNoteSignedByAThirdPartyAndEndorsedByABank = "PromissoryNoteSignedByAThirdPartyAndEndorsedByABank",
5139
+ OnlinePaymentService = "OnlinePaymentService",
5140
+ BillDrawnByTheCreditorOnTheDebtor = "BillDrawnByTheCreditorOnTheDebtor",
5141
+ BillDrawnByTheCreditorOnABank = "BillDrawnByTheCreditorOnABank",
5142
+ BillDrawnByTheCreditorEndorsedByAnotherBank = "BillDrawnByTheCreditorEndorsedByAnotherBank",
5143
+ BillDrawnByTheCreditorOnABankAndEndorsedByAThirdParty = "BillDrawnByTheCreditorOnABankAndEndorsedByAThirdParty",
5144
+ BillDrawnByTheCreditorOnAThirdParty = "BillDrawnByTheCreditorOnAThirdParty",
5145
+ BillDrawnByCreditorOnThirdPartyAcceptedAndEndorsedByBank = "BillDrawnByCreditorOnThirdPartyAcceptedAndEndorsedByBank",
5146
+ NotTransferableBankerSDraft = "NotTransferableBankerSDraft",
5147
+ NotTransferableLocalCheque = "NotTransferableLocalCheque",
5148
+ ReferenceGiro = "ReferenceGiro",
5149
+ UrgentGiro = "UrgentGiro",
5150
+ FreeFormatGiro = "FreeFormatGiro",
5151
+ RequestedMethodForPaymentWasNotUsed = "RequestedMethodForPaymentWasNotUsed",
5152
+ ClearingBetweenPartners = "ClearingBetweenPartners",
5153
+ JPElectronicallyRecordedMonetaryClaims = "JPElectronicallyRecordedMonetaryClaims"
5154
+ }
4659
5155
  /** Represents a payment means for an invoice */
4660
5156
  export declare class PaymentMeans implements IPaymentMeans {
4661
5157
  /** This is typically the IBAN or account number
@@ -4716,12 +5212,17 @@ export declare class SupportingDocument implements ISupportingDocument {
4716
5212
  description?: string | undefined;
4717
5213
  /** A link to the document in case this is an external reference */
4718
5214
  externalDocumentUrl?: string | undefined;
4719
- /** The document in base64 encoded form as binary data */
5215
+ /** The document in base64 encoded form as binary data. This is ignored if you set PlaceholderId. */
4720
5216
  documentBase64?: string | undefined;
4721
5217
  /** This should be present if DocumentBase64 is set. */
4722
5218
  fileName?: string | undefined;
4723
5219
  /** The type of the document */
4724
5220
  documentMimeType: AttachmentMimeType;
5221
+ /** This is placeholder id to use instead of DocumentBase64 property for lazy-loading of documents. The use case of this is to avoid having the documents be processed in memory when they might be handled
5222
+ by the calling code. For example, in the AVACloud webservice, this placeholder can be used to avoid having to send the Base64 encoded document to the server and then downloading it again in the result. If this
5223
+ is given, the generated XML file will not be valid, since it will include the literal Guid value as a placeholder. You can use the 'xmlExportCallback' parameter in the XRechnungWriter to replace
5224
+ the placeholder with the actual Base64 contents of the file in this library, or just use a string replace method if you're working with the XML in a different context. */
5225
+ placeholderId?: string | undefined;
4725
5226
  constructor(data?: ISupportingDocument);
4726
5227
  init?(_data?: any): void;
4727
5228
  static fromJS(data: any): SupportingDocument;
@@ -4735,12 +5236,17 @@ export interface ISupportingDocument {
4735
5236
  description?: string | undefined;
4736
5237
  /** A link to the document in case this is an external reference */
4737
5238
  externalDocumentUrl?: string | undefined;
4738
- /** The document in base64 encoded form as binary data */
5239
+ /** The document in base64 encoded form as binary data. This is ignored if you set PlaceholderId. */
4739
5240
  documentBase64?: string | undefined;
4740
5241
  /** This should be present if DocumentBase64 is set. */
4741
5242
  fileName?: string | undefined;
4742
5243
  /** The type of the document */
4743
5244
  documentMimeType: AttachmentMimeType;
5245
+ /** This is placeholder id to use instead of DocumentBase64 property for lazy-loading of documents. The use case of this is to avoid having the documents be processed in memory when they might be handled
5246
+ by the calling code. For example, in the AVACloud webservice, this placeholder can be used to avoid having to send the Base64 encoded document to the server and then downloading it again in the result. If this
5247
+ is given, the generated XML file will not be valid, since it will include the literal Guid value as a placeholder. You can use the 'xmlExportCallback' parameter in the XRechnungWriter to replace
5248
+ the placeholder with the actual Base64 contents of the file in this library, or just use a string replace method if you're working with the XML in a different context. */
5249
+ placeholderId?: string | undefined;
4744
5250
  }
4745
5251
  /** Describes a mime type of a document */
4746
5252
  export declare enum AttachmentMimeType {
@@ -4826,6 +5332,9 @@ is provided, otherwise this one takes precedence. */
4826
5332
  /** A reason code for the allowance according to UNTDID 5189.
4827
5333
  See this list: https://unece.org/fileadmin/DAM/trade/untdid/d16b/tred/tred5189.htm */
4828
5334
  reasonCode?: string | undefined;
5335
+ /** A reason type for the allowance according to UNTDID 5189. This will be automatically parsed from ReasonCode
5336
+ and is a read-only property. */
5337
+ reasonType?: AllowanceReasonType | undefined;
4829
5338
  constructor(data?: IInvoiceAllowance);
4830
5339
  init?(_data?: any): void;
4831
5340
  static fromJS(data: any): InvoiceAllowance;
@@ -4852,6 +5361,116 @@ is provided, otherwise this one takes precedence. */
4852
5361
  /** A reason code for the allowance according to UNTDID 5189.
4853
5362
  See this list: https://unece.org/fileadmin/DAM/trade/untdid/d16b/tred/tred5189.htm */
4854
5363
  reasonCode?: string | undefined;
5364
+ /** A reason type for the allowance according to UNTDID 5189. This will be automatically parsed from ReasonCode
5365
+ and is a read-only property. */
5366
+ reasonType?: AllowanceReasonType | undefined;
5367
+ }
5368
+ /** Type specifying the identification of an allowance from UNTDID 5189. See this list: https://unece.org/fileadmin/DAM/trade/untdid/d16b/tred/tred5189.htm */
5369
+ export declare enum AllowanceReasonType {
5370
+ HandlingCommission = "HandlingCommission",
5371
+ AmendmentCommission = "AmendmentCommission",
5372
+ AcceptanceCommission = "AcceptanceCommission",
5373
+ CommissionForObtainingAcceptance = "CommissionForObtainingAcceptance",
5374
+ CommissionOnDelivery = "CommissionOnDelivery",
5375
+ AdvisingCommission = "AdvisingCommission",
5376
+ ConfirmationCommission = "ConfirmationCommission",
5377
+ DeferredPaymentCommission = "DeferredPaymentCommission",
5378
+ CommissionForTakingUpDocuments = "CommissionForTakingUpDocuments",
5379
+ OpeningCommission = "OpeningCommission",
5380
+ FeeForPaymentUnderReserve = "FeeForPaymentUnderReserve",
5381
+ DiscrepancyFee = "DiscrepancyFee",
5382
+ DomicilationCommission = "DomicilationCommission",
5383
+ CommissionForReleaseOfGoods = "CommissionForReleaseOfGoods",
5384
+ CollectionCommission = "CollectionCommission",
5385
+ NegotiationCommission = "NegotiationCommission",
5386
+ ReturnCommission = "ReturnCommission",
5387
+ BLSplittingCharges = "BLSplittingCharges",
5388
+ TrustCommission = "TrustCommission",
5389
+ TransferCommission = "TransferCommission",
5390
+ CommissionForOpeningIrrevocableDocumentaryCredits = "CommissionForOpeningIrrevocableDocumentaryCredits",
5391
+ PreAdviceCommission = "PreAdviceCommission",
5392
+ SupervisoryCommission = "SupervisoryCommission",
5393
+ ModelCharges = "ModelCharges",
5394
+ RiskCommission = "RiskCommission",
5395
+ GuaranteeCommission = "GuaranteeCommission",
5396
+ ReimbursementCommission = "ReimbursementCommission",
5397
+ StampDuty = "StampDuty",
5398
+ Brokerage = "Brokerage",
5399
+ BankCharges = "BankCharges",
5400
+ BankChargesInformation = "BankChargesInformation",
5401
+ CourierFee = "CourierFee",
5402
+ PhoneFee = "PhoneFee",
5403
+ PostageFee = "PostageFee",
5404
+ SWIFTFee = "SWIFTFee",
5405
+ TelexFee = "TelexFee",
5406
+ PenaltyForLateDeliveryOfDocuments = "PenaltyForLateDeliveryOfDocuments",
5407
+ PenaltyForLateDeliveryOfValuationOfWorks = "PenaltyForLateDeliveryOfValuationOfWorks",
5408
+ PenaltyForExecutionOfWorksBehindSchedule = "PenaltyForExecutionOfWorksBehindSchedule",
5409
+ OtherPenalties = "OtherPenalties",
5410
+ BonusForWorksAheadOfSchedule = "BonusForWorksAheadOfSchedule",
5411
+ OtherBonus = "OtherBonus",
5412
+ ProjectManagementCost = "ProjectManagementCost",
5413
+ ProRataRetention = "ProRataRetention",
5414
+ ContractualRetention = "ContractualRetention",
5415
+ OtherRetentions = "OtherRetentions",
5416
+ InterestOnArrears = "InterestOnArrears",
5417
+ Interest = "Interest",
5418
+ ChargePerCreditCover = "ChargePerCreditCover",
5419
+ ChargePerUnusedCreditCover = "ChargePerUnusedCreditCover",
5420
+ MinimumCommission = "MinimumCommission",
5421
+ FactoringCommission = "FactoringCommission",
5422
+ ChamberOfCommerceCharge = "ChamberOfCommerceCharge",
5423
+ TransferCharges = "TransferCharges",
5424
+ RepatriationCharges = "RepatriationCharges",
5425
+ MiscellaneousCharges = "MiscellaneousCharges",
5426
+ ForeignExchangeCharges = "ForeignExchangeCharges",
5427
+ AgreedDebitInterestCharge = "AgreedDebitInterestCharge",
5428
+ ManufacturersConsumerDiscount = "ManufacturersConsumerDiscount",
5429
+ FaxAdviceCharge = "FaxAdviceCharge",
5430
+ DueToMilitaryStatus = "DueToMilitaryStatus",
5431
+ DueToWorkAccident = "DueToWorkAccident",
5432
+ SpecialAgreement = "SpecialAgreement",
5433
+ ProductionErrorDiscount = "ProductionErrorDiscount",
5434
+ NewOutletDiscount = "NewOutletDiscount",
5435
+ SampleDiscount = "SampleDiscount",
5436
+ EndOfRangeDiscount = "EndOfRangeDiscount",
5437
+ ChargeForACustomerSpecificFinish = "ChargeForACustomerSpecificFinish",
5438
+ IncotermDiscount = "IncotermDiscount",
5439
+ PointOfSalesThresholdAllowance = "PointOfSalesThresholdAllowance",
5440
+ TechnicalModificationCosts = "TechnicalModificationCosts",
5441
+ JobOrderProductionCosts = "JobOrderProductionCosts",
5442
+ OffPremisesCosts = "OffPremisesCosts",
5443
+ AdditionalProcessingCosts = "AdditionalProcessingCosts",
5444
+ AttestingCharge = "AttestingCharge",
5445
+ RushDeliverySurcharge = "RushDeliverySurcharge",
5446
+ SpecialConstructionCosts = "SpecialConstructionCosts",
5447
+ FreightCharges = "FreightCharges",
5448
+ PackingCharge = "PackingCharge",
5449
+ RepairCharge = "RepairCharge",
5450
+ LoadingCharge = "LoadingCharge",
5451
+ SetupCharge = "SetupCharge",
5452
+ TestingCharge = "TestingCharge",
5453
+ WarehousingCharge = "WarehousingCharge",
5454
+ GoldSurcharge = "GoldSurcharge",
5455
+ CopperSurcharge = "CopperSurcharge",
5456
+ MaterialSurchargeDeduction = "MaterialSurchargeDeduction",
5457
+ LeadSurcharge = "LeadSurcharge",
5458
+ PriceIndexSurcharge = "PriceIndexSurcharge",
5459
+ PlatinumSurcharge = "PlatinumSurcharge",
5460
+ SilverSurcharge = "SilverSurcharge",
5461
+ WolframSurcharge = "WolframSurcharge",
5462
+ AluminumSurcharge = "AluminumSurcharge",
5463
+ Discount = "Discount",
5464
+ Insurance = "Insurance",
5465
+ MinimumOrderMinimumBillingCharge = "MinimumOrderMinimumBillingCharge",
5466
+ MaterialSurchargeSpecialMaterials = "MaterialSurchargeSpecialMaterials",
5467
+ Surcharge = "Surcharge",
5468
+ SpecialRebate = "SpecialRebate",
5469
+ CarbonFootprintCharge = "CarbonFootprintCharge",
5470
+ FixedLongTerm = "FixedLongTerm",
5471
+ Temporary = "Temporary",
5472
+ Standard = "Standard",
5473
+ YearlyTurnover = "YearlyTurnover"
4855
5474
  }
4856
5475
  /** This describes an charge in an invoice, which is a surcharge to the total amount */
4857
5476
  export declare class InvoiceCharge implements IInvoiceCharge {
@@ -4872,8 +5491,11 @@ meaning 19% would be 0.19 */
4872
5491
  is provided, otherwise this one takes precedence. */
4873
5492
  reason?: string | undefined;
4874
5493
  /** A reason code for the charge according to UNTDID 7161.
4875
- See this list: https://unece.org/fileadmin/DAM/trade/untdid/d16b/tred/tred5189.htm */
5494
+ See this list: https://unece.org/fileadmin/DAM/trade/untdid/d16b/tred/tred7161.htm */
4876
5495
  reasonCode?: string | undefined;
5496
+ /** A reason type for the charge according to UNTDID 7161. This will be automatically parsed from ReasonCode
5497
+ and is a read-only property. */
5498
+ reasonType?: ChargeReasonType | undefined;
4877
5499
  constructor(data?: IInvoiceCharge);
4878
5500
  init?(_data?: any): void;
4879
5501
  static fromJS(data: any): InvoiceCharge;
@@ -4898,8 +5520,175 @@ meaning 19% would be 0.19 */
4898
5520
  is provided, otherwise this one takes precedence. */
4899
5521
  reason?: string | undefined;
4900
5522
  /** A reason code for the charge according to UNTDID 7161.
4901
- See this list: https://unece.org/fileadmin/DAM/trade/untdid/d16b/tred/tred5189.htm */
5523
+ See this list: https://unece.org/fileadmin/DAM/trade/untdid/d16b/tred/tred7161.htm */
4902
5524
  reasonCode?: string | undefined;
5525
+ /** A reason type for the charge according to UNTDID 7161. This will be automatically parsed from ReasonCode
5526
+ and is a read-only property. */
5527
+ reasonType?: ChargeReasonType | undefined;
5528
+ }
5529
+ /** Type specifying a special service from UNTDID 7161. See this list: https://unece.org/fileadmin/DAM/trade/untdid/d16b/tred/tred7161.htm */
5530
+ export declare enum ChargeReasonType {
5531
+ Advertising = "Advertising",
5532
+ Telecommunication = "Telecommunication",
5533
+ TechnicalModification = "TechnicalModification",
5534
+ JobOrderProduction = "JobOrderProduction",
5535
+ Outlays = "Outlays",
5536
+ OffPremises = "OffPremises",
5537
+ AdditionalProcessing = "AdditionalProcessing",
5538
+ Attesting = "Attesting",
5539
+ Acceptance = "Acceptance",
5540
+ RushDelivery = "RushDelivery",
5541
+ SpecialConstruction = "SpecialConstruction",
5542
+ AirportFacilities = "AirportFacilities",
5543
+ Concession = "Concession",
5544
+ CompulsoryStorage = "CompulsoryStorage",
5545
+ FuelRemoval = "FuelRemoval",
5546
+ IntoPlane = "IntoPlane",
5547
+ Overtime = "Overtime",
5548
+ Tooling = "Tooling",
5549
+ Miscellaneous = "Miscellaneous",
5550
+ AdditionalPackaging = "AdditionalPackaging",
5551
+ Dunnage = "Dunnage",
5552
+ Containerisation = "Containerisation",
5553
+ CartonPacking = "CartonPacking",
5554
+ HessianWrapped = "HessianWrapped",
5555
+ PolyethyleneWrapPacking = "PolyethyleneWrapPacking",
5556
+ MiscellaneousTreatment = "MiscellaneousTreatment",
5557
+ EnamellingTreatment = "EnamellingTreatment",
5558
+ HeatTreatment = "HeatTreatment",
5559
+ PlatingTreatment = "PlatingTreatment",
5560
+ Painting = "Painting",
5561
+ Polishing = "Polishing",
5562
+ Priming = "Priming",
5563
+ PreservationTreatment = "PreservationTreatment",
5564
+ Fitting = "Fitting",
5565
+ Consolidation = "Consolidation",
5566
+ BillOfLading = "BillOfLading",
5567
+ Airbag = "Airbag",
5568
+ Transfer = "Transfer",
5569
+ Slipsheet = "Slipsheet",
5570
+ Binding = "Binding",
5571
+ RepairOrReplacementOfBrokenReturnablePackage = "RepairOrReplacementOfBrokenReturnablePackage",
5572
+ EfficientLogistics = "EfficientLogistics",
5573
+ Merchandising = "Merchandising",
5574
+ ProductMix = "ProductMix",
5575
+ OtherServices = "OtherServices",
5576
+ PickUp = "PickUp",
5577
+ ChronicIllness = "ChronicIllness",
5578
+ NewProductIntroduction = "NewProductIntroduction",
5579
+ DirectDelivery = "DirectDelivery",
5580
+ Diversion = "Diversion",
5581
+ Disconnect = "Disconnect",
5582
+ Distribution = "Distribution",
5583
+ HandlingOfHazardousCargo = "HandlingOfHazardousCargo",
5584
+ RentsAndLeases = "RentsAndLeases",
5585
+ LocationDifferential = "LocationDifferential",
5586
+ AircraftRefueling = "AircraftRefueling",
5587
+ FuelShippedIntoStorage = "FuelShippedIntoStorage",
5588
+ CashOnDelivery = "CashOnDelivery",
5589
+ SmallOrderProcessingService = "SmallOrderProcessingService",
5590
+ ClericalOrAdministrativeServices = "ClericalOrAdministrativeServices",
5591
+ Guarantee = "Guarantee",
5592
+ CollectionAndRecycling = "CollectionAndRecycling",
5593
+ CopyrightFeeCollection = "CopyrightFeeCollection",
5594
+ VeterinaryInspectionService = "VeterinaryInspectionService",
5595
+ PensionerService = "PensionerService",
5596
+ MedicineFreePassHolder = "MedicineFreePassHolder",
5597
+ EnvironmentalProtectionService = "EnvironmentalProtectionService",
5598
+ EnvironmentalCleanUpService = "EnvironmentalCleanUpService",
5599
+ NationalChequeProcessingServiceOutsideAccountArea = "NationalChequeProcessingServiceOutsideAccountArea",
5600
+ NationalPaymentServiceOutsideAccountArea = "NationalPaymentServiceOutsideAccountArea",
5601
+ NationalPaymentServiceWithinAccountArea = "NationalPaymentServiceWithinAccountArea",
5602
+ Adjustments = "Adjustments",
5603
+ Authentication = "Authentication",
5604
+ Cataloguing = "Cataloguing",
5605
+ Cartage = "Cartage",
5606
+ Certification = "Certification",
5607
+ CertificateOfConformance = "CertificateOfConformance",
5608
+ CertificateOfOrigin = "CertificateOfOrigin",
5609
+ Cutting = "Cutting",
5610
+ ConsularService = "ConsularService",
5611
+ CustomerCollection = "CustomerCollection",
5612
+ PayrollPaymentService = "PayrollPaymentService",
5613
+ CashTransportation = "CashTransportation",
5614
+ HomeBankingService = "HomeBankingService",
5615
+ BilateralAgreementService = "BilateralAgreementService",
5616
+ InsuranceBrokerageService = "InsuranceBrokerageService",
5617
+ ChequeGeneration = "ChequeGeneration",
5618
+ PreferentialMerchandisingLocation = "PreferentialMerchandisingLocation",
5619
+ Crane = "Crane",
5620
+ SpecialColourService = "SpecialColourService",
5621
+ Sorting = "Sorting",
5622
+ BatteryCollectionAndRecycling = "BatteryCollectionAndRecycling",
5623
+ ProductTakeBackFee = "ProductTakeBackFee",
5624
+ CarLoading = "CarLoading",
5625
+ Cleaning = "Cleaning",
5626
+ CigaretteStamping = "CigaretteStamping",
5627
+ CountAndRecount = "CountAndRecount",
5628
+ LayoutDesign = "LayoutDesign",
5629
+ DriverAssignedUnloading = "DriverAssignedUnloading",
5630
+ Delivery = "Delivery",
5631
+ Engraving = "Engraving",
5632
+ Expediting = "Expediting",
5633
+ ExchangeRateGuarantee = "ExchangeRateGuarantee",
5634
+ Fabrication = "Fabrication",
5635
+ FreightEqualization = "FreightEqualization",
5636
+ FreightExtraordinaryHandling = "FreightExtraordinaryHandling",
5637
+ FreightService = "FreightService",
5638
+ FillingHandling = "FillingHandling",
5639
+ Financing = "Financing",
5640
+ Grinding = "Grinding",
5641
+ Hose = "Hose",
5642
+ Handling = "Handling",
5643
+ HoistingAndHauling = "HoistingAndHauling",
5644
+ Installation = "Installation",
5645
+ InstallationAndWarranty = "InstallationAndWarranty",
5646
+ InsideDelivery = "InsideDelivery",
5647
+ Inspection = "Inspection",
5648
+ InstallationAndTraining = "InstallationAndTraining",
5649
+ Invoicing = "Invoicing",
5650
+ Koshering = "Koshering",
5651
+ CarrierCount = "CarrierCount",
5652
+ Labelling = "Labelling",
5653
+ Labour = "Labour",
5654
+ RepairAndReturn = "RepairAndReturn",
5655
+ Legalisation = "Legalisation",
5656
+ Mounting = "Mounting",
5657
+ MailInvoice = "MailInvoice",
5658
+ MailInvoiceToEachLocation = "MailInvoiceToEachLocation",
5659
+ NonReturnableContainers = "NonReturnableContainers",
5660
+ OutsideCableConnectors = "OutsideCableConnectors",
5661
+ InvoiceWithShipment = "InvoiceWithShipment",
5662
+ PhosphatizingSteelTreatment = "PhosphatizingSteelTreatment",
5663
+ Packing = "Packing",
5664
+ Palletizing = "Palletizing",
5665
+ Repacking = "Repacking",
5666
+ Repair = "Repair",
5667
+ ReturnableContainer = "ReturnableContainer",
5668
+ Restocking = "Restocking",
5669
+ ReDelivery = "ReDelivery",
5670
+ Refurbishing = "Refurbishing",
5671
+ RailWagonHire = "RailWagonHire",
5672
+ Loading = "Loading",
5673
+ Salvaging = "Salvaging",
5674
+ ShippingAndHandling = "ShippingAndHandling",
5675
+ SpecialPackaging = "SpecialPackaging",
5676
+ Stamping = "Stamping",
5677
+ ConsigneeUnload = "ConsigneeUnload",
5678
+ ShrinkWrap = "ShrinkWrap",
5679
+ SpecialHandling = "SpecialHandling",
5680
+ SpecialFinish = "SpecialFinish",
5681
+ SetUp = "SetUp",
5682
+ TankRenting = "TankRenting",
5683
+ Testing = "Testing",
5684
+ TransportationThirdPartyBilling = "TransportationThirdPartyBilling",
5685
+ TransportationByVendor = "TransportationByVendor",
5686
+ DropYard = "DropYard",
5687
+ DropDock = "DropDock",
5688
+ Warehousing = "Warehousing",
5689
+ CombineAllSameDayShipment = "CombineAllSameDayShipment",
5690
+ SplitPickUp = "SplitPickUp",
5691
+ MutuallyDefined = "MutuallyDefined"
4903
5692
  }
4904
5693
  /** Represents a single invoice line item */
4905
5694
  export declare class InvoiceLineItem implements IInvoiceLineItem {
@@ -4989,8 +5778,12 @@ and be given in decimal representation, meaning 19% would be 0.19 */
4989
5778
  relativeAllowancePercentage?: number | undefined;
4990
5779
  /** A description of the allowance. */
4991
5780
  reason?: string | undefined;
4992
- /** A reason code for the allowance according to UNTDID 5189. */
5781
+ /** A reason code for the allowance according to UNTDID 5189. Should be a code
5782
+ from this list: https://unece.org/fileadmin/DAM/trade/untdid/d16b/tred/tred5189.htm */
4993
5783
  reasonCode?: string | undefined;
5784
+ /** A reason type for the allowance according to UNTDID 5189. This will be automatically parsed from ReasonCode
5785
+ and is a read-only property. */
5786
+ reasonType?: AllowanceReasonType | undefined;
4994
5787
  constructor(data?: ILineItemAllowance);
4995
5788
  init?(_data?: any): void;
4996
5789
  static fromJS(data: any): LineItemAllowance;
@@ -5008,8 +5801,12 @@ and be given in decimal representation, meaning 19% would be 0.19 */
5008
5801
  relativeAllowancePercentage?: number | undefined;
5009
5802
  /** A description of the allowance. */
5010
5803
  reason?: string | undefined;
5011
- /** A reason code for the allowance according to UNTDID 5189. */
5804
+ /** A reason code for the allowance according to UNTDID 5189. Should be a code
5805
+ from this list: https://unece.org/fileadmin/DAM/trade/untdid/d16b/tred/tred5189.htm */
5012
5806
  reasonCode?: string | undefined;
5807
+ /** A reason type for the allowance according to UNTDID 5189. This will be automatically parsed from ReasonCode
5808
+ and is a read-only property. */
5809
+ reasonType?: AllowanceReasonType | undefined;
5013
5810
  }
5014
5811
  /** Charge for a single line item */
5015
5812
  export declare class LineItemCharge implements ILineItemCharge {
@@ -5023,8 +5820,12 @@ and be given in decimal representation, meaning 19% would be 0.19 */
5023
5820
  relativeChargePercentage?: number | undefined;
5024
5821
  /** A description of the charge. */
5025
5822
  reason?: string | undefined;
5026
- /** A reason code for the charge according to UNTDID 7161. */
5823
+ /** A reason code for the charge according to UNTDID 7161.
5824
+ See this list: https://unece.org/fileadmin/DAM/trade/untdid/d16b/tred/tred7161.htm */
5027
5825
  reasonCode?: string | undefined;
5826
+ /** A reason type for the charge according to UNTDID 7161. This will be automatically parsed from ReasonCode
5827
+ and is a read-only property. */
5828
+ reasonType?: ChargeReasonType | undefined;
5028
5829
  constructor(data?: ILineItemCharge);
5029
5830
  init?(_data?: any): void;
5030
5831
  static fromJS(data: any): LineItemCharge;
@@ -5042,8 +5843,12 @@ and be given in decimal representation, meaning 19% would be 0.19 */
5042
5843
  relativeChargePercentage?: number | undefined;
5043
5844
  /** A description of the charge. */
5044
5845
  reason?: string | undefined;
5045
- /** A reason code for the charge according to UNTDID 7161. */
5846
+ /** A reason code for the charge according to UNTDID 7161.
5847
+ See this list: https://unece.org/fileadmin/DAM/trade/untdid/d16b/tred/tred7161.htm */
5046
5848
  reasonCode?: string | undefined;
5849
+ /** A reason type for the charge according to UNTDID 7161. This will be automatically parsed from ReasonCode
5850
+ and is a read-only property. */
5851
+ reasonType?: ChargeReasonType | undefined;
5047
5852
  }
5048
5853
  /** Price details about a line item */
5049
5854
  export declare class LineItemPriceDetail implements ILineItemPriceDetail {
@@ -5268,6 +6073,12 @@ might be different from the total price of the ServiceSpecification. */
5268
6073
  BG-13 in XRechnung */
5269
6074
  deliveryInformation?: IDeliveryInformation | undefined;
5270
6075
  }
6076
+ /** The target format for the XRechnung export */
6077
+ export declare enum DestinationXRechnungFormat {
6078
+ Ubl = "Ubl",
6079
+ CrossIndustryInvoice = "CrossIndustryInvoice",
6080
+ FacturX = "FacturX"
6081
+ }
5271
6082
  export declare class LoginPost implements ILoginPost {
5272
6083
  identifier: string;
5273
6084
  password: string;