Cross Industry Invoice
The top-level document and its header aggregates (XML namespace rsm). Start from CrossIndustryInvoiceType.
Generated reference
These tables are generated from src/lib/models/facturx/crossIndustryInvoice.ts and always match the code. See Models for the conceptual overview and a build-an-invoice example.
ExchangedDocumentContextType MINIMUM
Business context of the invoice, naming the Factur-X guideline (profile) it conforms to and the business process it belongs to.
| Property | Type | Required |
|---|---|---|
testIndicator | IndicatorType | optional |
businessProcessSpecifiedDocumentContextParameter | DocumentContextParameterType | optional |
guidelineSpecifiedDocumentContextParameter | DocumentContextParameterType | required |
ExchangedDocumentType MINIMUM
Document-level header of the invoice: its number, UNTDID 1001 type code, issue date and optional name, notes and language.
| Property | Type | Required |
|---|---|---|
id | IDType | required |
name | TextType | optional |
typeCode | DocumentCodeType | required |
issueDateTime | DateTimeType | required |
copyIndicator | IndicatorType | optional |
languageID | IDType[] | optional |
includedNote | NoteType[] | optional |
effectiveSpecifiedPeriod | SpecifiedPeriodType | optional |
HeaderTradeAgreementType MINIMUM
Document-level trade agreement covering the seller and buyer, their tax representatives and agents, and references to the order, contract, quotation and procuring project.
| Property | Type | Required |
|---|---|---|
buyerReference | TextType | optional |
sellerTradeParty | TradePartyType | required |
buyerTradeParty | TradePartyType | required |
salesAgentTradeParty | TradePartyType | optional |
buyerTaxRepresentativeTradeParty | TradePartyType | optional |
sellerTaxRepresentativeTradeParty | TradePartyType | optional |
productEndUserTradeParty | TradePartyType | optional |
applicableTradeDeliveryTerms | TradeDeliveryTermsType | optional |
sellerOrderReferencedDocument | ReferencedDocumentType | optional |
buyerOrderReferencedDocument | ReferencedDocumentType | optional |
quotationReferencedDocument | ReferencedDocumentType | optional |
contractReferencedDocument | ReferencedDocumentType | optional |
additionalReferencedDocument | ReferencedDocumentType[] | optional |
buyerAgentTradeParty | TradePartyType | optional |
specifiedProcuringProject | ProcuringProjectType | optional |
ultimateCustomerOrderReferencedDocument | ReferencedDocumentType[] | optional |
HeaderTradeDeliveryType MINIMUM
Document-level delivery information stating where and when the goods or services are delivered: ship-to/ship-from parties, the actual delivery event and despatch, receiving and delivery-note references.
| Property | Type | Required |
|---|---|---|
relatedSupplyChainConsignment | SupplyChainConsignmentType | optional |
shipToTradeParty | TradePartyType | optional |
ultimateShipToTradeParty | TradePartyType | optional |
shipFromTradeParty | TradePartyType | optional |
actualDeliverySupplyChainEvent | SupplyChainEventType | optional |
despatchAdviceReferencedDocument | ReferencedDocumentType | optional |
receivingAdviceReferencedDocument | ReferencedDocumentType | optional |
deliveryNoteReferencedDocument | ReferencedDocumentType | optional |
HeaderTradeSettlementType MINIMUM
Document-level settlement covering invoice and VAT accounting currencies, payee/payer parties, payment means, the VAT breakdown, document-level allowances and charges, payment terms and the monetary totals.
| Property | Type | Required |
|---|---|---|
creditorReferenceID | IDType | optional |
paymentReference | TextType | optional |
taxCurrencyCode | CurrencyCodeType | optional |
invoiceCurrencyCode | CurrencyCodeType | required |
invoiceIssuerReference | TextType | optional |
invoicerTradeParty | TradePartyType | optional |
invoiceeTradeParty | TradePartyType | optional |
payeeTradeParty | TradePartyType | optional |
payerTradeParty | TradePartyType | optional |
taxApplicableTradeCurrencyExchange | TradeCurrencyExchangeType | optional |
specifiedTradeSettlementPaymentMeans | TradeSettlementPaymentMeansType[] | optional |
applicableTradeTax | TradeTaxType[] | required |
billingSpecifiedPeriod | SpecifiedPeriodType | optional |
specifiedTradeAllowanceCharge | TradeAllowanceChargeType[] | optional |
specifiedLogisticsServiceCharge | LogisticsServiceChargeType[] | optional |
specifiedTradePaymentTerms | TradePaymentTermsType[] | optional |
specifiedTradeSettlementHeaderMonetarySummation | TradeSettlementHeaderMonetarySummationType | required |
specifiedFinancialAdjustment | FinancialAdjustmentType[] | optional |
invoiceReferencedDocument | ReferencedDocumentType[] | optional |
receivableSpecifiedTradeAccountingAccount | TradeAccountingAccountType[] | optional |
specifiedAdvancePayment | AdvancePaymentType[] | optional |
SupplyChainTradeTransactionType MINIMUM
The trade transaction bundling the invoice line items with the document-level agreement, delivery and settlement headers.
| Property | Type | Required |
|---|---|---|
includedSupplyChainTradeLineItem | SupplyChainTradeLineItemType[] | optional |
applicableHeaderTradeAgreement | HeaderTradeAgreementType | required |
applicableHeaderTradeDelivery | HeaderTradeDeliveryType | required |
applicableHeaderTradeSettlement | HeaderTradeSettlementType | required |
CrossIndustryInvoiceType MINIMUM
Root of a Factur-X / UN/CEFACT CII invoice, bundling the document context, the document header and the trade transaction.
| Property | Type | Required |
|---|---|---|
exchangedDocumentContext | ExchangedDocumentContextType | required |
exchangedDocument | ExchangedDocumentType | required |
supplyChainTradeTransaction | SupplyChainTradeTransactionType | required |