Skip to content

API reference

Convert one or more invoices

Conversions API

POST/v1/conversions

Accepts canonical invoices or one mapped file. A mapped file names its frozen mapping with mappingVersion; without one, the file is recognised and read through the one frozen mapping of this company that reads it. Conversion always produces issued invoices. The company policy version and the requested outputs are frozen when the operation is accepted; an output the request does not name follows the organisation’s settings. Every generated file is validated as the exact bytes produced; rejected files are withheld and their validation report remains available. The workspace’s processing plan supplies feature access, item and byte limits, document quota and retention. A temporary result expires at the time stated in the operation response and is not added to the invoice archive.

Headers

  • Idempotency-Keystring

Request body

application/json, required

  • buyerTypestring

    Optional. Who the buyer of these invoices is. It wins over the type of a named customer, and is frozen for every item, so queued work cannot change. Without either, the buyer's type is assumed from the invoice, and the report says so. A valid Leitweg-ID as the buyer reference makes a public buyer, and a buyer VAT identifier, or a party established in Germany, a business. The company's usual buyer type is no company fact, and a companyFacts that sends one is refused. Any other value is refused (invalid_operation).

    One of business, consumer, public.
  • companyFactsobject

    Optional. The company facts for these invoices, in the shape PUT /v1/company/facts takes. Each fact given wins over the one the company saved, and a fact left out or null keeps the saved one. A fact its rules ask per invoice, such as why the supplies marked exempt from VAT are exempt, is given in its facts; on a received invoice that is the only kind it gives. It is frozen for every item, so queued work cannot change. A value the company facts refuse is refused here (invalid_operation), and the message names the field.

    Show 4 child fields
    • organisationTypestring

      What the company is: business, a business buying for its business, or public, a public authority. On a received invoice the company is the buyer, so this is the buyer's type.

      One of business, public, null.
    • establishedCountrystring or null

      Where the company is established: its seat, its place of management or a fixed establishment involved in the supply, as an ISO 3166-1 country code. Null: the country of the company's address on each invoice stands for it.

    • useAddressAsEstablishmentboolean

      Use the address on the invoice as where a party is established. True: the country of the seller's or the buyer's address on the invoice is taken as stated, wherever nothing else states it. False, the default: the check assumes it from the address and says so.

    • factsobject

      Each fact a country's rules define that the company states, named as the rules name it, such as why its supplies marked exempt from VAT are exempt, or whether it is a micro or small or medium-sized enterprise (true or false). GET /v1/jurisdictions lists each country's facts with their type and values, and whom each is asked of. Each value is checked against the rule file that defines it. A fact asked of a buyer is refused here: it is saved with the customer. A fact asked of an establishment is refused here too: it is saved on the establishment. An operation's companyFacts may still give either for its own invoices. An empty value is no value.

  • policyVersioninteger

    Optional, and it must be the current policy version. An older one is refused (policy_version_superseded), because an operation stores what it checks. Omit it to freeze the current version at acceptance.

  • validateOnlyboolean

    Optional. true renders exactly one canonical invoice (canonical-invoices input), validates the exact bytes, and answers the check report at once with 200. Nothing is kept, no operation is opened and no document quota is used.

  • customerstring

    Optional id of one of this company's customers (/v1/customers). The customer is the buyer of these invoices. It is resolved once and frozen for every item in this operation, so queued work cannot change when the customers change. An id this company did not save is refused (unknown_customer). Every invoice gets the files the customer needs (its files), and keeps the customer's delivery plan (deliveryPlan on the invoice).

  • deliveryobject

    Optional. How every invoice of this conversion reaches its buyer, in the shape of a customer's delivery, or null for no fixed way. It wins over the named customer's delivery, and is kept as the invoice's deliveryPlan.delivery, also when no customer is named. Unsaid, the named customer's delivery is kept, as before. Its file must be one the conversion makes, asked for in outputs or needed by the named customer; otherwise it is refused (delivery_file_not_made). Another shape is refused (invalid_operation). An email delivery is what POST /v1/invoices/{id}/emails sends to when its body leaves the address out.

    Show 4 child fields
    • channelstringRequired
    • tostringRequired

      The one address the invoice is sent to.

    • filestringRequired

      The file attached, one of files.

    • sendingstring

      Whether this customer's invoices are emailed by themselves after the check, or wait for a person. Absent: the company's sending setting decides. Which verdicts are sent by themselves is always the company's setting.

      One of automatic, by-hand.
  • outputsobject

    Optional. Which files to make for every item, frozen when the operation is accepted. A file this object does not name follows the organisation's settings and the customer's files. Any other key or a non-boolean value is refused (invalid_operation). Turning off a file the named customer needs is refused (customer_needs_file). Naming any of ubl, cii, en16931-ubl, en16931-cii, factur-x, extended-cii or zugferd-extended asks whether the validation policy allows the files that result, as saving them in Settings would (formats_not_allowed).

    Show 9 child fields
    • pdfboolean

      The ZUGFeRD PDF.

    • peppolboolean

      The Peppol BIS file.

    • ublboolean

      The XRechnung UBL file.

    • ciiboolean

      The XRechnung CII file.

    • en16931-ublboolean

      The plain EN 16931 UBL file.

    • en16931-ciiboolean

      The plain EN 16931 CII file.

    • factur-xboolean

      The Factur-X PDF.

    • extended-ciiboolean

      The ZUGFeRD EXTENDED CII file.

    • zugferd-extendedboolean

      The ZUGFeRD EXTENDED PDF.

  • printobject

    Optional. The language the printed page of every invoice of this conversion is in. Unsaid, each invoice prints in the language saved for its customer, else the language of the buyer's country where it has one Certinvo prints, else the organisation's layout's language. The language is decided when the invoice is filed and kept with it; it is not in the XML.

    Show 2 child fields
    • languagestring

      The page's language.

      One of de, en, fr.
    • secondLanguagestring or null

      A second language every label prints in too; null for none. Unsaid

      One of de, en, fr, null.
  • keepPageboolean

    Optional. true keeps the PDF this conversion converts as the page of every PDF made, in place of the organisation's layout. Only a mapped-file input that is one PDF holding one invoice, filed for good, can ask for it; anything else is refused (page_not_kept). The page is used whatever it states; where its text does not state the invoice's number, issue date or buyer name, the PDF carries a finding for each (pdf-xml-page-leaves-out), and where its totals differ, one for each (pdf-xml-amounts-disagree). A page that cannot be read as a PDF is refused (own-page-refused) and the other files are made.

  • inputobjectRequired
    Show 2 child fields
    • typestringRequired
    • itemsarray of objectRequired
      Show 63 child fields
      • schemaVersionstringRequired

        The version of this invoice model the document follows. It must be one of the listed versions; the last one is the version written today. A document with an unlisted version is refused.

        One of 0.2, 0.3, 0.4.
      • metaobject

        Provenance: where this document came from and how it was produced.

        Show 3 child fields
        • mappingConfigVersionstring

          The version of the saved onboarding mapping that produced this payload. The value is none when the payload was written directly.

        • arrivedProfileobject

          How a received document identified itself: its Specification identifier (BT-24) and Business process type (BT-23), exactly as the sender wrote them. Only the reader sets this. It is absent on invoices you create, and the writer then uses the pinned default identifiers.

          Show 2 child fields
          • customizationIdstringRequired

            Specification identifier (BT-24), exactly as received.

          • profileIdstring

            Business process type (BT-23), exactly as received. Absent when the document had none.

        • mappingColumnsobject

          The columns the saved mapping met that it did not expect, when it produced this payload: new, each place of the file the mapping has never seen, whose value was not read; missing, each place it reads that the file lacked. Each is a JSON Pointer into the file's record with row numbers left out. Absent when there were none. The check report names each as a finding.

          Show 2 child fields
          • newarray of string
          • missingarray of string
      • invoiceNumberstringRequired
      • issueDatestring (date)Required

        A calendar date in ISO 8601 format: YYYY-MM-DD. It must be a real day: 2026-02-30 and 2025-02-29 are refused, 2024-02-29 is accepted.

      • dueDatestring (date)

        A calendar date in ISO 8601 format: YYYY-MM-DD. It must be a real day: 2026-02-30 and 2025-02-29 are refused, 2024-02-29 is accepted.

      • contractualDueDatestring (date)

        Contractual due date of the invoice, when it differs from the payment due date (BT-X-6, ZUGFeRD and Factur-X EXTENDED). CII ram:EffectiveSpecifiedPeriod/ram:CompleteDateTime.

      • typeCodestringRequired

        Invoice type code (BT-3), from UNTDID 1001. It is passed through unchanged; validation decides whether the code is allowed.

      • documentNamestring

        Name of the document (BT-X-2, ZUGFeRD and Factur-X EXTENDED). CII rsm:ExchangedDocument/ram:Name.

      • testIndicatorboolean

        The invoice is a test (BT-X-1, ZUGFeRD and Factur-X EXTENDED). CII rsm:ExchangedDocumentContext/ram:TestIndicator.

      • copyIndicatorboolean

        The invoice is a copy of another invoice document (BT-X-3, ZUGFeRD and Factur-X EXTENDED). CII ram:CopyIndicator.

      • languageCodestring

        Language of the invoice (BT-X-4, ZUGFeRD and Factur-X EXTENDED), ISO 639. CII ram:LanguageID.

      • currencystringRequired
      • businessProcessTypestring

        Business process type (BT-23): the process the invoice belongs to, in the words its rules give, such as the French billing mode S1 of AFNOR XP Z12-012. Absent, each file states its own profile's value, if it has one.

      • buyerReferencestring

        Buyer reference (BT-10), in Germany usually the Leitweg-ID. Optional in this schema. XRechnung requires it, and that requirement is checked at validation.

      • invoiceIssuerReferencestring

        Seller reference number for routing, by bilateral agreement (BT-X-204, ZUGFeRD and Factur-X EXTENDED). CII ram:InvoiceIssuerReference.

      • sellerobjectRequired
        Show 16 child fields
        • legalNamestringRequired
        • identifierSchemestring

          Scheme of the seller identifier (BT-29-1): the register BT-29 was issued under, from ISO 6523 ICD (BR-CL-10, fatal). Written as @schemeID on ram:ID in CII and on cbc:ID in UBL.

        • identifierstring
        • additionalIdentifiersarray of string

          Further values of the Seller identifier (BT-29): the second identifier onwards, in document order. identifier holds the first.

        • vatIdstring
        • endpointIdobject

          Electronic address of a party, with its scheme.

          Show 2 child fields
          • schemestringRequired

            Electronic address scheme, from the EAS code list, for example EM, 9930, 0204 or 0246.

          • valuestringRequired
        • addressobjectRequired
          Show 7 child fields
          • streetstring
          • addressLine2string
          • addressLine3string
          • citystring
          • postalZonestring
          • countrySubdivisionstring
          • countrystringRequired
        • contactobject
          Show 5 child fields
          • namestring
          • telephonestring
          • emailstring
          • faxstring
          • typeCodestring
        • tradingNamestring

          Seller trading name (BT-28), when it differs from the registered legal name.

        • registrationIdSchemestring

          Scheme of the seller legal registration identifier (BT-30-1): the register BT-30 was issued under (BR-CL-11, fatal). UBL cbc:CompanyID/@schemeID; CII SpecifiedLegalOrganization/ram:ID/@schemeID.

        • registrationIdstring

          Seller legal registration identifier (BT-30), for example an HRB or HRA number.

        • legalFormstring
        • globalIdobject

          Seller identifier issued under a scheme, such as a GLN. CII writes it as GlobalID with a schemeID; UBL as a PartyIdentification with a schemeID.

          Show 2 child fields
          • schemestringRequired
          • valuestringRequired
        • taxRegistrationIdstring

          Seller tax registration identifier (BT-32): the German Steuernummer, which is distinct from the Seller VAT identifier (BT-31). BR-AE-02 needs it for reverse charge.

        • legalAddressobject
          Show 7 child fields
          • streetstring
          • addressLine2string
          • addressLine3string
          • citystring
          • postalZonestring
          • countrySubdivisionstring
          • countrystringRequired
        • roleCodestring

          A code qualifying the role of the seller (FeRD's sheet). CII ram:SellerTradeParty/ram:RoleCode.

      • buyerobjectRequired

        Information about the buyer (BG-7). Same shape as the seller, with different business term numbers.

        Show 13 child fields
        • legalNamestringRequired
        • tradingNamestring
        • identifierSchemestring

          Scheme of the buyer identifier (BT-46-1): the register BT-46 was issued under (BR-CL-10).

        • identifierstring
        • registrationIdSchemestring

          Scheme of the buyer legal registration identifier (BT-47-1): the register BT-47 was issued under (BR-CL-11).

        • registrationIdstring
        • vatIdstring
        • endpointIdobject

          Electronic address of a party, with its scheme.

          Show 2 child fields
          • schemestringRequired

            Electronic address scheme, from the EAS code list, for example EM, 9930, 0204 or 0246.

          • valuestringRequired
        • addressobjectRequired
          Show 7 child fields
          • streetstring
          • addressLine2string
          • addressLine3string
          • citystring
          • postalZonestring
          • countrySubdivisionstring
          • countrystringRequired
        • contactobject
          Show 5 child fields
          • namestring
          • telephonestring
          • emailstring
          • faxstring
          • typeCodestring
        • legalAddressobject
          Show 7 child fields
          • streetstring
          • addressLine2string
          • addressLine3string
          • citystring
          • postalZonestring
          • countrySubdivisionstring
          • countrystringRequired
        • legalFormstring
        • roleCodestring

          A code qualifying the role of the buyer (FeRD's sheet). CII ram:BuyerTradeParty/ram:RoleCode.

      • paymentMeansobject
        Show 10 child fields
        • typeCodestringRequired
        • ibanstring
        • accountIdstring

          Payment account identifier (BT-84) when the account is not an IBAN (CII ram:ProprietaryID). Stored exactly as received. It is never reformatted and never merged into iban.

        • informationstring
        • remittanceInformationstring
        • accountNamestring
        • bicstring
        • additionalAccountsarray of object

          Further accounts of the group Transfer (BG-17): the second account onwards, in document order. Each entry holds only the Payment account identifier (BT-84), Payment account name (BT-85) and Payment service provider identifier (BT-86). The writers emit one extra payment means per entry, with the same payment means type code.

          Show 4 child fields
          • ibanstring
          • accountIdstring

            Payment account identifier (BT-84) when the account is not an IBAN. Same split as paymentMeans.accountId.

          • accountNamestring
          • bicstring
        • cardobject

          Card information (BG-18). networkId has no business term of its own: UBL's card account needs a network ID, and CII has no element for one.

          Show 3 child fields
          • primaryAccountNumberstringRequired
          • holderNamestring
          • networkIdstring

            The card network ID, when the document names one. Optional, because CII has no element for it.

        • directDebitobject

          Direct debit (BG-19): creditor reference, mandate reference and debited account, kept together as one group.

          Show 5 child fields
          • creditorReferencestringRequired
          • mandateReferencestringRequired
          • debitedAccountstring
          • debitedAccountNamestring
          • debitedAccountBicstring

            BIC of the debited account (BT-215, ZUGFeRD and Factur-X EXTENDED). CII ram:PayerSpecifiedDebtorFinancialInstitution/ram:BICID.

      • taxBreakdownarray of objectRequired
        Show 8 child fields
        • categoryCodestringRequired

          VAT category code (BT-118), from UNTDID 5305. The codes the gate accepts are list 5305 of official-codes.json.

        • percentstring

          A decimal number written as a string, for example 119.00. The number of decimal places is kept exactly as given.

        • taxableAmountstringRequired

          A decimal number written as a string, for example 119.00. The number of decimal places is kept exactly as given.

        • taxAmountstringRequired

          A decimal number written as a string, for example 119.00. The number of decimal places is kept exactly as given.

        • exemptionReasonstring
        • exemptionReasonCodestring
        • lineTotalBasisAmountstring

          A decimal number written as a string, for example 119.00. The number of decimal places is kept exactly as given.

        • allowanceChargeBasisAmountstring

          A decimal number written as a string, for example 119.00. The number of decimal places is kept exactly as given.

      • totalsobjectRequired
        Show 10 child fields
        • lineExtensionAmountstringRequired

          A decimal number written as a string, for example 119.00. The number of decimal places is kept exactly as given.

        • taxExclusiveAmountstringRequired

          A decimal number written as a string, for example 119.00. The number of decimal places is kept exactly as given.

        • taxAmountstring

          A decimal number written as a string, for example 119.00. The number of decimal places is kept exactly as given.

        • taxInclusiveAmountstringRequired

          A decimal number written as a string, for example 119.00. The number of decimal places is kept exactly as given.

        • payableAmountstringRequired

          A decimal number written as a string, for example 119.00. The number of decimal places is kept exactly as given.

        • allowanceTotalAmountstring

          A decimal number written as a string, for example 119.00. The number of decimal places is kept exactly as given.

        • chargeTotalAmountstring

          A decimal number written as a string, for example 119.00. The number of decimal places is kept exactly as given.

        • prepaidAmountstring

          A decimal number written as a string, for example 119.00. The number of decimal places is kept exactly as given.

        • payableRoundingAmountstring

          A decimal number written as a string, for example 119.00. The number of decimal places is kept exactly as given.

        • taxAmountInAccountingCurrencystring

          Invoice total VAT amount in accounting currency (BT-111). Required whenever taxCurrency, the VAT accounting currency code (BT-6), is present (BR-53). BT-6 must differ from the invoice currency.

      • linesarray of objectRequired
        Show 73 child fields
        • idstringRequired
        • itemNamestringRequired
        • quantitystringRequired

          A decimal number written as a string, for example 119.00. The number of decimal places is kept exactly as given.

        • unitCodestringRequired
        • netPricestringRequired

          A decimal number written as a string, for example 119.00. The number of decimal places is kept exactly as given.

        • lineAmountstringRequired

          A decimal number written as a string, for example 119.00. The number of decimal places is kept exactly as given.

        • taxobjectRequired
          Show 6 child fields
          • categoryCodestringRequired
          • percentstring

            A decimal number written as a string, for example 119.00. The number of decimal places is kept exactly as given.

          • exemptionReasonstring

            Reason this line is exempt from VAT (BT-X-96, an EXTENDED term in FeRD's Factur-X sheet; EN 16931 has none on a line). CII writes it on the line; UBL only at document level.

          • taxAmountstring

            VAT amount of this line (BT-X-95, ZUGFeRD and Factur-X EXTENDED). CII ram:ApplicableTradeTax/ram:CalculatedAmount.

          • exemptionReasonCodestring
          • taxPointDateCodestring

            Tax point date code of this line (BT-X-589, ZUGFeRD and Factur-X EXTENDED), as BT-8: the model holds the UNTDID 2005 code, CII writes its 2475 pair.

        • notestring
        • invoicePeriodobject

          Invoice line period (BG-26): the same shape as the Invoicing period (BG-14), numbered as a line's terms.

          Show 2 child fields
          • startDatestring (date)

            A calendar date in ISO 8601 format: YYYY-MM-DD. It must be a real day: 2026-02-30 and 2025-02-29 are refused, 2024-02-29 is accepted.

          • endDatestring (date)

            A calendar date in ISO 8601 format: YYYY-MM-DD. It must be a real day: 2026-02-30 and 2025-02-29 are refused, 2024-02-29 is accepted.

        • orderLineReferencestring
        • itemDescriptionstring
        • sellersItemIdstring
        • commodityClassificationobject

          One item classification: the Item classification identifier (BT-158), its scheme (BT-158-1) and the scheme version (BT-158-2, listVersionID in both syntaxes).

          Show 4 child fields
          • codestring
          • listIdstring

            Item classification scheme identifier (BT-158-1).

          • listVersionIdstring

            Version of the classification scheme (BT-158-2).

          • classNamestring
        • additionalClassificationsarray of object

          Further values of the Item classification identifier (BT-158): the second code onwards, in document order. commodityClassification holds the first. Keep the sender's order.

          Show 4 child fields
          • codestring
          • listIdstring

            Item classification scheme identifier (BT-158-1).

          • listVersionIdstring

            Version of the classification scheme (BT-158-2).

          • classNamestring
        • allowanceChargesarray of object

          Allowances on invoice item level (BG-27) and Charges at invoice item level (BG-28). Same shape as at document level, but without a VAT category: the line already has one.

          Show 7 child fields
          • isChargebooleanRequired

            true for a charge, which adds to the amount. false for an allowance, which reduces it.

          • amountstringRequired

            A decimal number written as a string, for example 119.00. The number of decimal places is kept exactly as given.

          • baseAmountstring

            A decimal number written as a string, for example 119.00. The number of decimal places is kept exactly as given.

          • percentstring

            A decimal number written as a string, for example 119.00. The number of decimal places is kept exactly as given.

          • reasonstring
          • reasonCodestring
          • nonVatTaxCodestring

            The non-VAT tax this line charge is (BT-193, ZUGFeRD and Factur-X EXTENDED), UNTDID 5153. CII ram:ReasonCode with listID 5153.

        • grossPricestring

          Item gross price (BT-148): the unit price before the price discount. UBL writes it as the price allowance's BaseAmount; CII has its own GrossPriceProductTradePrice.

        • priceDiscountstring

          Item price discount (BT-147): a discount on the unit price. It is not one of the Allowances on invoice item level (BG-27): it changes the price, not the line total.

        • baseQuantitystring

          A decimal number written as a string, for example 119.00. The number of decimal places is kept exactly as given.

        • baseQuantityUnitCodestring
        • accountingCoststring
        • buyersItemIdstring
        • standardItemIdobject

          Item standard identifier (BT-157) under a registered scheme. Both syntaxes require the scheme together with the value.

          Show 2 child fields
          • schemestringRequired
          • valuestringRequired
        • objectIdentifierobject

          Invoice line object identifier (BT-128): what the line refers to on the buyer's side, such as a meter number, a contract or a vehicle.

          Show 2 child fields
          • idstringRequired
          • schemeCodestring
        • itemAttributesarray of object

          Properties of the item (BG-32): named characteristics of the item. UBL AdditionalItemProperty, CII ApplicableProductCharacteristic.

          Show 5 child fields
          • namestringRequired
          • valuestring
          • typeCodestring
          • measurestring

            Item attribute value as a measure (BT-X-12, ZUGFeRD and Factur-X EXTENDED), with its unit BT-X-12-0. ZUGFeRD EXTENDED takes it or the text value (BT-161), never both (BR-FXEXT-BR-54-2).

          • measureUnitCodestring
        • originCountrystring

          Item country of origin (BT-159), as an ISO 3166-1 alpha-2 code. This is the country the item comes from, not where it is delivered and not the seller's country. It is never derived from other fields.

        • subLinesarray of object

          Sub-invoice lines (BG-DEX-01): priced sub-positions under a line, nested to any depth, as in a German Leistungsverzeichnis. Each entry has the same shape as a line. An invoice that carries them is an XRechnung Extension invoice, and its files claim the Extension: sub-lines are accepted under XRechnung Extension and rejected under core XRechnung and CVD. In CII only ZUGFeRD EXTENDED has a form for them: each line side by side, a sub-line with its parent line's id (ParentLineID) and every line with its subtype, GROUP or DETAIL. Every other CII file of such an invoice is refused. The writer sends the amounts as given and computes nothing.

          Show 73 child fields
          • idstringRequired
          • itemNamestringRequired
          • quantitystring

            A decimal number written as a string, for example 119.00. The number of decimal places is kept exactly as given.

          • unitCodestring

            Invoiced quantity unit of measure code (BT-130), from UN/ECE Recommendations 20 and 21. Passed through unchanged; free text is never turned into a code here.

          • netPricestring

            A decimal number written as a string, for example 119.00. The number of decimal places is kept exactly as given.

          • lineAmountstringRequired

            A decimal number written as a string, for example 119.00. The number of decimal places is kept exactly as given.

          • taxobjectRequired
            Show 6 child fields
            • categoryCodestringRequired
            • percentstring

              A decimal number written as a string, for example 119.00. The number of decimal places is kept exactly as given.

            • exemptionReasonstring

              Reason this line is exempt from VAT (BT-X-96, an EXTENDED term in FeRD's Factur-X sheet; EN 16931 has none on a line). CII writes it on the line; UBL only at document level.

            • taxAmountstring

              VAT amount of this line (BT-X-95, ZUGFeRD and Factur-X EXTENDED). CII ram:ApplicableTradeTax/ram:CalculatedAmount.

            • exemptionReasonCodestring
            • taxPointDateCodestring

              Tax point date code of this line (BT-X-589, ZUGFeRD and Factur-X EXTENDED), as BT-8: the model holds the UNTDID 2005 code, CII writes its 2475 pair.

          • notestring
          • invoicePeriodobject

            Invoice line period (BG-26): the same shape as the Invoicing period (BG-14), numbered as a line's terms.

            Show 2 child fields
            • startDatestring (date)

              A calendar date in ISO 8601 format: YYYY-MM-DD. It must be a real day: 2026-02-30 and 2025-02-29 are refused, 2024-02-29 is accepted.

            • endDatestring (date)

              A calendar date in ISO 8601 format: YYYY-MM-DD. It must be a real day: 2026-02-30 and 2025-02-29 are refused, 2024-02-29 is accepted.

          • orderLineReferencestring
          • itemDescriptionstring
          • sellersItemIdstring
          • commodityClassificationobject

            One item classification: the Item classification identifier (BT-158), its scheme (BT-158-1) and the scheme version (BT-158-2, listVersionID in both syntaxes).

            Show 4 child fields
            • codestring
            • listIdstring

              Item classification scheme identifier (BT-158-1).

            • listVersionIdstring

              Version of the classification scheme (BT-158-2).

            • classNamestring
          • additionalClassificationsarray of object

            Further values of the Item classification identifier (BT-158): the second code onwards, in document order. commodityClassification holds the first. Keep the sender's order.

            Show 4 child fields
            • codestring
            • listIdstring

              Item classification scheme identifier (BT-158-1).

            • listVersionIdstring

              Version of the classification scheme (BT-158-2).

            • classNamestring
          • allowanceChargesarray of object

            Allowances on invoice item level (BG-27) and Charges at invoice item level (BG-28). Same shape as at document level, but without a VAT category: the line already has one.

            Show 7 child fields
            • isChargebooleanRequired

              true for a charge, which adds to the amount. false for an allowance, which reduces it.

            • amountstringRequired

              A decimal number written as a string, for example 119.00. The number of decimal places is kept exactly as given.

            • baseAmountstring

              A decimal number written as a string, for example 119.00. The number of decimal places is kept exactly as given.

            • percentstring

              A decimal number written as a string, for example 119.00. The number of decimal places is kept exactly as given.

            • reasonstring
            • reasonCodestring
            • nonVatTaxCodestring

              The non-VAT tax this line charge is (BT-193, ZUGFeRD and Factur-X EXTENDED), UNTDID 5153. CII ram:ReasonCode with listID 5153.

          • grossPricestring

            Item gross price (BT-148): the unit price before the price discount. UBL writes it as the price allowance's BaseAmount; CII has its own GrossPriceProductTradePrice.

          • priceDiscountstring

            Item price discount (BT-147): a discount on the unit price. It is not one of the Allowances on invoice item level (BG-27): it changes the price, not the line total.

          • baseQuantitystring

            A decimal number written as a string, for example 119.00. The number of decimal places is kept exactly as given.

          • baseQuantityUnitCodestring
          • accountingCoststring
          • buyersItemIdstring
          • standardItemIdobject

            Item standard identifier (BT-157) under a registered scheme. Both syntaxes require the scheme together with the value.

            Show 2 child fields
            • schemestringRequired
            • valuestringRequired
          • objectIdentifierobject

            Invoice line object identifier (BT-128): what the line refers to on the buyer's side, such as a meter number, a contract or a vehicle.

            Show 2 child fields
            • idstringRequired
            • schemeCodestring
          • itemAttributesarray of object

            Properties of the item (BG-32): named characteristics of the item. UBL AdditionalItemProperty, CII ApplicableProductCharacteristic.

            Show 5 child fields
            • namestringRequired
            • valuestring
            • typeCodestring
            • measurestring

              Item attribute value as a measure (BT-X-12, ZUGFeRD and Factur-X EXTENDED), with its unit BT-X-12-0. ZUGFeRD EXTENDED takes it or the text value (BT-161), never both (BR-FXEXT-BR-54-2).

            • measureUnitCodestring
          • originCountrystring

            Item country of origin (BT-159), as an ISO 3166-1 alpha-2 code. This is the country the item comes from, not where it is delivered and not the seller's country. It is never derived from other fields.

          • subLinesarray of object

            Sub-invoice lines (BG-DEX-01): priced sub-positions under a line, nested to any depth, as in a German Leistungsverzeichnis. Each entry has the same shape as a line. An invoice that carries them is an XRechnung Extension invoice, and its files claim the Extension: sub-lines are accepted under XRechnung Extension and rejected under core XRechnung and CVD. In CII only ZUGFeRD EXTENDED has a form for them: each line side by side, a sub-line with its parent line's id (ParentLineID) and every line with its subtype, GROUP or DETAIL. Every other CII file of such an invoice is refused. The writer sends the amounts as given and computes nothing.

            Show 73 child fields
            • idstringRequired
            • itemNamestringRequired
            • quantitystring

              A decimal number written as a string, for example 119.00. The number of decimal places is kept exactly as given.

            • unitCodestring

              Invoiced quantity unit of measure code (BT-130), from UN/ECE Recommendations 20 and 21. Passed through unchanged; free text is never turned into a code here.

            • netPricestring

              A decimal number written as a string, for example 119.00. The number of decimal places is kept exactly as given.

            • lineAmountstringRequired

              A decimal number written as a string, for example 119.00. The number of decimal places is kept exactly as given.

            • taxobjectRequired
              Show 6 child fields
              • categoryCodestringRequired
              • percentstring

                A decimal number written as a string, for example 119.00. The number of decimal places is kept exactly as given.

              • exemptionReasonstring

                Reason this line is exempt from VAT (BT-X-96, an EXTENDED term in FeRD's Factur-X sheet; EN 16931 has none on a line). CII writes it on the line; UBL only at document level.

              • taxAmountstring

                VAT amount of this line (BT-X-95, ZUGFeRD and Factur-X EXTENDED). CII ram:ApplicableTradeTax/ram:CalculatedAmount.

              • exemptionReasonCodestring
              • taxPointDateCodestring

                Tax point date code of this line (BT-X-589, ZUGFeRD and Factur-X EXTENDED), as BT-8: the model holds the UNTDID 2005 code, CII writes its 2475 pair.

            • notestring
            • invoicePeriodobject

              Invoice line period (BG-26): the same shape as the Invoicing period (BG-14), numbered as a line's terms.

              Show 2 child fields
              • startDatestring (date)

                A calendar date in ISO 8601 format: YYYY-MM-DD. It must be a real day: 2026-02-30 and 2025-02-29 are refused, 2024-02-29 is accepted.

              • endDatestring (date)

                A calendar date in ISO 8601 format: YYYY-MM-DD. It must be a real day: 2026-02-30 and 2025-02-29 are refused, 2024-02-29 is accepted.

            • orderLineReferencestring
            • itemDescriptionstring
            • sellersItemIdstring
            • commodityClassificationobject

              One item classification: the Item classification identifier (BT-158), its scheme (BT-158-1) and the scheme version (BT-158-2, listVersionID in both syntaxes).

              Show 4 child fields
              • codestring
              • listIdstring

                Item classification scheme identifier (BT-158-1).

              • listVersionIdstring

                Version of the classification scheme (BT-158-2).

              • classNamestring
            • additionalClassificationsarray of object

              Further values of the Item classification identifier (BT-158): the second code onwards, in document order. commodityClassification holds the first. Keep the sender's order.

              Show 4 child fields
              • codestring
              • listIdstring

                Item classification scheme identifier (BT-158-1).

              • listVersionIdstring

                Version of the classification scheme (BT-158-2).

              • classNamestring
            • allowanceChargesarray of object

              Allowances on invoice item level (BG-27) and Charges at invoice item level (BG-28). Same shape as at document level, but without a VAT category: the line already has one.

              Show 7 child fields
              • isChargebooleanRequired

                true for a charge, which adds to the amount. false for an allowance, which reduces it.

              • amountstringRequired

                A decimal number written as a string, for example 119.00. The number of decimal places is kept exactly as given.

              • baseAmountstring

                A decimal number written as a string, for example 119.00. The number of decimal places is kept exactly as given.

              • percentstring

                A decimal number written as a string, for example 119.00. The number of decimal places is kept exactly as given.

              • reasonstring
              • reasonCodestring
              • nonVatTaxCodestring

                The non-VAT tax this line charge is (BT-193, ZUGFeRD and Factur-X EXTENDED), UNTDID 5153. CII ram:ReasonCode with listID 5153.

            • grossPricestring

              Item gross price (BT-148): the unit price before the price discount. UBL writes it as the price allowance's BaseAmount; CII has its own GrossPriceProductTradePrice.

            • priceDiscountstring

              Item price discount (BT-147): a discount on the unit price. It is not one of the Allowances on invoice item level (BG-27): it changes the price, not the line total.

            • baseQuantitystring

              A decimal number written as a string, for example 119.00. The number of decimal places is kept exactly as given.

            • baseQuantityUnitCodestring
            • accountingCoststring
            • buyersItemIdstring
            • standardItemIdobject

              Item standard identifier (BT-157) under a registered scheme. Both syntaxes require the scheme together with the value.

              Show 2 child fields
              • schemestringRequired
              • valuestringRequired
            • objectIdentifierobject

              Invoice line object identifier (BT-128): what the line refers to on the buyer's side, such as a meter number, a contract or a vehicle.

              Show 2 child fields
              • idstringRequired
              • schemeCodestring
            • itemAttributesarray of object

              Properties of the item (BG-32): named characteristics of the item. UBL AdditionalItemProperty, CII ApplicableProductCharacteristic.

              Show 5 child fields
              • namestringRequired
              • valuestring
              • typeCodestring
              • measurestring

                Item attribute value as a measure (BT-X-12, ZUGFeRD and Factur-X EXTENDED), with its unit BT-X-12-0. ZUGFeRD EXTENDED takes it or the text value (BT-161), never both (BR-FXEXT-BR-54-2).

              • measureUnitCodestring
            • originCountrystring

              Item country of origin (BT-159), as an ISO 3166-1 alpha-2 code. This is the country the item comes from, not where it is delivered and not the seller's country. It is never derived from other fields.

            • subLinesarray of object

              Sub-invoice lines (BG-DEX-01): priced sub-positions under a line, nested to any depth, as in a German Leistungsverzeichnis. Each entry has the same shape as a line. An invoice that carries them is an XRechnung Extension invoice, and its files claim the Extension: sub-lines are accepted under XRechnung Extension and rejected under core XRechnung and CVD. In CII only ZUGFeRD EXTENDED has a form for them: each line side by side, a sub-line with its parent line's id (ParentLineID) and every line with its subtype, GROUP or DETAIL. Every other CII file of such an invoice is refused. The writer sends the amounts as given and computes nothing.

              Show 73 child fields
              • idstringRequired
              • itemNamestringRequired
              • quantitystring

                A decimal number written as a string, for example 119.00. The number of decimal places is kept exactly as given.

              • unitCodestring

                Invoiced quantity unit of measure code (BT-130), from UN/ECE Recommendations 20 and 21. Passed through unchanged; free text is never turned into a code here.

              • netPricestring

                A decimal number written as a string, for example 119.00. The number of decimal places is kept exactly as given.

              • lineAmountstringRequired

                A decimal number written as a string, for example 119.00. The number of decimal places is kept exactly as given.

              • taxobjectRequired
              • notestring
              • invoicePeriodobject

                Invoice line period (BG-26): the same shape as the Invoicing period (BG-14), numbered as a line's terms.

              • orderLineReferencestring
              • itemDescriptionstring
              • sellersItemIdstring
              • commodityClassificationobject

                One item classification: the Item classification identifier (BT-158), its scheme (BT-158-1) and the scheme version (BT-158-2, listVersionID in both syntaxes).

              • additionalClassificationsarray of object

                Further values of the Item classification identifier (BT-158): the second code onwards, in document order. commodityClassification holds the first. Keep the sender's order.

              • allowanceChargesarray of object

                Allowances on invoice item level (BG-27) and Charges at invoice item level (BG-28). Same shape as at document level, but without a VAT category: the line already has one.

              • grossPricestring

                Item gross price (BT-148): the unit price before the price discount. UBL writes it as the price allowance's BaseAmount; CII has its own GrossPriceProductTradePrice.

              • priceDiscountstring

                Item price discount (BT-147): a discount on the unit price. It is not one of the Allowances on invoice item level (BG-27): it changes the price, not the line total.

              • baseQuantitystring

                A decimal number written as a string, for example 119.00. The number of decimal places is kept exactly as given.

              • baseQuantityUnitCodestring
              • accountingCoststring
              • buyersItemIdstring
              • standardItemIdobject

                Item standard identifier (BT-157) under a registered scheme. Both syntaxes require the scheme together with the value.

              • objectIdentifierobject

                Invoice line object identifier (BT-128): what the line refers to on the buyer's side, such as a meter number, a contract or a vehicle.

              • itemAttributesarray of object

                Properties of the item (BG-32): named characteristics of the item. UBL AdditionalItemProperty, CII ApplicableProductCharacteristic.

              • originCountrystring

                Item country of origin (BT-159), as an ISO 3166-1 alpha-2 code. This is the country the item comes from, not where it is delivered and not the seller's country. It is never derived from other fields.

              • subLinesarray of object

                Sub-invoice lines (BG-DEX-01): priced sub-positions under a line, nested to any depth, as in a German Leistungsverzeichnis. Each entry has the same shape as a line. An invoice that carries them is an XRechnung Extension invoice, and its files claim the Extension: sub-lines are accepted under XRechnung Extension and rejected under core XRechnung and CVD. In CII only ZUGFeRD EXTENDED has a form for them: each line side by side, a sub-line with its parent line's id (ParentLineID) and every line with its subtype, GROUP or DETAIL. Every other CII file of such an invoice is refused. The writer sends the amounts as given and computes nothing.

              • statusCodestring

                Type of the line (BT-X-7, ZUGFeRD and Factur-X EXTENDED): whether its amounts count or it informs only, UNTDID 1229. CII ram:LineStatusCode.

              • noteContentCodestring

                A code classifying the line note (BT-X-9, ZUGFeRD and Factur-X EXTENDED). CII ram:IncludedNote/ram:ContentCode.

              • noteSubjectCodestring

                Subject code of the line note (BT-X-10, ZUGFeRD and Factur-X EXTENDED), UNTDID 4451. CII ram:IncludedNote/ram:SubjectCode.

              • productIdstring

                Item identifier without a scheme (BT-X-305, ZUGFeRD and Factur-X EXTENDED). CII ram:SpecifiedTradeProduct/ram:ID.

              • industryAssignedIdstring
              • modelIdstring
              • batchIdstring
              • brandNamestring
              • modelNamestring
              • productInstancesarray of object

                Instances of the item (BG-X-84, ZUGFeRD and Factur-X EXTENDED): a batch and a serial number each. CII ram:IndividualTradeProductInstance.

              • manufacturerobject

                Manufacturer of a line's item (BG-X-93, ZUGFeRD and Factur-X EXTENDED). CII ram:SpecifiedTradeProduct/ram:ManufacturerTradeParty. The one trade party shape.

              • includedItemsarray of object

                Items included in this line's item (BG-X-1, ZUGFeRD and Factur-X EXTENDED), such as the parts of a set. CII ram:IncludedReferencedProduct.

              • deliveryTermsobject

                Delivery terms of this line (BG-X-87, ZUGFeRD and Factur-X EXTENDED). CII ram:SpecifiedLineTradeAgreement/ram:ApplicableTradeDeliveryTerms.

              • salesOrderReferenceobject

                The seller's order this line belongs to (BG-X-81, ZUGFeRD and Factur-X EXTENDED). CII ram:SellerOrderReferencedDocument.

              • orderReferenceIdstring

                The buyer's order this line belongs to (BT-X-21, ZUGFeRD and Factur-X EXTENDED); its line is BT-132. CII ram:BuyerOrderReferencedDocument/ram:IssuerAssignedID.

              • orderReferenceIssueDatestring (date)

                A calendar date in ISO 8601 format: YYYY-MM-DD. It must be a real day: 2026-02-30 and 2025-02-29 are refused, 2024-02-29 is accepted.

              • quotationReferenceobject

                The quotation this line belongs to (BG-X-47, ZUGFeRD and Factur-X EXTENDED). CII ram:QuotationReferencedDocument.

              • contractReferenceobject

                The contract this line belongs to (BG-X-2, ZUGFeRD and Factur-X EXTENDED). CII ram:ContractReferencedDocument.

              • additionalDocumentsarray of object

                Documents this line refers to (BG-X-3, ZUGFeRD and Factur-X EXTENDED). CII ram:SpecifiedLineTradeAgreement/ram:AdditionalReferencedDocument.

              • priceDiscountPercentstring

                A decimal number written as a string, for example 119.00. The number of decimal places is kept exactly as given.

              • priceDiscountBaseAmountstring

                A decimal number written as a string, for example 119.00. The number of decimal places is kept exactly as given.

              • priceDiscountReasonCodestring
              • priceDiscountReasonstring
              • priceChargeobject

                A charge on the item gross price (BT-X-300 to BT-X-303, ZUGFeRD and Factur-X EXTENDED). CII ram:GrossPriceProductTradePrice/ram:AppliedTradeAllowanceCharge with the charge indicator true.

              • netPriceIncludedTaxobject

                The VAT the net price includes, for a consumer invoice (BG-X-4, ZUGFeRD and Factur-X EXTENDED). CII ram:NetPriceProductTradePrice/ram:IncludedTradeTax.

              • itemSellerobject

                Seller on line level (BG-X-90, ZUGFeRD and Factur-X EXTENDED): the party that sells this line's item, when not the seller of the invoice. CII ram:SpecifiedLineTradeAgreement/ram:ItemSellerTradeParty. The one trade party shape.

              • ultimateCustomerOrderReferencesarray of object

                The final customer's orders this line belongs to (BG-X-5, ZUGFeRD and Factur-X EXTENDED). CII ram:UltimateCustomerOrderReferencedDocument.

              • chargeFreeQuantitystring

                A decimal number written as a string, for example 119.00. The number of decimal places is kept exactly as given.

              • chargeFreeQuantityUnitCodestring
              • packageQuantitystring

                A decimal number written as a string, for example 119.00. The number of decimal places is kept exactly as given.

              • packageQuantityUnitCodestring
              • perPackageUnitQuantitystring

                A decimal number written as a string, for example 119.00. The number of decimal places is kept exactly as given.

              • perPackageUnitQuantityUnitCodestring
              • shipToobject

                Ship-to party of a line (BG-X-7, ZUGFeRD and Factur-X EXTENDED): where this line's goods go, when not the deliver-to party of the invoice. CII ram:SpecifiedLineTradeDelivery/ram:ShipToTradeParty; EN 16931 and UBL have no element for it. The one trade party shape.

              • ultimateShipToobject

                Ultimate ship-to party of a line (BG-X-10, ZUGFeRD and Factur-X EXTENDED). CII ram:SpecifiedLineTradeDelivery/ram:UltimateShipToTradeParty. The one trade party shape.

              • deliveryDatestring (date)

                Delivery date of this line (BT-X-85, ZUGFeRD and Factur-X EXTENDED). CII ram:ActualDeliverySupplyChainEvent/ram:OccurrenceDateTime.

              • despatchAdviceReferenceobject

                The despatch advice of this line (BG-X-13, ZUGFeRD and Factur-X EXTENDED). CII ram:DespatchAdviceReferencedDocument.

              • receiptAdviceReferenceobject

                The receiving advice of this line (BG-X-82, ZUGFeRD and Factur-X EXTENDED). CII ram:ReceivingAdviceReferencedDocument.

              • deliveryNoteReferenceobject

                The delivery note of this line (BG-X-83, ZUGFeRD and Factur-X EXTENDED). CII ram:DeliveryNoteReferencedDocument.

              • chargeTotalAmountstring

                A decimal number written as a string, for example 119.00. The number of decimal places is kept exactly as given.

              • allowanceTotalAmountstring

                A decimal number written as a string, for example 119.00. The number of decimal places is kept exactly as given.

              • taxTotalAmountstring

                A decimal number written as a string, for example 119.00. The number of decimal places is kept exactly as given.

              • taxTotalAmountInAccountingCurrencystring

                The line tax amount in the tax currency (BT-X-590, ZUGFeRD and Factur-X EXTENDED); its currency is the invoice's tax currency (BT-6). CII a second ram:TaxTotalAmount.

              • grandTotalAmountstring

                A decimal number written as a string, for example 119.00. The number of decimal places is kept exactly as given.

              • allowanceChargeTotalAmountstring

                A decimal number written as a string, for example 119.00. The number of decimal places is kept exactly as given.

              • precedingInvoiceobject

                The preceding invoice this line refers to (BG-X-48, ZUGFeRD and Factur-X EXTENDED). CII ram:SpecifiedLineTradeSettlement/ram:InvoiceReferencedDocument.

              • accountingAccountTypeCodestring

                Type of the line accounting account (BT-X-99, ZUGFeRD and Factur-X EXTENDED). CII ram:ReceivableSpecifiedTradeAccountingAccount/ram:TypeCode.

            • statusCodestring

              Type of the line (BT-X-7, ZUGFeRD and Factur-X EXTENDED): whether its amounts count or it informs only, UNTDID 1229. CII ram:LineStatusCode.

            • noteContentCodestring

              A code classifying the line note (BT-X-9, ZUGFeRD and Factur-X EXTENDED). CII ram:IncludedNote/ram:ContentCode.

            • noteSubjectCodestring

              Subject code of the line note (BT-X-10, ZUGFeRD and Factur-X EXTENDED), UNTDID 4451. CII ram:IncludedNote/ram:SubjectCode.

            • productIdstring

              Item identifier without a scheme (BT-X-305, ZUGFeRD and Factur-X EXTENDED). CII ram:SpecifiedTradeProduct/ram:ID.

            • industryAssignedIdstring
            • modelIdstring
            • batchIdstring
            • brandNamestring
            • modelNamestring
            • productInstancesarray of object

              Instances of the item (BG-X-84, ZUGFeRD and Factur-X EXTENDED): a batch and a serial number each. CII ram:IndividualTradeProductInstance.

              Show 2 child fields
              • batchIdstring
              • serialIdstring
            • manufacturerobject

              Manufacturer of a line's item (BG-X-93, ZUGFeRD and Factur-X EXTENDED). CII ram:SpecifiedTradeProduct/ram:ManufacturerTradeParty. The one trade party shape.

              Show 13 child fields
              • legalNamestring
              • tradingNamestring
              • identifierSchemestring

                Scheme of the identifier (BT-X-594-0): the register it was issued under. CII ram:GlobalID/@schemeID.

              • identifierstring
              • registrationIdSchemestring

                Scheme of the legal registration identifier (BT-X-598-0).

              • registrationIdstring
              • legalFormstring

                Additional legal information (BT-X-597). CII ram:Description.

              • vatIdstring
              • taxRegistrationIdstring

                Local tax registration identifier (BT-X-615): CII ram:SpecifiedTaxRegistration/ram:ID under scheme FC.

              • endpointIdobject
              • roleCodestring

                A code qualifying the role of this party (BT-X-596, FeRD's sheet). CII ram:RoleCode.

              • addressobject
              • contactobject
            • includedItemsarray of object

              Items included in this line's item (BG-X-1, ZUGFeRD and Factur-X EXTENDED), such as the parts of a set. CII ram:IncludedReferencedProduct.

              Show 10 child fields
              • idstring
              • globalIdSchemestring
              • globalIdstring
              • sellersItemIdstring
              • buyersItemIdstring
              • industryAssignedIdstring
              • namestringRequired
              • descriptionstring
              • quantitystring

                A decimal number written as a string, for example 119.00. The number of decimal places is kept exactly as given.

              • unitCodestring
            • deliveryTermsobject

              Delivery terms of this line (BG-X-87, ZUGFeRD and Factur-X EXTENDED). CII ram:SpecifiedLineTradeAgreement/ram:ApplicableTradeDeliveryTerms.

              Show 2 child fields
              • typeCodestring

                Delivery terms of this line (BT-X-562, ZUGFeRD and Factur-X EXTENDED), UNTDID 4053 or Incoterms. FeRD's sheet prints the header path for it; it sits in the line's BG-X-87, so CII ram:SpecifiedLineTradeAgreement/ram:ApplicableTradeDeliveryTerms/ram:DeliveryTypeCode.

              • locationobject
            • salesOrderReferenceobject

              The seller's order this line belongs to (BG-X-81, ZUGFeRD and Factur-X EXTENDED). CII ram:SellerOrderReferencedDocument.

              Show 3 child fields
              • idstring
              • lineIdstring
              • issueDatestring (date)

                A calendar date in ISO 8601 format: YYYY-MM-DD. It must be a real day: 2026-02-30 and 2025-02-29 are refused, 2024-02-29 is accepted.

            • orderReferenceIdstring

              The buyer's order this line belongs to (BT-X-21, ZUGFeRD and Factur-X EXTENDED); its line is BT-132. CII ram:BuyerOrderReferencedDocument/ram:IssuerAssignedID.

            • orderReferenceIssueDatestring (date)

              A calendar date in ISO 8601 format: YYYY-MM-DD. It must be a real day: 2026-02-30 and 2025-02-29 are refused, 2024-02-29 is accepted.

            • quotationReferenceobject

              The quotation this line belongs to (BG-X-47, ZUGFeRD and Factur-X EXTENDED). CII ram:QuotationReferencedDocument.

              Show 3 child fields
              • idstring
              • lineIdstring
              • issueDatestring (date)

                A calendar date in ISO 8601 format: YYYY-MM-DD. It must be a real day: 2026-02-30 and 2025-02-29 are refused, 2024-02-29 is accepted.

            • contractReferenceobject

              The contract this line belongs to (BG-X-2, ZUGFeRD and Factur-X EXTENDED). CII ram:ContractReferencedDocument.

              Show 3 child fields
              • idstring
              • lineIdstring
              • issueDatestring (date)

                A calendar date in ISO 8601 format: YYYY-MM-DD. It must be a real day: 2026-02-30 and 2025-02-29 are refused, 2024-02-29 is accepted.

            • additionalDocumentsarray of object

              Documents this line refers to (BG-X-3, ZUGFeRD and Factur-X EXTENDED). CII ram:SpecifiedLineTradeAgreement/ram:AdditionalReferencedDocument.

              Show 8 child fields
              • idstringRequired
              • uristring
              • lineIdstring
              • typeCodestringRequired
              • descriptionstring
              • attachmentobject
              • referenceTypeCodestring
              • issueDatestring (date)

                A calendar date in ISO 8601 format: YYYY-MM-DD. It must be a real day: 2026-02-30 and 2025-02-29 are refused, 2024-02-29 is accepted.

            • priceDiscountPercentstring

              A decimal number written as a string, for example 119.00. The number of decimal places is kept exactly as given.

            • priceDiscountBaseAmountstring

              A decimal number written as a string, for example 119.00. The number of decimal places is kept exactly as given.

            • priceDiscountReasonCodestring
            • priceDiscountReasonstring
            • priceChargeobject

              A charge on the item gross price (BT-X-300 to BT-X-303, ZUGFeRD and Factur-X EXTENDED). CII ram:GrossPriceProductTradePrice/ram:AppliedTradeAllowanceCharge with the charge indicator true.

              Show 6 child fields
              • percentstring

                A decimal number written as a string, for example 119.00. The number of decimal places is kept exactly as given.

              • baseAmountstring

                A decimal number written as a string, for example 119.00. The number of decimal places is kept exactly as given.

              • amountstringRequired

                A decimal number written as a string, for example 119.00. The number of decimal places is kept exactly as given.

              • reasonCodestring
              • nonVatTaxCodestring

                The non-VAT tax this charge is (BT-X-616, ZUGFeRD and Factur-X EXTENDED), UNTDID 5153. CII ram:ReasonCode with listID 5153.

              • reasonstring
            • netPriceIncludedTaxobject

              The VAT the net price includes, for a consumer invoice (BG-X-4, ZUGFeRD and Factur-X EXTENDED). CII ram:NetPriceProductTradePrice/ram:IncludedTradeTax.

              Show 5 child fields
              • taxAmountstringRequired

                A decimal number written as a string, for example 119.00. The number of decimal places is kept exactly as given.

              • exemptionReasonstring
              • categoryCodestringRequired
              • exemptionReasonCodestring
              • percentstringRequired

                A decimal number written as a string, for example 119.00. The number of decimal places is kept exactly as given.

            • itemSellerobject

              Seller on line level (BG-X-90, ZUGFeRD and Factur-X EXTENDED): the party that sells this line's item, when not the seller of the invoice. CII ram:SpecifiedLineTradeAgreement/ram:ItemSellerTradeParty. The one trade party shape.

              Show 13 child fields
              • legalNamestring
              • tradingNamestring
              • identifierSchemestring

                Scheme of the identifier (BT-X-568-0): the register it was issued under. CII ram:GlobalID/@schemeID.

              • identifierstring
              • registrationIdSchemestring

                Scheme of the legal registration identifier (BT-X-572-0).

              • registrationIdstring
              • legalFormstring

                Additional legal information (BT-X-571). CII ram:Description.

              • vatIdstring
              • taxRegistrationIdstring

                Local tax registration identifier (BT-X-588): CII ram:SpecifiedTaxRegistration/ram:ID under scheme FC.

              • endpointIdobject
              • roleCodestring

                A code qualifying the role of this party (BT-X-570, FeRD's sheet). CII ram:RoleCode.

              • addressobject
              • contactobject
            • ultimateCustomerOrderReferencesarray of object

              The final customer's orders this line belongs to (BG-X-5, ZUGFeRD and Factur-X EXTENDED). CII ram:UltimateCustomerOrderReferencedDocument.

              Show 3 child fields
              • idstring
              • lineIdstring
              • issueDatestring (date)

                A calendar date in ISO 8601 format: YYYY-MM-DD. It must be a real day: 2026-02-30 and 2025-02-29 are refused, 2024-02-29 is accepted.

            • chargeFreeQuantitystring

              A decimal number written as a string, for example 119.00. The number of decimal places is kept exactly as given.

            • chargeFreeQuantityUnitCodestring
            • packageQuantitystring

              A decimal number written as a string, for example 119.00. The number of decimal places is kept exactly as given.

            • packageQuantityUnitCodestring
            • perPackageUnitQuantitystring

              A decimal number written as a string, for example 119.00. The number of decimal places is kept exactly as given.

            • perPackageUnitQuantityUnitCodestring
            • shipToobject

              Ship-to party of a line (BG-X-7, ZUGFeRD and Factur-X EXTENDED): where this line's goods go, when not the deliver-to party of the invoice. CII ram:SpecifiedLineTradeDelivery/ram:ShipToTradeParty; EN 16931 and UBL have no element for it. The one trade party shape.

              Show 11 child fields
              • legalNamestring
              • tradingNamestring
              • identifierSchemestring

                Scheme of the identifier (BT-186-1): the register it was issued under. CII ram:GlobalID/@schemeID.

              • identifierstring
              • registrationIdSchemestring

                Scheme of the legal registration identifier (BT-X-51-0).

              • registrationIdstring
              • vatIdstring
              • endpointIdobject
              • roleCodestring

                A code qualifying the role of this party (BT-X-541, FeRD's sheet). CII ram:RoleCode.

              • addressobject
              • contactobject
            • ultimateShipToobject

              Ultimate ship-to party of a line (BG-X-10, ZUGFeRD and Factur-X EXTENDED). CII ram:SpecifiedLineTradeDelivery/ram:UltimateShipToTradeParty. The one trade party shape.

              Show 11 child fields
              • legalNamestring
              • tradingNamestring
              • identifierSchemestring

                Scheme of the identifier (BT-X-68-0): the register it was issued under. CII ram:GlobalID/@schemeID.

              • identifierstring
              • registrationIdSchemestring

                Scheme of the legal registration identifier (BT-X-70-0).

              • registrationIdstring
              • vatIdstring
              • endpointIdobject
              • roleCodestring

                A code qualifying the role of this party (BT-X-542, FeRD's sheet). CII ram:RoleCode.

              • addressobject
              • contactobject
            • deliveryDatestring (date)

              Delivery date of this line (BT-X-85, ZUGFeRD and Factur-X EXTENDED). CII ram:ActualDeliverySupplyChainEvent/ram:OccurrenceDateTime.

            • despatchAdviceReferenceobject

              The despatch advice of this line (BG-X-13, ZUGFeRD and Factur-X EXTENDED). CII ram:DespatchAdviceReferencedDocument.

              Show 3 child fields
              • idstring
              • lineIdstring
              • issueDatestring (date)

                A calendar date in ISO 8601 format: YYYY-MM-DD. It must be a real day: 2026-02-30 and 2025-02-29 are refused, 2024-02-29 is accepted.

            • receiptAdviceReferenceobject

              The receiving advice of this line (BG-X-82, ZUGFeRD and Factur-X EXTENDED). CII ram:ReceivingAdviceReferencedDocument.

              Show 3 child fields
              • idstring
              • lineIdstring
              • issueDatestring (date)

                A calendar date in ISO 8601 format: YYYY-MM-DD. It must be a real day: 2026-02-30 and 2025-02-29 are refused, 2024-02-29 is accepted.

            • deliveryNoteReferenceobject

              The delivery note of this line (BG-X-83, ZUGFeRD and Factur-X EXTENDED). CII ram:DeliveryNoteReferencedDocument.

              Show 3 child fields
              • idstring
              • lineIdstring
              • issueDatestring (date)

                A calendar date in ISO 8601 format: YYYY-MM-DD. It must be a real day: 2026-02-30 and 2025-02-29 are refused, 2024-02-29 is accepted.

            • chargeTotalAmountstring

              A decimal number written as a string, for example 119.00. The number of decimal places is kept exactly as given.

            • allowanceTotalAmountstring

              A decimal number written as a string, for example 119.00. The number of decimal places is kept exactly as given.

            • taxTotalAmountstring

              A decimal number written as a string, for example 119.00. The number of decimal places is kept exactly as given.

            • taxTotalAmountInAccountingCurrencystring

              The line tax amount in the tax currency (BT-X-590, ZUGFeRD and Factur-X EXTENDED); its currency is the invoice's tax currency (BT-6). CII a second ram:TaxTotalAmount.

            • grandTotalAmountstring

              A decimal number written as a string, for example 119.00. The number of decimal places is kept exactly as given.

            • allowanceChargeTotalAmountstring

              A decimal number written as a string, for example 119.00. The number of decimal places is kept exactly as given.

            • precedingInvoiceobject

              The preceding invoice this line refers to (BG-X-48, ZUGFeRD and Factur-X EXTENDED). CII ram:SpecifiedLineTradeSettlement/ram:InvoiceReferencedDocument.

              Show 4 child fields
              • idstringRequired
              • lineIdstring
              • typeCodestring
              • issueDatestring (date)

                A calendar date in ISO 8601 format: YYYY-MM-DD. It must be a real day: 2026-02-30 and 2025-02-29 are refused, 2024-02-29 is accepted.

            • accountingAccountTypeCodestring

              Type of the line accounting account (BT-X-99, ZUGFeRD and Factur-X EXTENDED). CII ram:ReceivableSpecifiedTradeAccountingAccount/ram:TypeCode.

          • statusCodestring

            Type of the line (BT-X-7, ZUGFeRD and Factur-X EXTENDED): whether its amounts count or it informs only, UNTDID 1229. CII ram:LineStatusCode.

          • noteContentCodestring

            A code classifying the line note (BT-X-9, ZUGFeRD and Factur-X EXTENDED). CII ram:IncludedNote/ram:ContentCode.

          • noteSubjectCodestring

            Subject code of the line note (BT-X-10, ZUGFeRD and Factur-X EXTENDED), UNTDID 4451. CII ram:IncludedNote/ram:SubjectCode.

          • productIdstring

            Item identifier without a scheme (BT-X-305, ZUGFeRD and Factur-X EXTENDED). CII ram:SpecifiedTradeProduct/ram:ID.

          • industryAssignedIdstring
          • modelIdstring
          • batchIdstring
          • brandNamestring
          • modelNamestring
          • productInstancesarray of object

            Instances of the item (BG-X-84, ZUGFeRD and Factur-X EXTENDED): a batch and a serial number each. CII ram:IndividualTradeProductInstance.

            Show 2 child fields
            • batchIdstring
            • serialIdstring
          • manufacturerobject

            Manufacturer of a line's item (BG-X-93, ZUGFeRD and Factur-X EXTENDED). CII ram:SpecifiedTradeProduct/ram:ManufacturerTradeParty. The one trade party shape.

            Show 13 child fields
            • legalNamestring
            • tradingNamestring
            • identifierSchemestring

              Scheme of the identifier (BT-X-594-0): the register it was issued under. CII ram:GlobalID/@schemeID.

            • identifierstring
            • registrationIdSchemestring

              Scheme of the legal registration identifier (BT-X-598-0).

            • registrationIdstring
            • legalFormstring

              Additional legal information (BT-X-597). CII ram:Description.

            • vatIdstring
            • taxRegistrationIdstring

              Local tax registration identifier (BT-X-615): CII ram:SpecifiedTaxRegistration/ram:ID under scheme FC.

            • endpointIdobject
              Show 2 child fields
              • schemestringRequired
              • valuestringRequired
            • roleCodestring

              A code qualifying the role of this party (BT-X-596, FeRD's sheet). CII ram:RoleCode.

            • addressobject
              Show 7 child fields
              • streetstring
              • addressLine2string
              • addressLine3string
              • citystring
              • postalZonestring
              • countrySubdivisionstring
              • countrystringRequired
            • contactobject
              Show 6 child fields
              • namestring
              • departmentstring
              • telephonestring
              • faxstring
              • emailstring
              • typeCodestring
          • includedItemsarray of object

            Items included in this line's item (BG-X-1, ZUGFeRD and Factur-X EXTENDED), such as the parts of a set. CII ram:IncludedReferencedProduct.

            Show 10 child fields
            • idstring
            • globalIdSchemestring
            • globalIdstring
            • sellersItemIdstring
            • buyersItemIdstring
            • industryAssignedIdstring
            • namestringRequired
            • descriptionstring
            • quantitystring

              A decimal number written as a string, for example 119.00. The number of decimal places is kept exactly as given.

            • unitCodestring
          • deliveryTermsobject

            Delivery terms of this line (BG-X-87, ZUGFeRD and Factur-X EXTENDED). CII ram:SpecifiedLineTradeAgreement/ram:ApplicableTradeDeliveryTerms.

            Show 2 child fields
            • typeCodestring

              Delivery terms of this line (BT-X-562, ZUGFeRD and Factur-X EXTENDED), UNTDID 4053 or Incoterms. FeRD's sheet prints the header path for it; it sits in the line's BG-X-87, so CII ram:SpecifiedLineTradeAgreement/ram:ApplicableTradeDeliveryTerms/ram:DeliveryTypeCode.

            • locationobject
              Show 2 child fields
              • countrystring
              • namestring
          • salesOrderReferenceobject

            The seller's order this line belongs to (BG-X-81, ZUGFeRD and Factur-X EXTENDED). CII ram:SellerOrderReferencedDocument.

            Show 3 child fields
            • idstring
            • lineIdstring
            • issueDatestring (date)

              A calendar date in ISO 8601 format: YYYY-MM-DD. It must be a real day: 2026-02-30 and 2025-02-29 are refused, 2024-02-29 is accepted.

          • orderReferenceIdstring

            The buyer's order this line belongs to (BT-X-21, ZUGFeRD and Factur-X EXTENDED); its line is BT-132. CII ram:BuyerOrderReferencedDocument/ram:IssuerAssignedID.

          • orderReferenceIssueDatestring (date)

            A calendar date in ISO 8601 format: YYYY-MM-DD. It must be a real day: 2026-02-30 and 2025-02-29 are refused, 2024-02-29 is accepted.

          • quotationReferenceobject

            The quotation this line belongs to (BG-X-47, ZUGFeRD and Factur-X EXTENDED). CII ram:QuotationReferencedDocument.

            Show 3 child fields
            • idstring
            • lineIdstring
            • issueDatestring (date)

              A calendar date in ISO 8601 format: YYYY-MM-DD. It must be a real day: 2026-02-30 and 2025-02-29 are refused, 2024-02-29 is accepted.

          • contractReferenceobject

            The contract this line belongs to (BG-X-2, ZUGFeRD and Factur-X EXTENDED). CII ram:ContractReferencedDocument.

            Show 3 child fields
            • idstring
            • lineIdstring
            • issueDatestring (date)

              A calendar date in ISO 8601 format: YYYY-MM-DD. It must be a real day: 2026-02-30 and 2025-02-29 are refused, 2024-02-29 is accepted.

          • additionalDocumentsarray of object

            Documents this line refers to (BG-X-3, ZUGFeRD and Factur-X EXTENDED). CII ram:SpecifiedLineTradeAgreement/ram:AdditionalReferencedDocument.

            Show 8 child fields
            • idstringRequired
            • uristring
            • lineIdstring
            • typeCodestringRequired
            • descriptionstring
            • attachmentobject
              Show 3 child fields
              • contentstringRequired
              • mimeCodestringRequired
              • filenamestringRequired
            • referenceTypeCodestring
            • issueDatestring (date)

              A calendar date in ISO 8601 format: YYYY-MM-DD. It must be a real day: 2026-02-30 and 2025-02-29 are refused, 2024-02-29 is accepted.

          • priceDiscountPercentstring

            A decimal number written as a string, for example 119.00. The number of decimal places is kept exactly as given.

          • priceDiscountBaseAmountstring

            A decimal number written as a string, for example 119.00. The number of decimal places is kept exactly as given.

          • priceDiscountReasonCodestring
          • priceDiscountReasonstring
          • priceChargeobject

            A charge on the item gross price (BT-X-300 to BT-X-303, ZUGFeRD and Factur-X EXTENDED). CII ram:GrossPriceProductTradePrice/ram:AppliedTradeAllowanceCharge with the charge indicator true.

            Show 6 child fields
            • percentstring

              A decimal number written as a string, for example 119.00. The number of decimal places is kept exactly as given.

            • baseAmountstring

              A decimal number written as a string, for example 119.00. The number of decimal places is kept exactly as given.

            • amountstringRequired

              A decimal number written as a string, for example 119.00. The number of decimal places is kept exactly as given.

            • reasonCodestring
            • nonVatTaxCodestring

              The non-VAT tax this charge is (BT-X-616, ZUGFeRD and Factur-X EXTENDED), UNTDID 5153. CII ram:ReasonCode with listID 5153.

            • reasonstring
          • netPriceIncludedTaxobject

            The VAT the net price includes, for a consumer invoice (BG-X-4, ZUGFeRD and Factur-X EXTENDED). CII ram:NetPriceProductTradePrice/ram:IncludedTradeTax.

            Show 5 child fields
            • taxAmountstringRequired

              A decimal number written as a string, for example 119.00. The number of decimal places is kept exactly as given.

            • exemptionReasonstring
            • categoryCodestringRequired
            • exemptionReasonCodestring
            • percentstringRequired

              A decimal number written as a string, for example 119.00. The number of decimal places is kept exactly as given.

          • itemSellerobject

            Seller on line level (BG-X-90, ZUGFeRD and Factur-X EXTENDED): the party that sells this line's item, when not the seller of the invoice. CII ram:SpecifiedLineTradeAgreement/ram:ItemSellerTradeParty. The one trade party shape.

            Show 13 child fields
            • legalNamestring
            • tradingNamestring
            • identifierSchemestring

              Scheme of the identifier (BT-X-568-0): the register it was issued under. CII ram:GlobalID/@schemeID.

            • identifierstring
            • registrationIdSchemestring

              Scheme of the legal registration identifier (BT-X-572-0).

            • registrationIdstring
            • legalFormstring

              Additional legal information (BT-X-571). CII ram:Description.

            • vatIdstring
            • taxRegistrationIdstring

              Local tax registration identifier (BT-X-588): CII ram:SpecifiedTaxRegistration/ram:ID under scheme FC.

            • endpointIdobject
              Show 2 child fields
              • schemestringRequired
              • valuestringRequired
            • roleCodestring

              A code qualifying the role of this party (BT-X-570, FeRD's sheet). CII ram:RoleCode.

            • addressobject
              Show 7 child fields
              • streetstring
              • addressLine2string
              • addressLine3string
              • citystring
              • postalZonestring
              • countrySubdivisionstring
              • countrystringRequired
            • contactobject
              Show 6 child fields
              • namestring
              • departmentstring
              • telephonestring
              • faxstring
              • emailstring
              • typeCodestring
          • ultimateCustomerOrderReferencesarray of object

            The final customer's orders this line belongs to (BG-X-5, ZUGFeRD and Factur-X EXTENDED). CII ram:UltimateCustomerOrderReferencedDocument.

            Show 3 child fields
            • idstring
            • lineIdstring
            • issueDatestring (date)

              A calendar date in ISO 8601 format: YYYY-MM-DD. It must be a real day: 2026-02-30 and 2025-02-29 are refused, 2024-02-29 is accepted.

          • chargeFreeQuantitystring

            A decimal number written as a string, for example 119.00. The number of decimal places is kept exactly as given.

          • chargeFreeQuantityUnitCodestring
          • packageQuantitystring

            A decimal number written as a string, for example 119.00. The number of decimal places is kept exactly as given.

          • packageQuantityUnitCodestring
          • perPackageUnitQuantitystring

            A decimal number written as a string, for example 119.00. The number of decimal places is kept exactly as given.

          • perPackageUnitQuantityUnitCodestring
          • shipToobject

            Ship-to party of a line (BG-X-7, ZUGFeRD and Factur-X EXTENDED): where this line's goods go, when not the deliver-to party of the invoice. CII ram:SpecifiedLineTradeDelivery/ram:ShipToTradeParty; EN 16931 and UBL have no element for it. The one trade party shape.

            Show 11 child fields
            • legalNamestring
            • tradingNamestring
            • identifierSchemestring

              Scheme of the identifier (BT-186-1): the register it was issued under. CII ram:GlobalID/@schemeID.

            • identifierstring
            • registrationIdSchemestring

              Scheme of the legal registration identifier (BT-X-51-0).

            • registrationIdstring
            • vatIdstring
            • endpointIdobject
              Show 2 child fields
              • schemestringRequired
              • valuestringRequired
            • roleCodestring

              A code qualifying the role of this party (BT-X-541, FeRD's sheet). CII ram:RoleCode.

            • addressobject
              Show 7 child fields
              • streetstring
              • addressLine2string
              • addressLine3string
              • citystring
              • postalZonestring
              • countrySubdivisionstring
              • countrystringRequired
            • contactobject
              Show 6 child fields
              • namestring
              • departmentstring
              • telephonestring
              • faxstring
              • emailstring
              • typeCodestring
          • ultimateShipToobject

            Ultimate ship-to party of a line (BG-X-10, ZUGFeRD and Factur-X EXTENDED). CII ram:SpecifiedLineTradeDelivery/ram:UltimateShipToTradeParty. The one trade party shape.

            Show 11 child fields
            • legalNamestring
            • tradingNamestring
            • identifierSchemestring

              Scheme of the identifier (BT-X-68-0): the register it was issued under. CII ram:GlobalID/@schemeID.

            • identifierstring
            • registrationIdSchemestring

              Scheme of the legal registration identifier (BT-X-70-0).

            • registrationIdstring
            • vatIdstring
            • endpointIdobject
              Show 2 child fields
              • schemestringRequired
              • valuestringRequired
            • roleCodestring

              A code qualifying the role of this party (BT-X-542, FeRD's sheet). CII ram:RoleCode.

            • addressobject
              Show 7 child fields
              • streetstring
              • addressLine2string
              • addressLine3string
              • citystring
              • postalZonestring
              • countrySubdivisionstring
              • countrystringRequired
            • contactobject
              Show 6 child fields
              • namestring
              • departmentstring
              • telephonestring
              • faxstring
              • emailstring
              • typeCodestring
          • deliveryDatestring (date)

            Delivery date of this line (BT-X-85, ZUGFeRD and Factur-X EXTENDED). CII ram:ActualDeliverySupplyChainEvent/ram:OccurrenceDateTime.

          • despatchAdviceReferenceobject

            The despatch advice of this line (BG-X-13, ZUGFeRD and Factur-X EXTENDED). CII ram:DespatchAdviceReferencedDocument.

            Show 3 child fields
            • idstring
            • lineIdstring
            • issueDatestring (date)

              A calendar date in ISO 8601 format: YYYY-MM-DD. It must be a real day: 2026-02-30 and 2025-02-29 are refused, 2024-02-29 is accepted.

          • receiptAdviceReferenceobject

            The receiving advice of this line (BG-X-82, ZUGFeRD and Factur-X EXTENDED). CII ram:ReceivingAdviceReferencedDocument.

            Show 3 child fields
            • idstring
            • lineIdstring
            • issueDatestring (date)

              A calendar date in ISO 8601 format: YYYY-MM-DD. It must be a real day: 2026-02-30 and 2025-02-29 are refused, 2024-02-29 is accepted.

          • deliveryNoteReferenceobject

            The delivery note of this line (BG-X-83, ZUGFeRD and Factur-X EXTENDED). CII ram:DeliveryNoteReferencedDocument.

            Show 3 child fields
            • idstring
            • lineIdstring
            • issueDatestring (date)

              A calendar date in ISO 8601 format: YYYY-MM-DD. It must be a real day: 2026-02-30 and 2025-02-29 are refused, 2024-02-29 is accepted.

          • chargeTotalAmountstring

            A decimal number written as a string, for example 119.00. The number of decimal places is kept exactly as given.

          • allowanceTotalAmountstring

            A decimal number written as a string, for example 119.00. The number of decimal places is kept exactly as given.

          • taxTotalAmountstring

            A decimal number written as a string, for example 119.00. The number of decimal places is kept exactly as given.

          • taxTotalAmountInAccountingCurrencystring

            The line tax amount in the tax currency (BT-X-590, ZUGFeRD and Factur-X EXTENDED); its currency is the invoice's tax currency (BT-6). CII a second ram:TaxTotalAmount.

          • grandTotalAmountstring

            A decimal number written as a string, for example 119.00. The number of decimal places is kept exactly as given.

          • allowanceChargeTotalAmountstring

            A decimal number written as a string, for example 119.00. The number of decimal places is kept exactly as given.

          • precedingInvoiceobject

            The preceding invoice this line refers to (BG-X-48, ZUGFeRD and Factur-X EXTENDED). CII ram:SpecifiedLineTradeSettlement/ram:InvoiceReferencedDocument.

            Show 4 child fields
            • idstringRequired
            • lineIdstring
            • typeCodestring
            • issueDatestring (date)

              A calendar date in ISO 8601 format: YYYY-MM-DD. It must be a real day: 2026-02-30 and 2025-02-29 are refused, 2024-02-29 is accepted.

          • accountingAccountTypeCodestring

            Type of the line accounting account (BT-X-99, ZUGFeRD and Factur-X EXTENDED). CII ram:ReceivableSpecifiedTradeAccountingAccount/ram:TypeCode.

        • statusCodestring

          Type of the line (BT-X-7, ZUGFeRD and Factur-X EXTENDED): whether its amounts count or it informs only, UNTDID 1229. CII ram:LineStatusCode.

        • noteContentCodestring

          A code classifying the line note (BT-X-9, ZUGFeRD and Factur-X EXTENDED). CII ram:IncludedNote/ram:ContentCode.

        • noteSubjectCodestring

          Subject code of the line note (BT-X-10, ZUGFeRD and Factur-X EXTENDED), UNTDID 4451. CII ram:IncludedNote/ram:SubjectCode.

        • productIdstring

          Item identifier without a scheme (BT-X-305, ZUGFeRD and Factur-X EXTENDED). CII ram:SpecifiedTradeProduct/ram:ID.

        • industryAssignedIdstring
        • modelIdstring
        • batchIdstring
        • brandNamestring
        • modelNamestring
        • productInstancesarray of object

          Instances of the item (BG-X-84, ZUGFeRD and Factur-X EXTENDED): a batch and a serial number each. CII ram:IndividualTradeProductInstance.

          Show 2 child fields
          • batchIdstring
          • serialIdstring
        • manufacturerobject

          Manufacturer of a line's item (BG-X-93, ZUGFeRD and Factur-X EXTENDED). CII ram:SpecifiedTradeProduct/ram:ManufacturerTradeParty. The one trade party shape.

          Show 13 child fields
          • legalNamestring
          • tradingNamestring
          • identifierSchemestring

            Scheme of the identifier (BT-X-594-0): the register it was issued under. CII ram:GlobalID/@schemeID.

          • identifierstring
          • registrationIdSchemestring

            Scheme of the legal registration identifier (BT-X-598-0).

          • registrationIdstring
          • legalFormstring

            Additional legal information (BT-X-597). CII ram:Description.

          • vatIdstring
          • taxRegistrationIdstring

            Local tax registration identifier (BT-X-615): CII ram:SpecifiedTaxRegistration/ram:ID under scheme FC.

          • endpointIdobject
            Show 2 child fields
            • schemestringRequired
            • valuestringRequired
          • roleCodestring

            A code qualifying the role of this party (BT-X-596, FeRD's sheet). CII ram:RoleCode.

          • addressobject
            Show 7 child fields
            • streetstring
            • addressLine2string
            • addressLine3string
            • citystring
            • postalZonestring
            • countrySubdivisionstring
            • countrystringRequired
          • contactobject
            Show 6 child fields
            • namestring
            • departmentstring
            • telephonestring
            • faxstring
            • emailstring
            • typeCodestring
        • includedItemsarray of object

          Items included in this line's item (BG-X-1, ZUGFeRD and Factur-X EXTENDED), such as the parts of a set. CII ram:IncludedReferencedProduct.

          Show 10 child fields
          • idstring
          • globalIdSchemestring
          • globalIdstring
          • sellersItemIdstring
          • buyersItemIdstring
          • industryAssignedIdstring
          • namestringRequired
          • descriptionstring
          • quantitystring

            A decimal number written as a string, for example 119.00. The number of decimal places is kept exactly as given.

          • unitCodestring
        • deliveryTermsobject

          Delivery terms of this line (BG-X-87, ZUGFeRD and Factur-X EXTENDED). CII ram:SpecifiedLineTradeAgreement/ram:ApplicableTradeDeliveryTerms.

          Show 2 child fields
          • typeCodestring

            Delivery terms of this line (BT-X-562, ZUGFeRD and Factur-X EXTENDED), UNTDID 4053 or Incoterms. FeRD's sheet prints the header path for it; it sits in the line's BG-X-87, so CII ram:SpecifiedLineTradeAgreement/ram:ApplicableTradeDeliveryTerms/ram:DeliveryTypeCode.

          • locationobject
            Show 2 child fields
            • countrystring
            • namestring
        • salesOrderReferenceobject

          The seller's order this line belongs to (BG-X-81, ZUGFeRD and Factur-X EXTENDED). CII ram:SellerOrderReferencedDocument.

          Show 3 child fields
          • idstring
          • lineIdstring
          • issueDatestring (date)

            A calendar date in ISO 8601 format: YYYY-MM-DD. It must be a real day: 2026-02-30 and 2025-02-29 are refused, 2024-02-29 is accepted.

        • orderReferenceIdstring

          The buyer's order this line belongs to (BT-X-21, ZUGFeRD and Factur-X EXTENDED); its line is BT-132. CII ram:BuyerOrderReferencedDocument/ram:IssuerAssignedID.

        • orderReferenceIssueDatestring (date)

          A calendar date in ISO 8601 format: YYYY-MM-DD. It must be a real day: 2026-02-30 and 2025-02-29 are refused, 2024-02-29 is accepted.

        • quotationReferenceobject

          The quotation this line belongs to (BG-X-47, ZUGFeRD and Factur-X EXTENDED). CII ram:QuotationReferencedDocument.

          Show 3 child fields
          • idstring
          • lineIdstring
          • issueDatestring (date)

            A calendar date in ISO 8601 format: YYYY-MM-DD. It must be a real day: 2026-02-30 and 2025-02-29 are refused, 2024-02-29 is accepted.

        • contractReferenceobject

          The contract this line belongs to (BG-X-2, ZUGFeRD and Factur-X EXTENDED). CII ram:ContractReferencedDocument.

          Show 3 child fields
          • idstring
          • lineIdstring
          • issueDatestring (date)

            A calendar date in ISO 8601 format: YYYY-MM-DD. It must be a real day: 2026-02-30 and 2025-02-29 are refused, 2024-02-29 is accepted.

        • additionalDocumentsarray of object

          Documents this line refers to (BG-X-3, ZUGFeRD and Factur-X EXTENDED). CII ram:SpecifiedLineTradeAgreement/ram:AdditionalReferencedDocument.

          Show 8 child fields
          • idstringRequired
          • uristring
          • lineIdstring
          • typeCodestringRequired
          • descriptionstring
          • attachmentobject
            Show 3 child fields
            • contentstringRequired
            • mimeCodestringRequired
            • filenamestringRequired
          • referenceTypeCodestring
          • issueDatestring (date)

            A calendar date in ISO 8601 format: YYYY-MM-DD. It must be a real day: 2026-02-30 and 2025-02-29 are refused, 2024-02-29 is accepted.

        • priceDiscountPercentstring

          A decimal number written as a string, for example 119.00. The number of decimal places is kept exactly as given.

        • priceDiscountBaseAmountstring

          A decimal number written as a string, for example 119.00. The number of decimal places is kept exactly as given.

        • priceDiscountReasonCodestring
        • priceDiscountReasonstring
        • priceChargeobject

          A charge on the item gross price (BT-X-300 to BT-X-303, ZUGFeRD and Factur-X EXTENDED). CII ram:GrossPriceProductTradePrice/ram:AppliedTradeAllowanceCharge with the charge indicator true.

          Show 6 child fields
          • percentstring

            A decimal number written as a string, for example 119.00. The number of decimal places is kept exactly as given.

          • baseAmountstring

            A decimal number written as a string, for example 119.00. The number of decimal places is kept exactly as given.

          • amountstringRequired

            A decimal number written as a string, for example 119.00. The number of decimal places is kept exactly as given.

          • reasonCodestring
          • nonVatTaxCodestring

            The non-VAT tax this charge is (BT-X-616, ZUGFeRD and Factur-X EXTENDED), UNTDID 5153. CII ram:ReasonCode with listID 5153.

          • reasonstring
        • netPriceIncludedTaxobject

          The VAT the net price includes, for a consumer invoice (BG-X-4, ZUGFeRD and Factur-X EXTENDED). CII ram:NetPriceProductTradePrice/ram:IncludedTradeTax.

          Show 5 child fields
          • taxAmountstringRequired

            A decimal number written as a string, for example 119.00. The number of decimal places is kept exactly as given.

          • exemptionReasonstring
          • categoryCodestringRequired
          • exemptionReasonCodestring
          • percentstringRequired

            A decimal number written as a string, for example 119.00. The number of decimal places is kept exactly as given.

        • itemSellerobject

          Seller on line level (BG-X-90, ZUGFeRD and Factur-X EXTENDED): the party that sells this line's item, when not the seller of the invoice. CII ram:SpecifiedLineTradeAgreement/ram:ItemSellerTradeParty. The one trade party shape.

          Show 13 child fields
          • legalNamestring
          • tradingNamestring
          • identifierSchemestring

            Scheme of the identifier (BT-X-568-0): the register it was issued under. CII ram:GlobalID/@schemeID.

          • identifierstring
          • registrationIdSchemestring

            Scheme of the legal registration identifier (BT-X-572-0).

          • registrationIdstring
          • legalFormstring

            Additional legal information (BT-X-571). CII ram:Description.

          • vatIdstring
          • taxRegistrationIdstring

            Local tax registration identifier (BT-X-588): CII ram:SpecifiedTaxRegistration/ram:ID under scheme FC.

          • endpointIdobject
            Show 2 child fields
            • schemestringRequired
            • valuestringRequired
          • roleCodestring

            A code qualifying the role of this party (BT-X-570, FeRD's sheet). CII ram:RoleCode.

          • addressobject
            Show 7 child fields
            • streetstring
            • addressLine2string
            • addressLine3string
            • citystring
            • postalZonestring
            • countrySubdivisionstring
            • countrystringRequired
          • contactobject
            Show 6 child fields
            • namestring
            • departmentstring
            • telephonestring
            • faxstring
            • emailstring
            • typeCodestring
        • ultimateCustomerOrderReferencesarray of object

          The final customer's orders this line belongs to (BG-X-5, ZUGFeRD and Factur-X EXTENDED). CII ram:UltimateCustomerOrderReferencedDocument.

          Show 3 child fields
          • idstring
          • lineIdstring
          • issueDatestring (date)

            A calendar date in ISO 8601 format: YYYY-MM-DD. It must be a real day: 2026-02-30 and 2025-02-29 are refused, 2024-02-29 is accepted.

        • chargeFreeQuantitystring

          A decimal number written as a string, for example 119.00. The number of decimal places is kept exactly as given.

        • chargeFreeQuantityUnitCodestring
        • packageQuantitystring

          A decimal number written as a string, for example 119.00. The number of decimal places is kept exactly as given.

        • packageQuantityUnitCodestring
        • perPackageUnitQuantitystring

          A decimal number written as a string, for example 119.00. The number of decimal places is kept exactly as given.

        • perPackageUnitQuantityUnitCodestring
        • shipToobject

          Ship-to party of a line (BG-X-7, ZUGFeRD and Factur-X EXTENDED): where this line's goods go, when not the deliver-to party of the invoice. CII ram:SpecifiedLineTradeDelivery/ram:ShipToTradeParty; EN 16931 and UBL have no element for it. The one trade party shape.

          Show 11 child fields
          • legalNamestring
          • tradingNamestring
          • identifierSchemestring

            Scheme of the identifier (BT-186-1): the register it was issued under. CII ram:GlobalID/@schemeID.

          • identifierstring
          • registrationIdSchemestring

            Scheme of the legal registration identifier (BT-X-51-0).

          • registrationIdstring
          • vatIdstring
          • endpointIdobject
            Show 2 child fields
            • schemestringRequired
            • valuestringRequired
          • roleCodestring

            A code qualifying the role of this party (BT-X-541, FeRD's sheet). CII ram:RoleCode.

          • addressobject
            Show 7 child fields
            • streetstring
            • addressLine2string
            • addressLine3string
            • citystring
            • postalZonestring
            • countrySubdivisionstring
            • countrystringRequired
          • contactobject
            Show 6 child fields
            • namestring
            • departmentstring
            • telephonestring
            • faxstring
            • emailstring
            • typeCodestring
        • ultimateShipToobject

          Ultimate ship-to party of a line (BG-X-10, ZUGFeRD and Factur-X EXTENDED). CII ram:SpecifiedLineTradeDelivery/ram:UltimateShipToTradeParty. The one trade party shape.

          Show 11 child fields
          • legalNamestring
          • tradingNamestring
          • identifierSchemestring

            Scheme of the identifier (BT-X-68-0): the register it was issued under. CII ram:GlobalID/@schemeID.

          • identifierstring
          • registrationIdSchemestring

            Scheme of the legal registration identifier (BT-X-70-0).

          • registrationIdstring
          • vatIdstring
          • endpointIdobject
            Show 2 child fields
            • schemestringRequired
            • valuestringRequired
          • roleCodestring

            A code qualifying the role of this party (BT-X-542, FeRD's sheet). CII ram:RoleCode.

          • addressobject
            Show 7 child fields
            • streetstring
            • addressLine2string
            • addressLine3string
            • citystring
            • postalZonestring
            • countrySubdivisionstring
            • countrystringRequired
          • contactobject
            Show 6 child fields
            • namestring
            • departmentstring
            • telephonestring
            • faxstring
            • emailstring
            • typeCodestring
        • deliveryDatestring (date)

          Delivery date of this line (BT-X-85, ZUGFeRD and Factur-X EXTENDED). CII ram:ActualDeliverySupplyChainEvent/ram:OccurrenceDateTime.

        • despatchAdviceReferenceobject

          The despatch advice of this line (BG-X-13, ZUGFeRD and Factur-X EXTENDED). CII ram:DespatchAdviceReferencedDocument.

          Show 3 child fields
          • idstring
          • lineIdstring
          • issueDatestring (date)

            A calendar date in ISO 8601 format: YYYY-MM-DD. It must be a real day: 2026-02-30 and 2025-02-29 are refused, 2024-02-29 is accepted.

        • receiptAdviceReferenceobject

          The receiving advice of this line (BG-X-82, ZUGFeRD and Factur-X EXTENDED). CII ram:ReceivingAdviceReferencedDocument.

          Show 3 child fields
          • idstring
          • lineIdstring
          • issueDatestring (date)

            A calendar date in ISO 8601 format: YYYY-MM-DD. It must be a real day: 2026-02-30 and 2025-02-29 are refused, 2024-02-29 is accepted.

        • deliveryNoteReferenceobject

          The delivery note of this line (BG-X-83, ZUGFeRD and Factur-X EXTENDED). CII ram:DeliveryNoteReferencedDocument.

          Show 3 child fields
          • idstring
          • lineIdstring
          • issueDatestring (date)

            A calendar date in ISO 8601 format: YYYY-MM-DD. It must be a real day: 2026-02-30 and 2025-02-29 are refused, 2024-02-29 is accepted.

        • chargeTotalAmountstring

          A decimal number written as a string, for example 119.00. The number of decimal places is kept exactly as given.

        • allowanceTotalAmountstring

          A decimal number written as a string, for example 119.00. The number of decimal places is kept exactly as given.

        • taxTotalAmountstring

          A decimal number written as a string, for example 119.00. The number of decimal places is kept exactly as given.

        • taxTotalAmountInAccountingCurrencystring

          The line tax amount in the tax currency (BT-X-590, ZUGFeRD and Factur-X EXTENDED); its currency is the invoice's tax currency (BT-6). CII a second ram:TaxTotalAmount.

        • grandTotalAmountstring

          A decimal number written as a string, for example 119.00. The number of decimal places is kept exactly as given.

        • allowanceChargeTotalAmountstring

          A decimal number written as a string, for example 119.00. The number of decimal places is kept exactly as given.

        • precedingInvoiceobject

          The preceding invoice this line refers to (BG-X-48, ZUGFeRD and Factur-X EXTENDED). CII ram:SpecifiedLineTradeSettlement/ram:InvoiceReferencedDocument.

          Show 4 child fields
          • idstringRequired
          • lineIdstring
          • typeCodestring
          • issueDatestring (date)

            A calendar date in ISO 8601 format: YYYY-MM-DD. It must be a real day: 2026-02-30 and 2025-02-29 are refused, 2024-02-29 is accepted.

        • accountingAccountTypeCodestring

          Type of the line accounting account (BT-X-99, ZUGFeRD and Factur-X EXTENDED). CII ram:ReceivableSpecifiedTradeAccountingAccount/ram:TypeCode.

      • orderReferenceobject
        Show 4 child fields
        • idstring
        • salesOrderIdstring

          Sales order reference (BT-14): the seller's own order number. UBL SalesOrderID; CII SellerOrderReferencedDocument.

        • salesOrderIssueDatestring (date)

          A calendar date in ISO 8601 format: YYYY-MM-DD. It must be a real day: 2026-02-30 and 2025-02-29 are refused, 2024-02-29 is accepted.

        • issueDatestring (date)

          A calendar date in ISO 8601 format: YYYY-MM-DD. It must be a real day: 2026-02-30 and 2025-02-29 are refused, 2024-02-29 is accepted.

      • quotationReferenceobject

        The quotation the invoice follows (BG-X-61, ZUGFeRD and Factur-X EXTENDED). CII ram:QuotationReferencedDocument.

        Show 2 child fields
        • idstring
        • issueDatestring (date)

          A calendar date in ISO 8601 format: YYYY-MM-DD. It must be a real day: 2026-02-30 and 2025-02-29 are refused, 2024-02-29 is accepted.

      • paymentTermsobject
        Show 6 child fields
        • notestring
        • discountsarray of object
          Show 3 child fields
          • daysintegerRequired
          • percentstringRequired

            A decimal number written as a string, for example 119.00. The number of decimal places is kept exactly as given.

          • baseAmountstring

            A decimal number written as a string, for example 119.00. The number of decimal places is kept exactly as given.

        • partialPaymentAmountstring

          A decimal number written as a string, for example 119.00. The number of decimal places is kept exactly as given.

        • penaltyTermsobject

          Late payment penalty terms (BG-X-43, ZUGFeRD and Factur-X EXTENDED). CII ram:ApplicableTradePaymentPenaltyTerms.

          Show 6 child fields
          • basisDatestring (date)

            A calendar date in ISO 8601 format: YYYY-MM-DD. It must be a real day: 2026-02-30 and 2025-02-29 are refused, 2024-02-29 is accepted.

          • basisPeriodstring

            A decimal number written as a string, for example 119.00. The number of decimal places is kept exactly as given.

          • basisPeriodUnitCodestring
          • basisAmountstring

            A decimal number written as a string, for example 119.00. The number of decimal places is kept exactly as given.

          • percentstring

            A decimal number written as a string, for example 119.00. The number of decimal places is kept exactly as given.

          • amountstring

            A decimal number written as a string, for example 119.00. The number of decimal places is kept exactly as given.

        • discountTermsobject

          Early payment discount terms (BG-X-44, ZUGFeRD and Factur-X EXTENDED). CII ram:ApplicableTradePaymentDiscountTerms.

          Show 6 child fields
          • basisDatestring (date)

            A calendar date in ISO 8601 format: YYYY-MM-DD. It must be a real day: 2026-02-30 and 2025-02-29 are refused, 2024-02-29 is accepted.

          • basisPeriodstring

            A decimal number written as a string, for example 119.00. The number of decimal places is kept exactly as given.

          • basisPeriodUnitCodestring
          • basisAmountstring

            A decimal number written as a string, for example 119.00. The number of decimal places is kept exactly as given.

          • percentstring

            A decimal number written as a string, for example 119.00. The number of decimal places is kept exactly as given.

          • amountstring

            A decimal number written as a string, for example 119.00. The number of decimal places is kept exactly as given.

        • payeeobject

          Payee of a payment term (BG-X-77, ZUGFeRD and Factur-X EXTENDED): the party paid under these terms, for an invoice paid to several payees. CII ram:SpecifiedTradePaymentTerms/ram:PayeeTradeParty. The one trade party shape.

          Show 12 child fields
          • legalNamestring
          • tradingNamestring
          • identifierSchemestring

            Scheme of the identifier (BT-X-507-0): the register it was issued under. CII ram:GlobalID/@schemeID.

          • identifierstring
          • registrationIdSchemestring

            Scheme of the legal registration identifier (BT-X-508-0).

          • registrationIdstring
          • vatIdstring
          • endpointIdobject
            Show 2 child fields
            • schemestringRequired
            • valuestringRequired
          • roleCodestring

            A code qualifying the role of this party (BT-X-511, FeRD's sheet). CII ram:RoleCode.

          • addressobject
            Show 7 child fields
            • streetstring
            • addressLine2string
            • addressLine3string
            • citystring
            • postalZonestring
            • countrySubdivisionstring
            • countrystringRequired
          • legalAddressobject
            Show 7 child fields
            • streetstring
            • addressLine2string
            • addressLine3string
            • citystring
            • postalZonestring
            • countrySubdivisionstring
            • countrystringRequired
          • contactobject
            Show 6 child fields
            • namestring
            • departmentstring
            • telephonestring
            • faxstring
            • emailstring
            • typeCodestring
      • thirdPartyPaymentsarray of object

        Third party payments (BG-DEX-09): parts of this invoice paid by a third party. The Amount due for payment (BT-115) takes them into account (BR-DEX-09): BT-115 equals BT-112, minus BT-113, plus BT-114, plus the sum of all third party payment amounts (BT-DEX-002). An invoice that carries them is an XRechnung Extension invoice, and its files claim the Extension. UBL only: CII has no form for the group, so the CII files of such an invoice are refused. No member is required by this schema. Once the group is present, BR-DEX-10, BR-DEX-11 and BR-DEX-12 make all three members mandatory, and validation checks that.

        Show 3 child fields
        • typestring
        • amountstring

          Third party payment amount (BT-DEX-002). At most two decimals (BR-DEX-13). Its currency is the invoice currency, BT-5 (BR-DEX-14), so it has no currency field of its own.

        • descriptionstring
      • notesarray of object

        Notes on the invoice (BG-1), in document order. Each note has its Invoice note (BT-22) and an optional Invoice note subject code (BT-21).

        Show 3 child fields
        • textstringRequired
        • subjectCodestring

          Invoice note subject code (BT-21), from UNTDID 4451, for example ADU. Passed through unchanged; validation checks it.

        • contentCodestring

          A code classifying the note (BT-X-5, ZUGFeRD and Factur-X EXTENDED), UNTDID 4451, the same meaning as BT-22 (BR-FXEXT-01). CII ram:IncludedNote/ram:ContentCode.

      • taxRepresentativeobject

        Tax representative of the seller (BG-11). Required when the seller is not established in the country of taxation.

        Show 12 child fields
        • legalNamestringRequired
        • vatIdstring
        • addressobjectRequired
          Show 7 child fields
          • streetstring
          • addressLine2string
          • addressLine3string
          • citystring
          • postalZonestring
          • countrySubdivisionstring
          • countrystringRequired
        • identifierstring
        • identifierSchemestring

          Scheme of the seller tax representative identifier (BT-X-117-1): the register the identifier was issued under. CII ram:GlobalID/@schemeID.

        • registrationIdstring
        • registrationIdSchemestring

          Scheme of the seller tax representative legal registration identifier (BT-X-118-0): the register BT-X-118 was issued under.

        • tradingNamestring
        • contactobject
          Show 6 child fields
          • namestring
          • departmentstring
          • telephonestring
          • faxstring
          • emailstring
          • typeCodestring
        • endpointIdobject
          Show 2 child fields
          • schemestringRequired
          • valuestringRequired
        • roleCodestring

          A code qualifying the role of the seller tax representative (FeRD's sheet). CII ram:SellerTaxRepresentativeTradeParty/ram:RoleCode.

        • legalAddressobject
          Show 7 child fields
          • streetstring
          • addressLine2string
          • addressLine3string
          • citystring
          • postalZonestring
          • countrySubdivisionstring
          • countrystringRequired
      • payeeobject

        Payee different from the seller (BG-10): the party that receives the payment, when it is not the seller.

        Show 12 child fields
        • legalNamestringRequired
        • identifierSchemestring

          Scheme of the payee identifier (BT-60-1): the register BT-60 was issued under (BR-CL-10).

        • identifierstring
        • registrationIdSchemestring

          Scheme of the payee legal registration identifier (BT-61-1): the register BT-61 was issued under (BR-CL-11).

        • registrationIdstring
        • tradingNamestring
        • contactobject
          Show 6 child fields
          • namestring
          • departmentstring
          • telephonestring
          • faxstring
          • emailstring
          • typeCodestring
        • addressobject
          Show 7 child fields
          • streetstring
          • addressLine2string
          • addressLine3string
          • citystring
          • postalZonestring
          • countrySubdivisionstring
          • countrystringRequired
        • endpointIdobject
          Show 2 child fields
          • schemestringRequired
          • valuestringRequired
        • vatIdstring
        • roleCodestring

          A code qualifying the role of the payee (FeRD's sheet). CII ram:PayeeTradeParty/ram:RoleCode.

        • legalAddressobject
          Show 7 child fields
          • streetstring
          • addressLine2string
          • addressLine3string
          • citystring
          • postalZonestring
          • countrySubdivisionstring
          • countrystringRequired
      • invoiceeobject

        Invoicee (BG-X-36, ZUGFeRD and Factur-X EXTENDED): the party the invoice is addressed to, when it is not the buyer. CII ram:InvoiceeTradeParty; EN 16931 and UBL have no element for it. Same shape as the payer, with its own business term numbers.

        Show 12 child fields
        • legalNamestringRequired
        • tradingNamestring
        • identifierSchemestring

          Scheme of the invoicee identifier (BT-X-225-0): the register the identifier was issued under. CII ram:GlobalID/@schemeID.

        • identifierstring
        • registrationIdSchemestring

          Scheme of the invoicee legal registration identifier (BT-X-227-0): the register BT-X-227 was issued under.

        • registrationIdstring
        • vatIdstring
        • endpointIdobject
          Show 2 child fields
          • schemestringRequired
          • valuestringRequired
        • roleCodestring

          A code qualifying the role of the invoicee (FeRD's sheet). CII ram:InvoiceeTradeParty/ram:RoleCode: the pinned EXTENDED schema holds the invoicee in the settlement only, though the sheet's row for BT-X-554 names the agreement.

        • addressobject
          Show 7 child fields
          • streetstring
          • addressLine2string
          • addressLine3string
          • citystring
          • postalZonestring
          • countrySubdivisionstring
          • countrystringRequired
        • legalAddressobject
          Show 7 child fields
          • streetstring
          • addressLine2string
          • addressLine3string
          • citystring
          • postalZonestring
          • countrySubdivisionstring
          • countrystringRequired
        • contactobject
          Show 6 child fields
          • namestring
          • departmentstring
          • telephonestring
          • faxstring
          • emailstring
          • typeCodestring
      • payerobject

        Payer (BG-X-73, ZUGFeRD and Factur-X EXTENDED): the party that pays the invoice, when it is not the buyer. CII ram:PayerTradeParty; EN 16931 and UBL have no element for it. Same shape as the invoicee, with its own business term numbers.

        Show 12 child fields
        • legalNamestringRequired
        • tradingNamestring
        • identifierSchemestring

          Scheme of the payer identifier (BT-X-479-0): the register the identifier was issued under. CII ram:GlobalID/@schemeID.

        • identifierstring
        • registrationIdSchemestring

          Scheme of the payer legal registration identifier (BT-X-480-0): the register BT-X-480 was issued under.

        • registrationIdstring
        • vatIdstring
        • endpointIdobject
          Show 2 child fields
          • schemestringRequired
          • valuestringRequired
        • roleCodestring

          A code qualifying the role of the payer (FeRD's sheet). CII ram:PayerTradeParty/ram:RoleCode.

        • addressobject
          Show 7 child fields
          • streetstring
          • addressLine2string
          • addressLine3string
          • citystring
          • postalZonestring
          • countrySubdivisionstring
          • countrystringRequired
        • legalAddressobject
          Show 7 child fields
          • streetstring
          • addressLine2string
          • addressLine3string
          • citystring
          • postalZonestring
          • countrySubdivisionstring
          • countrystringRequired
        • contactobject
          Show 6 child fields
          • namestring
          • departmentstring
          • telephonestring
          • faxstring
          • emailstring
          • typeCodestring
      • invoicerobject

        Invoicer (BG-X-33, ZUGFeRD and Factur-X EXTENDED): the party that issues the invoice, when it is not the seller. CII ram:InvoicerTradeParty; EN 16931 and UBL have no element for it. The invoicee's shape, with its own business term numbers.

        Show 12 child fields
        • legalNamestringRequired
        • tradingNamestring
        • identifierSchemestring

          Scheme of the invoicer identifier (BT-X-206-0): the register the identifier was issued under. CII ram:GlobalID/@schemeID.

        • identifierstring
        • registrationIdSchemestring

          Scheme of the invoicer legal registration identifier (BT-X-208-0): the register BT-X-208 was issued under.

        • registrationIdstring
        • vatIdstring
        • endpointIdobject
          Show 2 child fields
          • schemestringRequired
          • valuestringRequired
        • roleCodestring

          A code qualifying the role of the invoicer (FeRD's sheet). CII ram:InvoicerTradeParty/ram:RoleCode.

        • addressobject
          Show 7 child fields
          • streetstring
          • addressLine2string
          • addressLine3string
          • citystring
          • postalZonestring
          • countrySubdivisionstring
          • countrystringRequired
        • legalAddressobject
          Show 7 child fields
          • streetstring
          • addressLine2string
          • addressLine3string
          • citystring
          • postalZonestring
          • countrySubdivisionstring
          • countrystringRequired
        • contactobject
          Show 6 child fields
          • namestring
          • departmentstring
          • telephonestring
          • faxstring
          • emailstring
          • typeCodestring
      • salesAgentobject

        Sales agent (BG-X-49, ZUGFeRD and Factur-X EXTENDED): the party that sells on behalf of the seller. CII ram:SalesAgentTradeParty; EN 16931 and UBL have no element for it. The invoicee's shape, with its own business term numbers.

        Show 12 child fields
        • legalNamestringRequired
        • tradingNamestring
        • identifierSchemestring

          Scheme of the sales agent identifier (BT-X-338-0): the register the identifier was issued under. CII ram:GlobalID/@schemeID.

        • identifierstring
        • registrationIdSchemestring

          Scheme of the sales agent legal registration identifier (BT-X-339-0): the register BT-X-339 was issued under.

        • registrationIdstring
        • vatIdstring
        • endpointIdobject
          Show 2 child fields
          • schemestringRequired
          • valuestringRequired
        • roleCodestring

          A code qualifying the role of the sales agent (FeRD's sheet). CII ram:SalesAgentTradeParty/ram:RoleCode.

        • addressobject
          Show 7 child fields
          • streetstring
          • addressLine2string
          • addressLine3string
          • citystring
          • postalZonestring
          • countrySubdivisionstring
          • countrystringRequired
        • legalAddressobject
          Show 7 child fields
          • streetstring
          • addressLine2string
          • addressLine3string
          • citystring
          • postalZonestring
          • countrySubdivisionstring
          • countrystringRequired
        • contactobject
          Show 6 child fields
          • namestring
          • departmentstring
          • telephonestring
          • faxstring
          • emailstring
          • typeCodestring
      • buyerTaxRepresentativeobject

        Buyer tax representative (BG-X-54, ZUGFeRD and Factur-X EXTENDED): the buyer's tax representative. CII ram:BuyerTaxRepresentativeTradeParty; EN 16931 and UBL have no element for it. The invoicee's shape, with its own business term numbers.

        Show 12 child fields
        • legalNamestringRequired
        • tradingNamestring
        • identifierSchemestring

          Scheme of the buyer tax representative identifier (BT-X-365-0): the register the identifier was issued under. CII ram:GlobalID/@schemeID.

        • identifierstring
        • registrationIdSchemestring

          Scheme of the buyer tax representative legal registration identifier (BT-X-366-0): the register BT-X-366 was issued under.

        • registrationIdstring
        • vatIdstring
        • endpointIdobject
          Show 2 child fields
          • schemestringRequired
          • valuestringRequired
        • roleCodestring

          A code qualifying the role of the buyer tax representative (FeRD's sheet). CII ram:BuyerTaxRepresentativeTradeParty/ram:RoleCode.

        • addressobject
          Show 7 child fields
          • streetstring
          • addressLine2string
          • addressLine3string
          • citystring
          • postalZonestring
          • countrySubdivisionstring
          • countrystringRequired
        • legalAddressobject
          Show 7 child fields
          • streetstring
          • addressLine2string
          • addressLine3string
          • citystring
          • postalZonestring
          • countrySubdivisionstring
          • countrystringRequired
        • contactobject
          Show 6 child fields
          • namestring
          • departmentstring
          • telephonestring
          • faxstring
          • emailstring
          • typeCodestring
      • productEndUserobject

        Product end user (BG-X-18, ZUGFeRD and Factur-X EXTENDED): the party that uses the goods or services in the end. CII ram:ProductEndUserTradeParty; EN 16931 and UBL have no element for it. The invoicee's shape, with its own business term numbers.

        Show 12 child fields
        • legalNamestringRequired
        • tradingNamestring
        • identifierSchemestring

          Scheme of the product end user identifier (BT-X-127-0): the register the identifier was issued under. CII ram:GlobalID/@schemeID.

        • identifierstring
        • registrationIdSchemestring

          Scheme of the product end user legal registration identifier (BT-X-129-0): the register BT-X-129 was issued under.

        • registrationIdstring
        • vatIdstring
        • endpointIdobject
          Show 2 child fields
          • schemestringRequired
          • valuestringRequired
        • roleCodestring

          A code qualifying the role of the product end user (FeRD's sheet). CII ram:ProductEndUserTradeParty/ram:RoleCode.

        • addressobject
          Show 7 child fields
          • streetstring
          • addressLine2string
          • addressLine3string
          • citystring
          • postalZonestring
          • countrySubdivisionstring
          • countrystringRequired
        • legalAddressobject
          Show 7 child fields
          • streetstring
          • addressLine2string
          • addressLine3string
          • citystring
          • postalZonestring
          • countrySubdivisionstring
          • countrystringRequired
        • contactobject
          Show 6 child fields
          • namestring
          • departmentstring
          • telephonestring
          • faxstring
          • emailstring
          • typeCodestring
      • buyerAgentobject

        Buyer agent (BG-X-62, ZUGFeRD and Factur-X EXTENDED): the party that buys on behalf of the buyer. CII ram:BuyerAgentTradeParty; EN 16931 and UBL have no element for it. The invoicee's shape, with its own business term numbers.

        Show 12 child fields
        • legalNamestringRequired
        • tradingNamestring
        • identifierSchemestring

          Scheme of the buyer agent identifier (BT-X-409-0): the register the identifier was issued under. CII ram:GlobalID/@schemeID.

        • identifierstring
        • registrationIdSchemestring

          Scheme of the buyer agent legal registration identifier (BT-X-410-0): the register BT-X-410 was issued under.

        • registrationIdstring
        • vatIdstring
        • endpointIdobject
          Show 2 child fields
          • schemestringRequired
          • valuestringRequired
        • roleCodestring

          A code qualifying the role of the buyer agent (FeRD's sheet). CII ram:BuyerAgentTradeParty/ram:RoleCode.

        • addressobject
          Show 7 child fields
          • streetstring
          • addressLine2string
          • addressLine3string
          • citystring
          • postalZonestring
          • countrySubdivisionstring
          • countrystringRequired
        • legalAddressobject
          Show 7 child fields
          • streetstring
          • addressLine2string
          • addressLine3string
          • citystring
          • postalZonestring
          • countrySubdivisionstring
          • countrystringRequired
        • contactobject
          Show 6 child fields
          • namestring
          • departmentstring
          • telephonestring
          • faxstring
          • emailstring
          • typeCodestring
      • ultimateShipToobject

        Ultimate ship-to party (BG-X-27, ZUGFeRD and Factur-X EXTENDED): the party the goods finally reach. CII ram:UltimateShipToTradeParty; EN 16931 and UBL have no element for it. The invoicee's shape, with its own business term numbers.

        Show 12 child fields
        • legalNamestringRequired
        • tradingNamestring
        • identifierSchemestring

          Scheme of the ultimate ship-to party identifier (BT-X-163-0): the register the identifier was issued under. CII ram:GlobalID/@schemeID.

        • identifierstring
        • registrationIdSchemestring

          Scheme of the ultimate ship-to party legal registration identifier (BT-X-165-0): the register BT-X-165 was issued under.

        • registrationIdstring
        • vatIdstring
        • endpointIdobject
          Show 2 child fields
          • schemestringRequired
          • valuestringRequired
        • roleCodestring

          A code qualifying the role of the ultimate ship-to party (FeRD's sheet). CII ram:UltimateShipToTradeParty/ram:RoleCode.

        • addressobject
          Show 7 child fields
          • streetstring
          • addressLine2string
          • addressLine3string
          • citystring
          • postalZonestring
          • countrySubdivisionstring
          • countrystringRequired
        • legalAddressobject
          Show 7 child fields
          • streetstring
          • addressLine2string
          • addressLine3string
          • citystring
          • postalZonestring
          • countrySubdivisionstring
          • countrystringRequired
        • contactobject
          Show 6 child fields
          • namestring
          • departmentstring
          • telephonestring
          • faxstring
          • emailstring
          • typeCodestring
      • shipFromobject

        Ship-from party (BG-X-30, ZUGFeRD and Factur-X EXTENDED): the party the goods are shipped from. CII ram:ShipFromTradeParty; EN 16931 and UBL have no element for it. The invoicee's shape, with its own business term numbers.

        Show 12 child fields
        • legalNamestringRequired
        • tradingNamestring
        • identifierSchemestring

          Scheme of the ship-from party identifier (BT-X-182-0): the register the identifier was issued under. CII ram:GlobalID/@schemeID.

        • identifierstring
        • registrationIdSchemestring

          Scheme of the ship-from party legal registration identifier (BT-X-184-0): the register BT-X-184 was issued under.

        • registrationIdstring
        • vatIdstring
        • endpointIdobject
          Show 2 child fields
          • schemestringRequired
          • valuestringRequired
        • roleCodestring

          A code qualifying the role of the ship-from party (FeRD's sheet). CII ram:ShipFromTradeParty/ram:RoleCode.

        • addressobject
          Show 7 child fields
          • streetstring
          • addressLine2string
          • addressLine3string
          • citystring
          • postalZonestring
          • countrySubdivisionstring
          • countrystringRequired
        • legalAddressobject
          Show 7 child fields
          • streetstring
          • addressLine2string
          • addressLine3string
          • citystring
          • postalZonestring
          • countrySubdivisionstring
          • countrystringRequired
        • contactobject
          Show 6 child fields
          • namestring
          • departmentstring
          • telephonestring
          • faxstring
          • emailstring
          • typeCodestring
      • deliveryobject

        Delivery information (BG-13): where and when the goods or services were delivered.

        Show 15 child fields
        • datestring (date)

          A calendar date in ISO 8601 format: YYYY-MM-DD. It must be a real day: 2026-02-30 and 2025-02-29 are refused, 2024-02-29 is accepted.

        • locationIdSchemestring

          Scheme of the deliver-to location identifier (BT-71-1): the register BT-71 was issued under (BR-CL-26, fatal). UBL DeliveryLocation/cbc:ID/@schemeID; CII ShipToTradeParty/ram:GlobalID/@schemeID, which KoSIT's template reads as BT-71 only when a scheme is present.

        • locationIdstring
        • recipientNamestring
        • addressobject
          Show 7 child fields
          • streetstring
          • addressLine2string
          • addressLine3string
          • citystring
          • postalZonestring
          • countrySubdivisionstring
          • countrystring
        • registrationIdstring
        • registrationIdSchemestring

          Scheme of the deliver-to party legal registration identifier (BT-X-153-0): the register BT-X-153 was issued under.

        • tradingNamestring
        • contactobject
          Show 6 child fields
          • namestring
          • departmentstring
          • telephonestring
          • faxstring
          • emailstring
          • typeCodestring
        • endpointIdobject
          Show 2 child fields
          • schemestringRequired
          • valuestringRequired
        • vatIdstring
        • roleCodestring

          A code qualifying the role of the deliver-to party (FeRD's sheet). CII ram:ShipToTradeParty/ram:RoleCode.

        • legalAddressobject
          Show 7 child fields
          • streetstring
          • addressLine2string
          • addressLine3string
          • citystring
          • postalZonestring
          • countrySubdivisionstring
          • countrystringRequired
        • deliveryTermsobject

          Delivery terms of the invoice (BG-X-22, ZUGFeRD and Factur-X EXTENDED), UNTDID 4053 or Incoterms. CII ram:ApplicableHeaderTradeAgreement/ram:ApplicableTradeDeliveryTerms.

          Show 2 child fields
          • typeCodestring
          • locationobject
            Show 2 child fields
            • countrystring
            • namestring
        • transportModeCodestring

          Mode of transport (BT-X-152, ZUGFeRD and Factur-X EXTENDED), UN/ECE Recommendation 19. CII ram:RelatedSupplyChainConsignment/ram:SpecifiedLogisticsTransportMovement/ram:ModeCode.

      • contractReferencestring
      • contractReferenceIssueDatestring (date)

        A calendar date in ISO 8601 format: YYYY-MM-DD. It must be a real day: 2026-02-30 and 2025-02-29 are refused, 2024-02-29 is accepted.

      • contractReferenceTypeCodestring

        Type of the contract (BT-X-405, ZUGFeRD and Factur-X EXTENDED), UNTDID 1153. CII ram:ContractReferencedDocument/ram:ReferenceTypeCode.

      • despatchAdviceReferencestring
      • despatchAdviceReferenceIssueDatestring (date)

        A calendar date in ISO 8601 format: YYYY-MM-DD. It must be a real day: 2026-02-30 and 2025-02-29 are refused, 2024-02-29 is accepted.

      • receiptAdviceReferencestring
      • receiptAdviceReferenceIssueDatestring (date)

        A calendar date in ISO 8601 format: YYYY-MM-DD. It must be a real day: 2026-02-30 and 2025-02-29 are refused, 2024-02-29 is accepted.

      • deliveryNoteReferenceobject

        The delivery note of the invoice (ZUGFeRD and Factur-X EXTENDED). CII ram:ApplicableHeaderTradeDelivery/ram:DeliveryNoteReferencedDocument.

        Show 2 child fields
        • idstringRequired
        • issueDatestring (date)

          A calendar date in ISO 8601 format: YYYY-MM-DD. It must be a real day: 2026-02-30 and 2025-02-29 are refused, 2024-02-29 is accepted.

      • originatorReferencestring

        Tender or lot reference (BT-17). UBL has its own element for it; CII writes it as an AdditionalReferencedDocument with type code 50.

      • originatorReferenceIssueDatestring (date)

        Date of the tender or lot reference (BT-X-556, ZUGFeRD and Factur-X EXTENDED). CII its ram:FormattedIssueDateTime.

      • ultimateCustomerOrderReferencesarray of object

        The final customer's orders (BG-X-23, ZUGFeRD and Factur-X EXTENDED). CII ram:UltimateCustomerOrderReferencedDocument.

        Show 2 child fields
        • idstring
        • issueDatestring (date)

          A calendar date in ISO 8601 format: YYYY-MM-DD. It must be a real day: 2026-02-30 and 2025-02-29 are refused, 2024-02-29 is accepted.

      • projectReferenceobject

        Project reference (BT-11). id is required and name is optional. When there is no name, the CII writer leaves out the whole group, because CII's schema requires a name, and reports that it did.

        Show 2 child fields
        • idstringRequired
        • namestring
      • precedingInvoicesarray of object

        Previous invoices (BG-3): invoices this one corrects or refers to. Repeatable.

        Show 3 child fields
        • idstringRequired
        • issueDatestring (date)

          A calendar date in ISO 8601 format: YYYY-MM-DD. It must be a real day: 2026-02-30 and 2025-02-29 are refused, 2024-02-29 is accepted.

        • typeCodestring
      • additionalDocumentsarray of object

        Additional supporting documents (BG-24), referenced or attached.

        Show 6 child fields
        • idstringRequired
        • descriptionstring
        • uristring

          External document location (BT-124): where the document can be found, when it is referenced rather than attached.

        • attachmentobject

          Attached document (BT-125): the file content, its MIME code and its filename, as three separate fields.

          Show 3 child fields
          • contentstringRequired

            The file content, Base64-encoded. Passed through unchanged.

          • mimeCodestringRequired
          • filenamestringRequired
        • typeCodestring

          Document type code, from UNTDID 1001. Defaults to 916 (supporting document) when absent; 130 makes the entry the Invoiced object identifier (BT-18).

        • issueDatestring (date)

          Date of the document (BT-X-149, ZUGFeRD and Factur-X EXTENDED); of an invoiced object (type code 130) it is BT-X-557. CII ram:FormattedIssueDateTime.

      • allowanceChargesarray of object

        Invoice level discount (BG-20) and Invoice level surcharge (BG-21). Of all allowances and charges, only these adjust the document totals directly.

        Show 11 child fields
        • isChargebooleanRequired

          true for a charge, which adds to the amount. false for an allowance, which reduces it.

        • sequencestring

          The order in which this allowance or charge applies (BT-X-265, BT-X-268, ZUGFeRD and Factur-X EXTENDED). CII ram:SequenceNumeric.

        • amountstringRequired

          A decimal number written as a string, for example 119.00. The number of decimal places is kept exactly as given.

        • baseAmountstring

          A decimal number written as a string, for example 119.00. The number of decimal places is kept exactly as given.

        • percentstring

          A decimal number written as a string, for example 119.00. The number of decimal places is kept exactly as given.

        • reasonstring
        • reasonCodestring
        • taxobject
          Show 4 child fields
          • categoryCodestringRequired
          • percentstring

            A decimal number written as a string, for example 119.00. The number of decimal places is kept exactly as given.

          • exemptionReasonstring
          • exemptionReasonCodestring
        • baseQuantitystring

          A decimal number written as a string, for example 119.00. The number of decimal places is kept exactly as given.

        • baseQuantityUnitCodestring
        • nonVatTaxCodestring

          The non-VAT tax this charge is (BT-177, ZUGFeRD and Factur-X EXTENDED), UNTDID 5153. CII ram:ReasonCode with listID 5153.

      • logisticsServiceChargesarray of object

        Logistics service charges (BG-X-42, ZUGFeRD and Factur-X EXTENDED). ZUGFeRD EXTENDED counts them in the charges (BT-108) and the VAT breakdown (BR-FXEXT-CO-12). CII ram:SpecifiedLogisticsServiceCharge.

        Show 3 child fields
        • descriptionstringRequired
        • amountstringRequired

          A decimal number written as a string, for example 119.00. The number of decimal places is kept exactly as given.

        • taxobjectRequired
          Show 4 child fields
          • exemptionReasonstring
          • categoryCodestringRequired
          • exemptionReasonCodestring
          • percentstring

            A decimal number written as a string, for example 119.00. The number of decimal places is kept exactly as given.

      • thirdPartyChargesarray of object

        Charges collected on behalf of a third party, not part of the invoice and paid with it (BG-34, ZUGFeRD and Factur-X EXTENDED). ZUGFeRD EXTENDED adds them to the amount due (BR-FXEXT-CO-16). CII ram:SpecifiedFinancialAdjustment.

        Show 2 child fields
        • reasonstringRequired
        • amountstringRequired

          A decimal number written as a string, for example 119.00. The number of decimal places is kept exactly as given.

      • advancePaymentsarray of object

        Advance payments received (BG-X-45, ZUGFeRD and Factur-X EXTENDED). CII ram:SpecifiedAdvancePayment.

        Show 4 child fields
        • amountstringRequired

          A decimal number written as a string, for example 119.00. The number of decimal places is kept exactly as given.

        • receivedDatestring (date)

          A calendar date in ISO 8601 format: YYYY-MM-DD. It must be a real day: 2026-02-30 and 2025-02-29 are refused, 2024-02-29 is accepted.

        • includedTaxesarray of objectRequired
          Show 5 child fields
          • taxAmountstringRequired

            A decimal number written as a string, for example 119.00. The number of decimal places is kept exactly as given.

          • exemptionReasonstring
          • categoryCodestringRequired
          • exemptionReasonCodestring
          • percentstring

            A decimal number written as a string, for example 119.00. The number of decimal places is kept exactly as given.

        • precedingInvoiceobject

          The invoice this advance payment was invoiced on (BG-X-85, ZUGFeRD and Factur-X EXTENDED). CII ram:InvoiceSpecifiedReferencedDocument.

          Show 3 child fields
          • idstringRequired
          • typeCodestring
          • issueDatestring (date)

            A calendar date in ISO 8601 format: YYYY-MM-DD. It must be a real day: 2026-02-30 and 2025-02-29 are refused, 2024-02-29 is accepted.

      • taxPointDatestring (date)

        A calendar date in ISO 8601 format: YYYY-MM-DD. It must be a real day: 2026-02-30 and 2025-02-29 are refused, 2024-02-29 is accepted.

      • taxPointDateCodestring

        Which event fixes the VAT date, when the Value added tax point date (BT-7) is not yet known; the two exclude each other (BR-CO-03). A UNTDID 2005 code, the list EN 16931 defines BT-8 with (3, 35, 432 in the pinned rules). UBL writes it as it is; CII writes the UNTDID 2475 code paired with it.

      • taxCurrencystring

        VAT accounting currency code (BT-6). It must differ from the invoice currency. When it is set, totals.taxAmountInAccountingCurrency, the Invoice total VAT amount in accounting currency (BT-111), is required. Both syntaxes then carry a second tax total in this currency: UBL as an extra TaxTotal without subtotals, CII as a second TaxTotalAmount in the summation.

      • taxCurrencyExchangeobject

        The exchange rate between the invoice currency and the tax currency (BG-X-41, ZUGFeRD and Factur-X EXTENDED). CII ram:TaxApplicableTradeCurrencyExchange.

        Show 4 child fields
        • sourceCurrencystringRequired
        • targetCurrencystringRequired
        • ratestringRequired

          A decimal number written as a string, for example 119.00. The number of decimal places is kept exactly as given.

        • rateDatestring (date)

          A calendar date in ISO 8601 format: YYYY-MM-DD. It must be a real day: 2026-02-30 and 2025-02-29 are refused, 2024-02-29 is accepted.

      • accountingCoststring
      • accountingAccountTypeCodestring

        Type of the accounting account (BT-X-290, ZUGFeRD and Factur-X EXTENDED). CII ram:ReceivableSpecifiedTradeAccountingAccount/ram:TypeCode.

      • invoicePeriodobject

        Invoicing period (BG-14): the period the whole invoice covers. Same shape as a line's Billing period (BG-26).

        Show 3 child fields
        • startDatestring (date)

          A calendar date in ISO 8601 format: YYYY-MM-DD. It must be a real day: 2026-02-30 and 2025-02-29 are refused, 2024-02-29 is accepted.

        • endDatestring (date)

          A calendar date in ISO 8601 format: YYYY-MM-DD. It must be a real day: 2026-02-30 and 2025-02-29 are refused, 2024-02-29 is accepted.

        • descriptionstring

          Description of the invoicing period (BT-X-264, ZUGFeRD and Factur-X EXTENDED). CII ram:BillingSpecifiedPeriod/ram:Description.

Response

A 200 answer carries these fields.

  • schemaVersionstringRequired

    The version of this report format, not of the rule set. Any new field means a new version.

  • contextobjectRequired

    What this check was asked to check: the country whose rules applied, the profile, the organisation's policy with its version, and the files made. Recorded as it was asked, so a report says what it answered.

    Show 5 child fields
    • jurisdictionstring or nullRequired

      The country whose rules apply, as a two-letter ISO 3166 code: the organisation's own country, or DE for the German default that grades every check with no policy of its own. Null when the organisation's country has no pinned rule set of its own, and when a caller asks by name for the document's own label to pick the rulebook.

    • profilestringRequired

      The pinned rule set the country's own files are written and checked under, as the lock names it, for example xrechnung-3.0.2.

    • policy or nullRequired

      The validation policy the check ran under, and its stored version: the organisation's own, or the German default (version null) when it has none. Null only when a caller asks by name for the document's own label to pick the rulebook, as the corpus suites do.

    • renderingsarray of stringRequired

      The files to make and check, by their format id. Empty for a document that arrived: nothing is made.

    • rulebookSelectionstring

      Present when a decision from the invoice and the rules picks the rulebooks, and the policy adds only its extra checks: on every check since 0.26. Absent on an older report the policy's own rulebooks graded.

  • profilesarray of objectRequired

    Which rulebook validated each rendering, and the result. Without a policy: one entry per entry in document.syntax, in the same order. With a policy: one entry per rulebook the policy runs, then per rendering in document.syntax order. A rulebook that did not run because it does not apply to a file is not here but in notApplicable. Empty when document.syntax is empty, because nothing was validated, and under a policy whose every rulebook for the file did not apply.

    Show 13 child fields
    • syntaxstringRequired

      The syntax of the rendering this entry is about. It is one of the values listed in document.syntax.

      One of ubl, cii.
    • verdictstringRequired

      The validator's verdict for this rendering alone, with the same three values as the top-level verdict. To show a result per rulebook, read this field. The top-level verdict is the worst across renderings, so it can differ from this one.

      One of rejected, acceptable-with-findings, clean.
    • namestring or nullRequired

      The name of the matched scenario, verbatim from the validator, for example EN16931 XRechnung (UBL Invoice). null when no scenario matched: the document's label names a profile the pinned configuration does not know, so the validator rejected it without firing a rule. With a policy, null means the chosen rulebook has no scenario for this document (for example, XRechnung Extension has no UBL credit note, and Peppol BIS does not read CII).

    • rulebookstring

      Present only when a policy applies. The rulebook the organisation's policy chose for this run, by its name in the rulebook list. Absent when the document's own label chose the rulebook.

    • strengthstring

      Present only when a policy applies. REQUIRED: this run decides the top-level verdict. OPTIONAL: this run is shown but cannot fail the verdict. Rulebooks the policy turns off do not run and have no entry.

      One of REQUIRED, OPTIONAL.
    • rulesarray of string

      Present only when a policy applies. Every rule id this run fired, as the validator reports it.

    • renderingstring

      Present only when a policy applies. The file this run validated. ubl, cii, en16931-ubl, en16931-cii, extended-cii and peppol are files Certinvo generated; the two en16931- values are the plain EN 16931 versions, and extended-cii is the ZUGFeRD EXTENDED XML. original is the file that was submitted.

      One of ubl, cii, en16931-ubl, en16931-cii, extended-cii, peppol, original.
    • runstring

      Present only when a policy applies. The run's name, in the form <rendering>.<marker>. The validator's report (Prüfbericht) for this run is stored under this name.

    • rulesetstring

      Present only when a policy applies. The pinned ruleset that ran this rulebook. The top-level ruleset names only the run that decided the verdict, so this is where every other run's version is recorded.

    • rulesetReleasestring

      Present only when a policy applies. Which build of ruleset ran. Opaque: never parse it, sort it or read it as a date.

    • rulesetSha256string

      Present only when a policy applies. The checksum of the configuration archive that ran this rulebook.

    • levelsstring

      Present only when a policy applies and the file's own label names a rulebook built on this one (its scenario runs all of this one's rules and more). The name of that rulebook: this run was graded at the severity levels it sets. For example, EN16931 on an XRechnung file is graded at the levels of EN16931 XRechnung, which lowers BR-CL-21 and BR-CL-23 to warnings.

    • sha256string

      The SHA-256 of the exact bytes this run validated, in lower-case hex. The verdict is about this file and no other.

  • rulesetstringRequired

    The pinned rule set that validated the invoice, for example xrechnung-3.0.2. The same invoice can pass one version and fail the next, so read the verdict together with this value.

  • verdictstringRequired

    The verdict for the whole document. rejected: the validator did not accept the invoice, or, under a policy, a required rulebook rejected it or could not check one of its files (see notApplicable). acceptable-with-findings: accepted, and the report lists at least one rule finding, whichever rulebook fired it; this is not a rejection. clean: accepted, and the report lists no rule finding. When several runs decide the result, this is the worst of them. Findings about the file (documentFindings) never change the verdict, and neither does recommendations.

    One of rejected, acceptable-with-findings, clean.
  • documentobjectRequired

    What was read from the submitted file: its source, syntax, invoice number, type code and declared profile. It holds no findings.

    Show 5 child fields
    • sourcestringRequired

      What was submitted. json: canonical invoice JSON, which Certinvo rendered itself. xml and pdf: a finished document. A ZUGFeRD PDF is pdf and also lists a syntax, because the one file carries two documents.

      One of json, xml, pdf.
    • syntaxarray of stringRequired

      The EN 16931 syntaxes this report validated. Canonical JSON lists two, because it is rendered into both UBL and CII and both are validated. A submitted document lists one. Empty when nothing was rendered or read, for example after a canonical schema failure.

    • invoiceNumberstring or nullRequired

      The Invoice number (BT-1), verbatim from the document. null when the document does not carry one, which is normal after a schema failure. A number is never made up to fill the gap.

    • typeCodestring or nullRequired

      The Invoice type code (BT-3), verbatim from the document, or null when it states none. It tells you whether the document is an invoice, a credit note or a correction. It is always read from the file, never inferred from the root element. In UBL it comes from InvoiceTypeCode or CreditNoteTypeCode, depending on the root; in CII from ExchangedDocument. null is normal after a schema failure.

    • profileobject or nullRequired

      What the document declares about itself: the Specification identifier (BT-24) and the Business process type (BT-23), as the sender wrote them. null for canonical invoice JSON, which declares nothing. This is not the rulebook that validated the document: that is in profiles, and the pinned rule set is in ruleset. The three can differ.

      Show 2 child fields
      • customizationIdstring or nullRequired

        The Specification identifier (BT-24), verbatim. The validator uses it to choose the rulebook. null when the document states none.

      • profileIdstring or nullRequired

        The Business process type (BT-23), verbatim. Often absent, and then null, never an empty string.

  • schemaFindingsarray of objectRequired

    Structural errors in canonical invoice JSON. When this list has entries, the invoice did not reach the validator.

    Show 3 child fields
    • pathstringRequired

      The JSON path of the failing value (Ajv's instancePath), for example /lines/0/quantity. An empty string means the document itself.

    • keywordstringRequired

      The schema keyword that failed, for example required, type or pattern. Map it to a sentence. For a keyword you do not recognise, show a generic message, never nothing.

    • paramsobjectRequired

      Ajv's parameters for that keyword, for example { "missingProperty": "vatId" }. Use them to fill the placeholders in your message.

  • ruleFindingsarray of objectRequired

    The findings the validator reported for the rules it applied.

    Show 7 child fields
    • termsarray of objectRequired

      The business terms this rule is about, in the order the rule's own text names them, each once. Empty when the rule text names none.

      Show 2 child fields
      • idstringRequired

        The term's id as the rule's own text writes it, for example BT-115.

      • name or nullRequired

        The term's name in German and English, from KoSIT's pinned XRechnung visualization tables. Null when those tables do not name it; Certinvo never writes a name of its own.

    • decidesboolean

      Present only when a policy applies. true: a required run fired this finding, so the verdict rests on it. false: only optional rulebooks fired it; it is listed with its text but does not decide the verdict.

    • rulebooksarray of string

      Present only when a policy applies. Every rulebook that fired this finding, by its name in the rulebook list.

    • rulestringRequired

      The rule id exactly as the validator reports it in its code attribute: a rulebook's rule id, or the XML schema processor's code when the file breaks its schema. The pattern checks the shape only; matching it does not prove the rule exists.

    • locationstringRequired

      Where in the invoice the validator was looking, in its own words, for example /Invoice/TaxTotal. It is not a JSON path: it points into the XML Certinvo generated, not into the canonical JSON.

    • severitystringRequired

      How serious the rule set says this finding is. The value is the finding's level in the validator report, replaced by the scenario's custom level when the scenario sets one for this rule. It matches the report a customer can download. The same rule can have different severities in UBL and CII. unspecified: the report gave no level, or one not listed here. Severity is not the verdict: read acceptance from verdict.

      One of error, warning, information, unspecified.
    • textobjectRequired

      The finding's wording in German (de) and English (en), each with its source. A language is null when no wording at all could be found for it. At least one language is always present.

      Show 2 child fields
      • deobjectRequired

        One language's wording for one finding, and where it came from. Show these texts as given; do not compose your own.

        Show 4 child fields
        • sourcestringRequired

          Where the words come from, per finding and per language. validator: the validator's own text for this rule, verbatim, in this language. untranslated: the validator's text verbatim in the other language, because this language does not exist upstream; your interface must say so and must not present it as this language. certinvo: Certinvo's own text, for a finding where no rule fired and there is nothing to quote. catalog: retired and no longer produced; it stays in the list so that older reports still validate.

          One of catalog, validator, untranslated, certinvo.
        • messagestringRequired

          What the file does not satisfy, in one sentence. It states the requirement and the location. It never advises on the customer's taxes.

        • fixstring or nullRequired

          Always null. The field is kept so that existing clients that parse it do not break.

        • legalNoticestring or nullRequired

          The legal notice under the German Tax Advisory Act (StBerG) that must be shown with the finding. Present on every finding, in both languages. It travels with the finding so that any interface that renders the finding also shows it.

      • enobjectRequired

        One language's wording for one finding, and where it came from. Show these texts as given; do not compose your own.

        Show 4 child fields
        • sourcestringRequired

          Where the words come from, per finding and per language. validator: the validator's own text for this rule, verbatim, in this language. untranslated: the validator's text verbatim in the other language, because this language does not exist upstream; your interface must say so and must not present it as this language. certinvo: Certinvo's own text, for a finding where no rule fired and there is nothing to quote. catalog: retired and no longer produced; it stays in the list so that older reports still validate.

          One of catalog, validator, untranslated, certinvo.
        • messagestringRequired

          What the file does not satisfy, in one sentence. It states the requirement and the location. It never advises on the customer's taxes.

        • fixstring or nullRequired

          Always null. The field is kept so that existing clients that parse it do not break.

        • legalNoticestring or nullRequired

          The legal notice under the German Tax Advisory Act (StBerG) that must be shown with the finding. Present on every finding, in both languages. It travels with the finding so that any interface that renders the finding also shows it.

  • documentFindingsarray of objectRequired

    Findings about the file as a document rather than the invoice inside it: a hybrid PDF whose PDF and XML disagree, its PDF/A-3 container, checks against a named buyer, and the calculation check add-on. Always present and usually empty. An empty list means there is no finding. It does not mean every check ran: a plain XML file has no PDF half and no container, so it never gets a PDF finding.

    Show 5 child fields
    • kindstringRequired

      What the finding is about. For every check, the good outcome is no finding at all. No kind changes verdict. Buyer checks run only when the request names a customer (customer), for the terms its country's rules ask of a buyer of its type in a declared format: today a public buyer in Germany's Buyer reference (BT-10), a Leitweg-ID. buyer-reference-not-a-leitweg-id: the Buyer reference (BT-10) does not have the form or check digits of a Leitweg-ID. buyer-reference-not-the-buyers: BT-10 is a Leitweg-ID, but not the one saved for this buyer in the customer list. buyer-requirements-not-checked: the buyer check did not happen. For buyer findings, about is buyerReference and xmlStates is the stated BT-10. PDF and XML comparison: pdf-xml-amounts-disagree: the XML states an amount that the PDF's text layer does not; about is that amount's business term, for example BT-115. pdf-xml-not-compared: the comparison did not happen, which does not mean the two agree; about is null when nothing on the page was compared, else the one term that was not: BT-115 when the page of an invoice labels no amount as the amount due, BT-84 when the account could not be compared. pdf-xml-amounts-disagree about BT-115 is also written when the amount the page labels as due is not the XML's, even where the XML's amount is printed as another total. pdf-xml-page-leaves-out: the page a company supplied for its PDF does not state the XML's invoice number, issue date or buyer name; about is BT-1, BT-2 or BT-44 and xmlStates the XML's value. The PDF is made, and the finding is carried with it. mapping-new-fields: the customer file this invoice was mapped from had columns its mapping has never seen, whose values were not read. mapping-missing-fields: it lacked columns its mapping reads. For both, about and xmlStates are null and the text names each column. PDF/A-3 container: pdf-envelope-not-conforming: veraPDF found the PDF is not the PDF/A-3 container ZUGFeRD requires. pdf-envelope-not-validated: veraPDF did not run (for example, the tool is missing), so the container was not checked; never treat this as a pass. Calculation check (an add-on, only for companies that have it switched on): arithmetic-differs: an amount does not equal the exact figure computed from the amounts it is made from, and the official validator does not accept that difference. arithmetic-differs-accepted: the same, but the official validator accepts it (for example a category tax amount off by less than 1, or a total that repeats a difference the invoice already states in the amount it is made from). arithmetic-not-checked: an amount, or the whole invoice, could not be recomputed; this is never a statement that it adds up. For calculation findings, about is the business term (for example BT-117), xmlStates is the stated amount (null when the invoice states none), and the text states the exact figure and the difference. account-kind-calculated: a UBL invoice states the Payment account identifier (BT-84) without saying whether it is an IBAN, so Certinvo calculated the kind from the country's layout in SWIFT's IBAN registry and the ISO 7064 MOD 97-10 check digits. One per account; about is BT-84, xmlStates is the account as stated, and the text says which kind was calculated. A CII invoice states the kind, so it never has this finding. pdf-xml-account-disagree: the XML inside a hybrid PDF pays to a Payment account identifier (BT-84) that the PDF's text layer does not state, while the page states another IBAN; about is BT-84, xmlStates is the XML's account and pdfStates the IBANs on the page. A page that states no IBAN, an account that is not an IBAN, and a page that also states an IBAN the XML does not pay to are each pdf-xml-not-compared about BT-84. Run only when the company turned this check on. seller-account-changed: a received invoice pays to an account (BT-84) that none of the same seller's earlier received invoices in this company stated, the seller matched by its VAT identifier (BT-31), else its tax registration identifier (BT-32); about is BT-84, xmlStates is the new account, and the text names the earlier ones. The VAT identifier is matched without spaces and letter case. seller-account-not-compared: there was nothing to compare with: the seller's first received invoice, an invoice stating neither BT-31 nor BT-32, or an invoice stating no account; about is BT-84 and xmlStates the account, or null. Run only when the company turned this check on.

      One of pdf-xml-amounts-disagree, pdf-xml-not-compared, pdf-xml-page-leaves-out, mapping-new-fields, mapping-missing-fields, pdf-envelope-not-conforming, pdf-envelope-not-validated, buyer-reference-not-a-leitweg-id, buyer-reference-not-the-buyers, buyer-requirements-not-checked, arithmetic-differs, arithmetic-differs-accepted, arithmetic-not-checked, account-kind-calculated, pdf-xml-account-disagree, seller-account-changed, seller-account-not-compared.
    • aboutstring or nullRequired

      Which value the finding is about, named by its XML element, for example DuePayableAmount or GrandTotalAmount. buyerReference on buyer findings. The business term, for example BT-117, on calculation findings. null when nothing was compared, and on container findings.

    • xmlStatesstring or nullRequired

      The value the embedded XML states, verbatim, as a decimal string. On buyer findings, the stated BT-10. null when nothing was compared.

    • pdfStatesarray of stringRequired

      The amounts the PDF's text layer states, verbatim (1.190,00 stays 1.190,00). A list, because the check does not decide which amount on the page is the total. Empty when the text layer states none, and on every container and buyer finding.

    • textobjectRequired

      The finding's wording in German (de) and English (en), each with its source. A language is null when no wording at all could be found for it. At least one language is always present.

      Show 2 child fields
      • deobjectRequired

        One language's wording for one finding, and where it came from. Show these texts as given; do not compose your own.

        Show 4 child fields
        • sourcestringRequired

          Where the words come from, per finding and per language. validator: the validator's own text for this rule, verbatim, in this language. untranslated: the validator's text verbatim in the other language, because this language does not exist upstream; your interface must say so and must not present it as this language. certinvo: Certinvo's own text, for a finding where no rule fired and there is nothing to quote. catalog: retired and no longer produced; it stays in the list so that older reports still validate.

          One of catalog, validator, untranslated, certinvo.
        • messagestringRequired

          What the file does not satisfy, in one sentence. It states the requirement and the location. It never advises on the customer's taxes.

        • fixstring or nullRequired

          Always null. The field is kept so that existing clients that parse it do not break.

        • legalNoticestring or nullRequired

          The legal notice under the German Tax Advisory Act (StBerG) that must be shown with the finding. Present on every finding, in both languages. It travels with the finding so that any interface that renders the finding also shows it.

      • enobjectRequired

        One language's wording for one finding, and where it came from. Show these texts as given; do not compose your own.

        Show 4 child fields
        • sourcestringRequired

          Where the words come from, per finding and per language. validator: the validator's own text for this rule, verbatim, in this language. untranslated: the validator's text verbatim in the other language, because this language does not exist upstream; your interface must say so and must not present it as this language. certinvo: Certinvo's own text, for a finding where no rule fired and there is nothing to quote. catalog: retired and no longer produced; it stays in the list so that older reports still validate.

          One of catalog, validator, untranslated, certinvo.
        • messagestringRequired

          What the file does not satisfy, in one sentence. It states the requirement and the location. It never advises on the customer's taxes.

        • fixstring or nullRequired

          Always null. The field is kept so that existing clients that parse it do not break.

        • legalNoticestring or nullRequired

          The legal notice under the German Tax Advisory Act (StBerG) that must be shown with the finding. Present on every finding, in both languages. It travels with the finding so that any interface that renders the finding also shows it.

  • rulesetReleasestringRequired

    The build of the rule set that validated the invoice, for example v2026-08-31. Two builds can share one ruleset name and still differ in rules and severities. Treat this value as an opaque label: do not parse it, validate it as a date or sort on it.

  • rulesetSha256stringRequired

    The SHA-256 checksum of the validator configuration archive, as the publisher shipped it, in lower-case hex. It identifies the exact rules that were used.

  • engineVersionstringRequired

    The version of the KoSIT validator program that ran. A fix in the validator can change verdicts even when the rules stay the same.

  • engineSha256stringRequired

    The SHA-256 checksum of the validator program file (the jar), in lower-case hex. A version names a release; the checksum identifies the exact file.

  • canonicalSnapshotHashstring or null

    The SHA-256 of the canonical invoice this check used, over its RFC 8785 serialisation, in lower-case hex. Two spellings of one invoice give one hash, and any changed value gives another. For an invoice handed in, it names the invoice after the provenance a caller may not set is removed. For a document that arrived, it names the canonical invoice read from it. Null when there is none: an arrived document that could not be read into the model, or a refused payload that RFC 8785 cannot write.

  • snapshotHashAlgorithmstring

    How canonicalSnapshotHash was made: SHA-256 over the RFC 8785 serialisation, UTF-8.

  • writerSha256string

    The SHA-256 of the Certinvo engine source that wrote, read back and graded the files, in lower-case hex. engineVersion and engineSha256 name the validator; this names our own program. It changes whenever the engine changes.

  • pdfToolsobject

    The pinned versions of the tools that build a PDF (Mustang) and check it (veraPDF).

    Show 2 child fields
    • mustangstringRequired
    • verapdfstringRequired
  • refusedarray of object

    The files that were not written because their syntax cannot carry this invoice, with the reason. A refused file is not validated and does not decide the verdict.

    Show 3 child fields
    • renderingstringRequired

      The file, by its format id.

    • becausestringRequired

      Why, in a sentence a customer can act on. Never a rule id.

    • reasonsarray of objectRequired

      The same reasons as codes, in the order because states them.

      Show 2 child fields
      • codestringRequired
      • valuesobject
  • notApplicablearray of object

    Present only when a policy applies. The rulebooks the policy turns on that did not run on a file, because their rules apply only to a file whose own Specification identifier (BT-24) names them, and this file's does not. Not a result: such a rulebook never accepts a file. If it is REQUIRED, the invoice is rejected. Empty when every rulebook the policy turns on applied.

    Show 4 child fields
    • rulebookstringRequired

      The rulebook, by its name in the rulebook list.

    • strengthstringRequired

      How much the policy says it counts. REQUIRED makes the invoice rejected, because a required rulebook could not check this file.

      One of REQUIRED, OPTIONAL.
    • renderingstringRequired

      The file it did not apply to, named as rendering on a profile.

      One of ubl, cii, en16931-ubl, en16931-cii, extended-cii, peppol, original.
    • syntaxstringRequired

      The syntax of that file.

      One of ubl, cii.
  • omissionsarray of object

    What each validated file does not hold of the invoice, read back from the file itself. Empty when every file holds everything.

    Show 4 child fields
    • renderingstringRequired

      The file, by its format id.

    • whatstringRequired

      What the file does not hold, in a sentence a customer can act on. Never a rule id.

    • codestringRequired

      The same fact as a code.

    • valuesobject
  • recommendationsobject

    Not part of the validation. For information only, and it never changes verdict. Present when the rulebooks were selected automatically: the formats picked for this invoice, the fields to add, and where to read the rules that name them.

    Show 3 child fields
    • formatsarray of stringRequired

      The rulebooks picked for this invoice, by name, such as EN16931 XRechnung. Empty when none was picked, and the invoice was validated under the organisation's policy.

    • addFieldsarray of objectRequired

      Each business term a rule names that the invoice leaves empty, such as a purchase order reference. Empty when there is none.

      Show 3 child fields
      • termstringRequired

        The EN 16931 business term, such as BT-13.

      • alternativesarray of string

        When any one of these terms is enough, all of them, term first.

      • labelobjectRequired

        The field's name in German and in English, with its business term.

        Show 2 child fields
        • destringRequired
        • enstringRequired
    • referencesarray of objectRequired

      Where to read the rules behind formats and addFields, each once.

      Show 2 child fields
      • labelstringRequired

        The source and the place in it: the name of the law and its article.

      • urlstringRequired

        Where to read it.

  • skippedarray of object

    Present when the rulebooks were selected automatically and the organisation turned on, in its own settings, an extra check that graded no file: each such check, and why. Not validated, and it never changes verdict.

    Show 2 child fields
    • rulebookstringRequired
    • whystringRequired

      FILE: its rules are for none of the files checked. RULES: the rules matched for this invoice shut it out.

      One of FILE, RULES.

Status codes

Status Meaning
200 With validateOnly, the one invoice’s check report. Nothing was kept.
202 The operation was accepted. Poll or stream the returned id.
400 The input is invalid (invalid_operation), a policy or mapping reference is invalid (policyVersion not a version this company has, unknown_policy_version, or not the current one, policy_version_superseded), the named customer is not one this company saved (unknown_customer), the mapped file cannot be read completely (unreadable_file, with the reader’s reason in detail; also for a file sent without mappingVersion that nothing places, when the mapping for its closest format can say why), a count/decoded-data limit is exceeded (operation_too_large), or an item is a business document that claims no payment, such as a pro forma (type code 325), which is made as a PDF only at POST /v1/business-documents (not_an_invoice). Nothing was accepted.
401 No usable credential was sent (invalid_credentials).
403 No workspace plan is in force (workspace_plan_unavailable), the workspace is closed (workspace_closed), or conversion is not included (operation_not_included).
404 The named mapping config does not exist for this company (unknown_mapping_config). Nothing was accepted.
409 The idempotency key was used for different request bytes (idempotency_key_reused), a mapped file sent without mappingVersion is read by more than one frozen mapping, and they would make different invoices (several_mappings_fit, naming them and the file’s layout in detail; POST /v1/mappings/layout-choices answers it once for that layout), a mapped file’s values are now written another way than its mapping declares (value_format_changed, naming each column in detail; nothing was read the new way), or mappingVersion names a retired mapping (mapping_retired, naming what replaced it in detail). Nothing was accepted.
413 The encoded operation envelope exceeds 14 MB (operation_too_large), or a mapped file expands past the reader limit (file_too_large_to_read). Nothing was accepted.
422 A mapped file sent without mappingVersion is read by no frozen mapping of this company and comes close to none (no_mapping_fits; detail.format is the format it was recognised as). Create a mapping for it, then send it again. Or outputs turns off a file the named customer needs (customer_needs_file; the message names the customer and the file). Or the files outputs asks for are files the validation policy does not allow (formats_not_allowed; the message is the policy’s reason). Or keepPage asks to keep a page that cannot be kept (no PDF, a temporary conversion, or a PDF holding more than one invoice) (page_not_kept; the message says which). Or delivery names a file this conversion does not make (delivery_file_not_made; the message names the file). Nothing was accepted.
429 The current plan assignment has no remaining document quota (document_quota_exceeded). Nothing was accepted.
502 The reader for a mapped file could not run (engine_unavailable). Nothing was accepted. It says nothing about the file.
503 The operation could not be stored (store_unavailable). Nothing was accepted and nothing was validated. It says nothing about the invoices; send it again.
POST/v1/conversions
Example
curl -X POST https://api.certinvo.com/v1/conversions \
  -H "Authorization: Bearer $CERTINVO_API_KEY" \
  -H "Content-Type: application/json" \
  --data-binary @body.json
import { readFile } from 'node:fs/promises'

const response = await fetch(`https://api.certinvo.com/v1/conversions`, {
  method: 'POST',
  headers: {
    Authorization: `Bearer ${process.env.CERTINVO_API_KEY}`,
    'Content-Type': 'application/json',
  },
  body: await readFile('body.json'),
})
console.log(response.status, await response.json())
import os

import requests

response = requests.post(
    "https://api.certinvo.com/v1/conversions",
    headers={"Authorization": f"Bearer {os.environ['CERTINVO_API_KEY']}", "Content-Type": "application/json"},
    data=open("body.json", "rb"),
)
print(response.status_code, response.text)
200
application/json
{
  "schemaVersion": "0.32",
  "context": {
    "jurisdiction": "string",
    "profile": "string",
    "policy": "string",
    "renderings": [
      "string"
    ],
    "rulebookSelection": "automatic"
  },
  "profiles": [
    {
      "syntax": "ubl",
      "verdict": "rejected",
      "name": "string",
      "rulebook": "string",
      "strength": "REQUIRED",
      "rules": [
        "string"
      ],
      "rendering": "ubl",
      "run": "string",
      "ruleset": "string",
      "rulesetRelease": "string",
      "rulesetSha256": "string",
      "levels": "string",
      "sha256": "string"
    }
  ],
  "ruleset": "string",
  "verdict": "rejected",
  "document": {
    "source": "json",
    "syntax": [
      "ubl"
    ],
    "invoiceNumber": "string",
    "typeCode": "string",
    "profile": {
      "customizationId": "string",
      "profileId": "string"
    }
  },
  "schemaFindings": [
    {
      "path": "string",
      "keyword": "string",
      "params": {}
    }
  ],
  "ruleFindings": [
    {
      "terms": [
        {
          "id": "string",
          "name": "string"
        }
      ],
      "decides": true,
      "rulebooks": [
        "string"
      ],
      "rule": "string",
      "location": "string",
      "severity": "error",
      "text": {
        "de": {
          "source": "catalog",
          "message": "string",
          "fix": "string",
          "legalNotice": "string"
        },
        "en": {
          "source": "catalog",
          "message": "string",
          "fix": "string",
          "legalNotice": "string"
        }
      }
    }
  ],
  "documentFindings": [
    {
      "kind": "pdf-xml-amounts-disagree",
      "about": "string",
      "xmlStates": "string",
      "pdfStates": [
        "string"
      ],
      "text": {
        "de": {
          "source": "catalog",
          "message": "string",
          "fix": "string",
          "legalNotice": "string"
        },
        "en": {
          "source": "catalog",
          "message": "string",
          "fix": "string",
          "legalNotice": "string"
        }
      }
    }
  ],
  "rulesetRelease": "string",
  "rulesetSha256": "string",
  "engineVersion": "string",
  "engineSha256": "string",
  "canonicalSnapshotHash": "string",
  "snapshotHashAlgorithm": "sha256-rfc8785",
  "writerSha256": "string",
  "pdfTools": {
    "mustang": "string",
    "verapdf": "string"
  },
  "refused": [
    {
      "rendering": "string",
      "because": "string",
      "reasons": [
        {
          "code": "string",
          "values": {}
        }
      ]
    }
  ],
  "notApplicable": [
    {
      "rulebook": "string",
      "strength": "REQUIRED",
      "rendering": "ubl",
      "syntax": "ubl"
    }
  ],
  "omissions": [
    {
      "rendering": "string",
      "what": "string",
      "code": "string",
      "values": {}
    }
  ],
  "recommendations": {
    "formats": [
      "string"
    ],
    "addFields": [
      {
        "term": "string",
        "alternatives": [
          "string"
        ],
        "label": {
          "de": "string",
          "en": "string"
        }
      }
    ],
    "references": [
      {
        "label": "string",
        "url": "string"
      }
    ]
  },
  "skipped": [
    {
      "rulebook": "string",
      "why": "FILE"
    }
  ]
}
Success response
POST
/v1/conversions
Convert one or more invoices
All
›AuthenticationRequiredBearerAuth

Provide your API key in the Authorization: Bearer <key> header. Keys are stored locally in your browser.

›Headers2
›Bodyapplication/json
›Code Snippet
curl -X POST "https://api.certinvo.com/v1/conversions" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "buyerType": "business",
  "companyFacts": {
    "organisationType": "business",
    "establishedCountry": "string",
    "useAddressAsEstablishment": true,
    "facts": {}
  },
  "policyVersion": ...'
Response

No request sent yet

Configure parameters and click Send to view the response.

Navigation

Type to search…

↑↓ navigate↵ selectEsc close