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.
| Property | Type | Required |
|---|---|---|
value | string | required |
AllowanceChargeReasonCodeType BASIC WL
Coded reason for an allowance or charge (UNTDID 5189 for allowances, UNTDID 7161 for charges).
| Property | Type | Required |
|---|---|---|
value | string | required |
ContactTypeCodeType EXTENDED
Code identifying the type or role of a trade contact.
| Property | Type | Required |
|---|---|---|
value | string | required |
CountryIDType MINIMUM
ISO 3166-1 alpha-2 country code.
| Property | Type | Required |
|---|---|---|
value | string | required |
CurrencyCodeType MINIMUM
ISO 4217 currency code.
| Property | Type | Required |
|---|---|---|
value | string | required |
DeliveryTermsCodeType EXTENDED
Incoterms code identifying the applicable delivery terms.
| Property | Type | Required |
|---|---|---|
value | string | required |
DocumentCodeType MINIMUM
UNTDID 1001 code giving the document / invoice type.
| Property | Type | Required |
|---|---|---|
value | string | required |
FormattedDateTimeType BASIC WL
A date/time expressed with an explicit format qualifier.
| Property | Type | Required |
|---|---|---|
dateTimeString | string | required |
format | string | required |
LineStatusCodeType EXTENDED
Code giving the status of an invoice line.
| Property | Type | Required |
|---|---|---|
value | string | required |
PartyRoleCodeType EXTENDED
Code identifying the role a trade party plays.
| Property | Type | Required |
|---|---|---|
value | string | required |
PaymentMeansCodeType BASIC WL
UNTDID 4461 code identifying the means of payment.
| Property | Type | Required |
|---|---|---|
value | string | required |
ReferenceCodeType EN 16931
UNTDID 1153 code qualifying the type of a referenced document.
| Property | Type | Required |
|---|---|---|
value | string | required |
TaxCategoryCodeType BASIC WL
VAT category code (UNTDID 5305), e.g. standard rate, zero-rated, exempt or reverse charge.
| Property | Type | Required |
|---|---|---|
value | string | required |
TaxTypeCodeType BASIC WL
Code identifying the type of tax, typically VAT (UNTDID 5153).
| Property | Type | Required |
|---|---|---|
value | string | required |
TimeReferenceCodeType BASIC WL
Code identifying the event a date refers to, e.g. the basis for a VAT due date.
| Property | Type | Required |
|---|---|---|
value | string | required |
TransportModeCodeType EXTENDED
Code identifying the mode of transport.
| Property | Type | Required |
|---|---|---|
value | string | required |