Skip to content

Qualified types ​

Code-list-backed qualified data types, e.g. currency, country and tax codes (XML namespace qdt).

Generated reference

These tables are generated from src/lib/models/facturx/qualifiedTypes.ts and always match the code. See Models for the conceptual overview and a build-an-invoice example.

AccountingAccountTypeCodeType EXTENDED ​

Code identifying the type of a buyer accounting account.

PropertyTypeRequired
valuestringrequired

AllowanceChargeReasonCodeType BASIC WL ​

Coded reason for an allowance or charge (UNTDID 5189 for allowances, UNTDID 7161 for charges).

PropertyTypeRequired
valuestringrequired

ContactTypeCodeType EXTENDED ​

Code identifying the type or role of a trade contact.

PropertyTypeRequired
valuestringrequired

CountryIDType MINIMUM ​

ISO 3166-1 alpha-2 country code.

PropertyTypeRequired
valuestringrequired

CurrencyCodeType MINIMUM ​

ISO 4217 currency code.

PropertyTypeRequired
valuestringrequired

DeliveryTermsCodeType EXTENDED ​

Incoterms code identifying the applicable delivery terms.

PropertyTypeRequired
valuestringrequired

DocumentCodeType MINIMUM ​

UNTDID 1001 code giving the document / invoice type.

PropertyTypeRequired
valuestringrequired

FormattedDateTimeType BASIC WL ​

A date/time expressed with an explicit format qualifier.

PropertyTypeRequired
dateTimeStringstringrequired
formatstringrequired

LineStatusCodeType EXTENDED ​

Code giving the status of an invoice line.

PropertyTypeRequired
valuestringrequired

PartyRoleCodeType EXTENDED ​

Code identifying the role a trade party plays.

PropertyTypeRequired
valuestringrequired

PaymentMeansCodeType BASIC WL ​

UNTDID 4461 code identifying the means of payment.

PropertyTypeRequired
valuestringrequired

ReferenceCodeType EN 16931 ​

UNTDID 1153 code qualifying the type of a referenced document.

PropertyTypeRequired
valuestringrequired

TaxCategoryCodeType BASIC WL ​

VAT category code (UNTDID 5305), e.g. standard rate, zero-rated, exempt or reverse charge.

PropertyTypeRequired
valuestringrequired

TaxTypeCodeType BASIC WL ​

Code identifying the type of tax, typically VAT (UNTDID 5153).

PropertyTypeRequired
valuestringrequired

TimeReferenceCodeType BASIC WL ​

Code identifying the event a date refers to, e.g. the basis for a VAT due date.

PropertyTypeRequired
valuestringrequired

TransportModeCodeType EXTENDED ​

Code identifying the mode of transport.

PropertyTypeRequired
valuestringrequired

Released under the MIT License.