diff --git a/app/Services/EDocument/Standards/OrderXDocument.php b/app/Services/EDocument/Standards/OrderXDocument.php index 541308b447..a0fe144527 100644 --- a/app/Services/EDocument/Standards/OrderXDocument.php +++ b/app/Services/EDocument/Standards/OrderXDocument.php @@ -246,7 +246,7 @@ class OrderXDocument extends AbstractService } elseif (in_array($this->document->client->country->iso_3166_2, ["ES-CE", "ES-ML"])) { $tax_type = OrderDutyTaxFeeCategories::TAX_FOR_PRODUCTION_SERVICES_AND_IMPORTATION_IN_CEUTA_AND_MELILLA; } else { - nlog("Unkown tax case for xinvoice"); + // nlog("Unkown tax case for xinvoice"); $tax_type = OrderDutyTaxFeeCategories::STANDARD_RATE; } } diff --git a/app/Services/EDocument/Standards/Validation/Zugferd/FACTUR-X_EXTENDED.xslt b/app/Services/EDocument/Standards/Validation/Zugferd/FACTUR-X_EXTENDED.xslt new file mode 100644 index 0000000000..0c3310d3f6 --- /dev/null +++ b/app/Services/EDocument/Standards/Validation/Zugferd/FACTUR-X_EXTENDED.xslt @@ -0,0 +1,25222 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + / + + + + + + *: + + [namespace-uri()=' + + '] + + + + [ + + ] + + + + / + + @ + + + @*[local-name()=' + + ' and namespace-uri()=' + + '] + + + + + + + + + / + + + [ + + ] + + + + /@ + + + + + + + + / + + + [ + + ] + + + + /@ + + + + + + + + + + + + + + + + + + + + + + + + . + + + + +U + + U + + + + U. + + n + + + + U. + + _ + + _ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Schema for Factur-X; 1.07.3; EN16931-CONFORMANT-EXTENDED + + + + + + + + + + + + + + FX-SCH-A-000280 + + + + + [BR-52]-Each Additional supporting document (BG-24) shall contain a Supporting document reference (BT-122). + + + + + + + + + + + + + + + + + + + + + + + FX-SCH-A-000047 + + + + + [BR-45]-Each VAT breakdown (BG-23) shall have a VAT category taxable amount (BT-116). + + + + + + + + + + FX-SCH-A-000048 + + + + + [BR-46]-Each VAT breakdown (BG-23) shall have a VAT category tax amount (BT-117). + + + + + + + + + + FX-SCH-A-000049 + + + + + [BR-47]-Each VAT breakdown (BG-23) shall be defined through a VAT category code (BT-118). + + + + + + + + + + FX-SCH-A-000050 + + + + + [BR-48]-Each VAT breakdown (BG-23) shall have a VAT category rate (BT-119), except if the Invoice is not subject to VAT. + + + + + + + + + + FX-SCH-A-000051 + + + + + [BR-CO-03]-Value added tax point date (BT-7) and Value added tax point date code (BT-8) are mutually exclusive. + + + + + + + + + + FX-SCH-A-000053 + + + + + [BR-DEC-19]-The allowed maximum number of decimals for the VAT category taxable amount (BT-116) is 2. + + + + + + + + + + FX-SCH-A-000054 + + + + + [BR-DEC-20]-The allowed maximum number of decimals for the VAT category tax amount (BT-117) is 2. + + + + + + + + + + + + + + + + + + + + + + + FX-SCH-A-000298 + + + + + [BR-FXEXT-Z-08]-In a VAT breakdown (BG-23) where VAT category code (BT-118) is equal to “Z” ("Zero Rated"), Absolute Value of (VAT category taxable amount (BT-116) - ∑ Invoice line net amounts (BT-131) + Σ Document level allowance amounts (BT-92) - Σ Document level charge amounts (BT-99) - Σ Logistics Service fee amounts (BT-x-272)) <= 0,01 * ((Number of line net amounts (BT-131) + Number of Document level allowance amounts (BT-92) + Number of Document level charge amounts (BT-99) + Number of Logistics Service fee amounts (BT-X-272)), where the VAT category code (BT-151, BT-95, BT-102, BT-X-273) is "Zero Rated" (Z). + + + + + + + + + + FX-SCH-A-000055 + + + + + [BR-Z-09]-The VAT category tax amount (BT-117) in a VAT breakdown (BG-23) where VAT category code (BT-118) is "Zero rated" shall equal 0 (zero). + + + + + + + + + + FX-SCH-A-000056 + + + + + [BR-Z-10]-A VAT Breakdown (BG-23) with VAT Category code (BT-118) "Zero rated" shall not have a VAT exemption reason code (BT-121) or VAT exemption reason text (BT-120). + + + + + + + + + + + + + + + + + + + + + + + FX-SCH-A-000058 + + + + + [BR-S-10]-A VAT Breakdown (BG-23) with VAT Category code (BT-118) "Standard rate" shall not have a VAT exemption reason code (BT-121) or VAT exemption reason text (BT-120). + + + + + + + + + + FX-SCH-A-000299 + + + + + [BR-FXEXT-S-08]-For each different value of VAT category rate (BT-119) where the VAT category code (BT-118) is equal to “S” ("Standard rated"), Absolute Value of (VAT category taxable amount (BT-116) - ∑ Invoice line net amounts (BT-131) + Σ Document level allowance amounts (BT-92) - Σ Document level charges amounts (BT-99) - Σ Logistics Service fee amounts (BT-x-272)) <= 0,01 * ((Number of line net amounts (BT-131) + Number of Document level allowance amounts (BT-92) + Number of Document level charge amounts (BT-99) + Number of Logistics Service fee amounts (BT-X-272)), where the VAT category code (BT-151, BT-95, BT-102, BT-X-273) is "Standard rated" (S) and the VAT rate (BT-152, BT-96, BT-103, BT-X-274) equals the VAT category rate (BT-119). + + + + + + + + + + + + + + + + + + + + + + + FX-SCH-A-000300 + + + + + [BR-FXEXT-S-09]-For each different value of VAT category rate (BT-119) where the VAT category code (BT-118) is equal to “S” ("Standard rated"), Absolute Value of (VAT category tax amount (BT-117) - VAT category taxable amount (BT-116) multiplied by the VAT category rate (BT-119)/100) <= 0,01 * ((Number of line net amounts (BT-131) + Number of Document level allowance amounts (BT-92) + Number of Document level charge amounts (BT-99) + Number of Logistics Service fee amounts (BT-X-272)), where the VAT category code (BT-151, BT-95, BT-102, BT-X-273) is " Standard rated " (S), and the VAT rate (BT-152, BT-96, BT-103, BT-X-274) equals the VAT category rate (BT-119). + + + + + + + + + + + + + + + + + + + + + + + FX-SCH-A-000059 + + + + + [BR-29]-If both Invoicing period start date (BT-73) and Invoicing period end date (BT-74) are given then the Invoicing period end date (BT-74) shall be later or equal to the Invoicing period start date (BT-73). + + + + + + + + + + FX-SCH-A-000060 + + + + + [BR-CO-19]-If Invoicing period (BG-14) is used, the Invoicing period start date (BT-73) or the Invoicing period end date (BT-74) shall be filled, or both. + + + + + + + + + + + + + + + + + + + + + + + FX-SCH-A-000061 + + + + + [BR-31]-Each Document level allowance (BG-20) shall have a Document level allowance amount (BT-92). + + + + + + + + + + FX-SCH-A-000062 + + + + + [BR-32]-Each Document level allowance (BG-20) shall have a Document level allowance VAT category code (BT-95). + + + + + + + + + + FX-SCH-A-000063 + + + + + [BR-33]-Each Document level allowance (BG-20) shall have a Document level allowance reason (BT-97) or a Document level allowance reason code (BT-98). + + + + + + + + + + FX-SCH-A-000064 + + + + + [BR-CO-05]-Document level allowance reason code (BT-98) and Document level allowance reason (BT-97) shall indicate the same type of allowance. + + + + + + + + + + FX-SCH-A-000065 + + + + + [BR-CO-21]-Each Document level allowance (BG-20) shall contain a Document level allowance reason (BT-97) or a Document level allowance reason code (BT-98), or both. + + + + + + + + + + FX-SCH-A-000066 + + + + + [BR-DEC-01]-The allowed maximum number of decimals for the Document level allowance amount (BT-92) is 2. + + + + + + + + + + FX-SCH-A-000067 + + + + + [BR-DEC-02]-The allowed maximum number of decimals for the Document level allowance base amount (BT-93) is 2. + + + + + + + + + + + + + + + + + + + + + + + FX-SCH-A-000068 + + + + + [BR-36]-Each Document level charge (BG-21) shall have a Document level charge amount (BT-99). + + + + + + + + + + FX-SCH-A-000069 + + + + + [BR-37]-Each Document level charge (BG-21) shall have a Document level charge VAT category code (BT-102). + + + + + + + + + + FX-SCH-A-000070 + + + + + [BR-38]-Each Document level charge (BG-21) shall have a Document level charge reason (BT-104) or a Document level charge reason code (BT-105). + + + + + + + + + + FX-SCH-A-000071 + + + + + [BR-CO-06]-Document level charge reason code (BT-105) and Document level charge reason (BT-104) shall indicate the same type of charge. + + + + + + + + + + FX-SCH-A-000072 + + + + + [BR-CO-22]-Each Document level charge (BG-21) shall contain a Document level charge reason (BT-104) or a Document level charge reason code (BT-105), or both. + + + + + + + + + + FX-SCH-A-000073 + + + + + [BR-DEC-05]-The allowed maximum number of decimals for the Document level charge amount (BT-99) is 2. + + + + + + + + + + FX-SCH-A-000074 + + + + + [BR-DEC-06]-The allowed maximum number of decimals for the Document level charge base amount (BT-100) is 2. + + + + + + + + + + + + + + + + + + + + + + + FX-SCH-A-000199 + + + + + [BR-54]-Each Item attribute (BG-32) shall contain an Item attribute name (BT-160) and an Item attribute value (BT-161). + + + + + + + + + + + + + + + + + + + + + + + FX-SCH-A-000345 + warning + + + + + [BR-FXEXT-04]-To ensure automated processing of the article attributes without bilateral reconciliation, only values from the code list UNTDED 6313+Factur-X-Extension should be used. + + + + + + + + + + + + + + + + + + + + + + + FX-SCH-A-000281 + + + + + [BR-51]-In accordance with card payments security standards an invoice should never include a full card primary account number (BT-87). At the moment PCI Security Standards Council has defined that the first 6 digits and last 4 digits are the maximum number of digits to be shown. + + + + + + + + + + + + + + + + + + + + + + + FX-SCH-A-000301 + + + + + [BR-FXEXT-02]-If the invoice line item free text subject code (BT-X-10) is specified, either the coded invoice line item free text (BT-X-9) or the invoice line item free text (BT-127) must be specified, or both. If both BT-X-9 and BT-127 are specified, both must have the same meaning. + + + + + + + + + + + + + + + + + + + + + + + FX-SCH-A-000200 + + + + + [BR-21]-Each Invoice line (BG-25) shall have an Invoice line identifier (BT-126). + + + + + + + + + + FX-SCH-A-000201 + + + + + [BR-22]-Each Invoice line (BG-25) shall have an Invoiced quantity (BT-129). + + + + + + + + + + FX-SCH-A-000202 + + + + + [BR-23]-An Invoice line (BG-25) shall have an Invoiced quantity unit of measure code (BT-130). + + + + + + + + + + FX-SCH-A-000203 + + + + + [BR-24]-Each Invoice line (BG-25) shall have an Invoice line net amount (BT-131). + + + + + + + + + + FX-SCH-A-000204 + + + + + [BR-25]-Each Invoice line (BG-25) shall contain the Item name (BT-153). + + + + + + + + + + FX-SCH-A-000205 + + + + + [BR-26]-Each Invoice line (BG-25) shall contain the Item net price (BT-146). + + + + + + + + + + FX-SCH-A-000206 + + + + + [BR-27]-The Item net price (BT-146) shall NOT be negative. + + + + + + + + + + FX-SCH-A-000207 + + + + + [BR-28]-The Item gross price (BT-148) shall NOT be negative. + + + + + + + + + + FX-SCH-A-000208 + + + + + [BR-64]-The Item standard identifier (BT-157) shall have a Scheme identifier. + + + + + + + + + + FX-SCH-A-000209 + + + + + [BR-65]-The Item classification identifier (BT-158) shall have a Scheme identifier. + + + + + + + + + + FX-SCH-A-000210 + + + + + [BR-CO-04]-Each Invoice line (BG-25) shall be categorized with an Invoiced item VAT category code (BT-151). + + + + + + + + + + FX-SCH-A-000211 + + + + + [BR-DEC-23]-The allowed maximum number of decimals for the Invoice line net amount (BT-131) is 2. + + + + + + + + + + + + + + + + + + + + + + + FX-SCH-A-000075 + + + + + [BR-17]-The Payee name (BT-59) shall be provided in the Invoice, if the Payee (BG-10) is different from the Seller (BG-4). + + + + + + + + + + + + + + + + + + + + + + + FX-SCH-A-000076 + + + + + [BR-18]-The Seller tax representative name (BT-62) shall be provided in the Invoice, if the Seller (BG-4) has a Seller tax representative party (BG-11). + + + + + + + + + + FX-SCH-A-000077 + + + + + [BR-19]-The Seller tax representative postal address (BG-12) shall be provided in the Invoice, if the Seller (BG-4) has a Seller tax representative party (BG-11). + + + + + + + + + + FX-SCH-A-000078 + + + + + [BR-20]-The Seller tax representative postal address (BG-12) shall contain a Tax representative country code (BT-69), if the Seller (BG-4) has a Seller tax representative party (BG-11). + + + + + + + + + + FX-SCH-A-000079 + + + + + [BR-56]-Each Seller tax representative party (BG-11) shall have a Seller tax representative VAT identifier (BT-63). + + + + + + + + + + + + + + + + + + + + + + + FX-SCH-A-000001 + + + + + [BR-CO-26]-In order for the buyer to automatically identify a supplier, the Seller identifier (BT-29), the Seller legal registration identifier (BT-30) and/or the Seller VAT identifier (BT-31) shall be present. + + + + + + + + + + + + + + + + + + + + + + + FX-SCH-A-000212 + + + + + [BR-30]-If both Invoice line period start date (BT-134) and Invoice line period end date (BT-135) are given then the Invoice line period end date (BT-135) shall be later or equal to the Invoice line period start date (BT-134). + + + + + + + + + + FX-SCH-A-000213 + + + + + [BR-CO-20]-If Invoice line period (BG-26) is used, the Invoice line period start date (BT-134) or the Invoice line period end date (BT-135) shall be filled, or both. + + + + + + + + + + + + + + + + + + + + + + + FX-SCH-A-000214 + + + + + [BR-42]-Each Invoice line allowance (BG-27) shall have an Invoice line allowance reason (BT-139) or an Invoice line allowance reason code (BT-140). + + + + + + + + + + + + + + + + + + + + + + + FX-SCH-A-000215 + + + + + [BR-41]-Each Invoice line allowance (BG-27) shall have an Invoice line allowance amount (BT-136). + + + + + + + + + + FX-SCH-A-000216 + + + + + [BR-CO-07]-Invoice line allowance reason code (BT-140) and Invoice line allowance reason (BT-139) shall indicate the same type of allowance reason. + + + + + + + + + + FX-SCH-A-000217 + + + + + [BR-CO-23]-Each Invoice line allowance (BG-27) shall contain an Invoice line allowance reason (BT-139) or an Invoice line allowance reason code (BT-140), or both. + + + + + + + + + + FX-SCH-A-000218 + + + + + [BR-DEC-24]-The allowed maximum number of decimals for the Invoice line allowance amount (BT-136) is 2. + + + + + + + + + + FX-SCH-A-000219 + + + + + [BR-DEC-25]-The allowed maximum number of decimals for the Invoice line allowance base amount (BT-137) is 2. + + + + + + + + + + + + + + + + + + + + + + + FX-SCH-A-000220 + + + + + [BR-43]-Each Invoice line charge (BG-28) shall have an Invoice line charge amount (BT-141). + + + + + + + + + + FX-SCH-A-000221 + + + + + [BR-44]-Each Invoice line charge (BG-28) shall have an Invoice line charge reason (BT-144) or an Invoice line charge reason code (BT-145). + + + + + + + + + + FX-SCH-A-000222 + + + + + [BR-CO-08]-Invoice line charge reason code (BT-145) and Invoice line charge reason (BT-144) shall indicate the same type of charge reason. + + + + + + + + + + FX-SCH-A-000223 + + + + + [BR-CO-24]-Each Invoice line charge (BG-28) shall contain an Invoice line charge reason (BT-144) or an Invoice line charge reason code (BT-145), or both. + + + + + + + + + + FX-SCH-A-000224 + + + + + [BR-DEC-27]-The allowed maximum number of decimals for the Invoice line charge amount (BT-141) is 2. + + + + + + + + + + FX-SCH-A-000225 + + + + + [BR-DEC-28]-The allowed maximum number of decimals for the Invoice line charge base amount (BT-142) is 2. + + + + + + + + + + + + + + + + + + + + + + + FX-SCH-A-000002 + + + + + [BR-CO-09]-The Seller VAT identifier (BT-31), the Seller tax representative VAT identifier (BT-63) and the Buyer VAT identifier (BT-48) shall have a prefix in accordance with ISO code ISO 3166-1 alpha-2 by which the country of issue may be identified. Nevertheless, Greece may use the prefix ‘EL’. + + + + + + + + + + + + + + + + + + + + + + + FX-SCH-A-000302 + + + + + [BR-FXEXT-03]-Only a VAT registration ID may be provided for the following business partners: the line level Ship-To (BT-X-66), the line level Ultimate-Ship-To (BT-X-84), the Sales-Agent (BT-X-340), the Buyer-Tax-Representative (BT-X-367), the Product-Enduser (BT-X-144), the Buyer-Agent (BT-X-411), the document level Ship-To (BT-X-161), the document level Ultimate-Ship-To (BT-X-180), the Ship-From (BT-X-199), the Invoicer (BT-X-223), the Invoicee (BT-X-242), the document level Payee (BT-X-257), the Payer (BT-X-481), or the payment-term-specific Payee (BT-X-509). + + + + + + + + + + + + + + + + + + + + + + + FX-SCH-A-000080 + + + + + [BR-66]-Each Specified Trade Allowance Charge (BG-20)(BG-21) shall contain a Charge Indicator. + + + + + + + + + + + + + + + + + + + + + + + FX-SCH-A-000081 + + + + + [BR-AE-03]-An Invoice that contains a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is "Reverse charge" shall contain the Seller VAT Identifier (BT-31), the Seller tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63) and the Buyer VAT identifier (BT-48) and/or the Buyer legal registration identifier (BT-47). + + + + + + + + + + FX-SCH-A-000082 + + + + + [BR-AE-06]-In a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is "Reverse charge" the Document level allowance VAT rate (BT-96) shall be 0 (zero). + + + + + + + + + + + + + + + + + + + + + + + FX-SCH-A-000083 + + + + + [BR-E-03]-An Invoice that contains a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is "Exempt from VAT" shall contain the Seller VAT Identifier (BT-31), the Seller tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63). + + + + + + + + + + FX-SCH-A-000084 + + + + + [BR-E-06]-In a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is "Exempt from VAT", the Document level allowance VAT rate (BT-96) shall be 0 (zero). + + + + + + + + + + + + + + + + + + + + + + + FX-SCH-A-000085 + + + + + [BR-G-03]-An Invoice that contains a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is "Export outside the EU" shall contain the Seller VAT Identifier (BT-31) or the Seller tax representative VAT identifier (BT-63). + + + + + + + + + + FX-SCH-A-000086 + + + + + [BR-G-06]-In a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is "Export outside the EU" the Document level allowance VAT rate (BT-96) shall be 0 (zero). + + + + + + + + + + + + + + + + + + + + + + + FX-SCH-A-000087 + + + + + [BR-IC-03]-An Invoice that contains a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is "Intra-community supply" shall contain the Seller VAT Identifier (BT-31) or the Seller tax representative VAT identifier (BT-63) and the Buyer VAT identifier (BT-48). + + + + + + + + + + FX-SCH-A-000088 + + + + + [BR-IC-06]-In a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is "Intra-community supply" the Document level allowance VAT rate (BT-96) shall be 0 (zero). + + + + + + + + + + + + + + + + + + + + + + + FX-SCH-A-000089 + + + + + [BR-AF-03]-An Invoice that contains a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is "IGIC" shall contain the Seller VAT Identifier (BT-31), the Seller tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63). + + + + + + + + + + FX-SCH-A-000090 + + + + + [BR-AF-06]-In a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is "IGIC" the Document level allowance VAT rate (BT-96) shall be 0 (zero) or greater than zero. + + + + + + + + + + + + + + + + + + + + + + + FX-SCH-A-000091 + + + + + [BR-AG-03]-An Invoice that contains a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is "IPSI" shall contain the Seller VAT Identifier (BT-31), the Seller Tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63). + + + + + + + + + + FX-SCH-A-000092 + + + + + [BR-AG-06]-In a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is "IPSI" the Document level allowance VAT rate (BT-96) shall be 0 (zero) or greater than zero. + + + + + + + + + + + + + + + + + + + + + + + FX-SCH-A-000094 + + + + + [BR-O-06]-A Document level allowance (BG-20) where VAT category code (BT-95) is "Not subject to VAT" shall not contain a Document level allowance VAT rate (BT-96). + + + + + + + + + + + + + + + + + + + + + + + FX-SCH-A-000095 + + + + + [BR-S-03]-An Invoice that contains a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is "Standard rated" shall contain the Seller VAT Identifier (BT-31), the Seller tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63). + + + + + + + + + + FX-SCH-A-000096 + + + + + [BR-S-06]-In a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is "Standard rated" the Document level allowance VAT rate (BT-96) shall be greater than zero. + + + + + + + + + + + + + + + + + + + + + + + FX-SCH-A-000097 + + + + + [BR-Z-03]-An Invoice that contains a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is "Zero rated" shall contain the Seller VAT Identifier (BT-31), the Seller tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63). + + + + + + + + + + FX-SCH-A-000098 + + + + + [BR-Z-06]-In a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is "Zero rated" the Document level allowance VAT rate (BT-96) shall be 0 (zero). + + + + + + + + + + + + + + + + + + + + + + + FX-SCH-A-000099 + + + + + [BR-AE-04]-An Invoice that contains a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is "Reverse charge" shall contain the Seller VAT Identifier (BT-31), the Seller tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63) and the Buyer VAT identifier (BT-48) and/or the Buyer legal registration identifier (BT-47). + + + + + + + + + + FX-SCH-A-000100 + + + + + [BR-AE-07]-In a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is "Reverse charge" the Document level charge VAT rate (BT-103) shall be 0 (zero). + + + + + + + + + + + + + + + + + + + + + + + FX-SCH-A-000101 + + + + + [BR-E-04]-An Invoice that contains a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is "Exempt from VAT" shall contain the Seller VAT Identifier (BT-31), the Seller tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63). + + + + + + + + + + FX-SCH-A-000102 + + + + + [BR-E-07]-In a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is "Exempt from VAT", the Document level charge VAT rate (BT-103) shall be 0 (zero). + + + + + + + + + + + + + + + + + + + + + + + FX-SCH-A-000103 + + + + + [BR-G-04]-An Invoice that contains a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is "Export outside the EU" shall contain the Seller VAT Identifier (BT-31) or the Seller tax representative VAT identifier (BT-63). + + + + + + + + + + FX-SCH-A-000104 + + + + + [BR-G-07]-In a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is "Export outside the EU" the Document level charge VAT rate (BT-103) shall be 0 (zero). + + + + + + + + + + + + + + + + + + + + + + + FX-SCH-A-000105 + + + + + [BR-IC-04]-An Invoice that contains a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is "Intra-community supply" shall contain the Seller VAT Identifier (BT-31) or the Seller tax representative VAT identifier (BT-63) and the Buyer VAT identifier (BT-48). + + + + + + + + + + FX-SCH-A-000106 + + + + + [BR-IC-07]-In a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is "Intra-community supply" the Document level charge VAT rate (BT-103) shall be 0 (zero). + + + + + + + + + + + + + + + + + + + + + + + FX-SCH-A-000107 + + + + + [BR-AF-04]-An Invoice that contains a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is "IGIC" shall contain the Seller VAT Identifier (BT-31), the Seller Tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63). + + + + + + + + + + FX-SCH-A-000108 + + + + + [BR-AF-07]-In a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is "IGIC" the Document level charge VAT rate (BT-103) shall be 0 (zero) or greater than zero. + + + + + + + + + + + + + + + + + + + + + + + FX-SCH-A-000109 + + + + + [BR-AG-04]-An Invoice that contains a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is "IPSI" shall contain the Seller VAT Identifier (BT-31), the Seller Tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63). + + + + + + + + + + FX-SCH-A-000110 + + + + + [BR-AG-07]-In a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is "IPSI" the Document level charge VAT rate (BT-103) shall be 0 (zero) or greater than zero. + + + + + + + + + + + + + + + + + + + + + + + FX-SCH-A-000112 + + + + + [BR-O-07]-A Document level charge (BG-21) where the VAT category code (BT-102) is "Not subject to VAT" shall not contain a Document level charge VAT rate (BT-103). + + + + + + + + + + + + + + + + + + + + + + + FX-SCH-A-000113 + + + + + [BR-S-04]-An Invoice that contains a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is "Standard rated" shall contain the Seller VAT Identifier (BT-31), the Seller tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63). + + + + + + + + + + FX-SCH-A-000114 + + + + + [BR-S-07]-In a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is "Standard rated" the Document level charge VAT rate (BT-103) shall be greater than zero. + + + + + + + + + + + + + + + + + + + + + + + FX-SCH-A-000115 + + + + + [BR-Z-04]-An Invoice that contains a Document level charge where the Document level charge VAT category code (BT-102) is "Zero rated" shall contain the Seller VAT Identifier (BT-31), the Seller tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63). + + + + + + + + + + FX-SCH-A-000116 + + + + + [BR-Z-07]-In a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is "Zero rated" the Document level charge VAT rate (BT-103) shall be 0 (zero). + + + + + + + + + + + + + + + + + + + + + + + FX-SCH-A-000303 + + + + + [BR-FXEXT-CO-10]-Absolute Value of (Sum of Invoice line net amount (BT-106) - Σ Invoice line net amounts (BT-131))<= 0,01 * Number of line net amounts (BT-131). + + + + + + + + + + FX-SCH-A-000117 + + + + + [BR-12]-An Invoice shall have the Sum of Invoice line net amount (BT-106). + + + + + + + + + + FX-SCH-A-000003 + + + + + [BR-13]-An Invoice shall have the Invoice total amount without VAT (BT-109). + + + + + + + + + + FX-SCH-A-000004 + + + + + [BR-14]-An Invoice shall have the Invoice total amount with VAT (BT-112). + + + + + + + + + + FX-SCH-A-000005 + + + + + [BR-15]-An Invoice shall have the Amount due for payment (BT-115). + + + + + + + + + + FX-SCH-A-000304 + + + + + [BR-FXEXT-CO-11]-Absolute Value of (Sum of allowances on document level (BT-107) - Σ Document level allowance amounts (BT-92))<= 0,01 * Number of Document level allowance amounts (BT-92). + + + + + + + + + + FX-SCH-A-000305 + + + + + [BR-FXEXT-CO-12]-Absolute Value of (Sum of charges on document level (BT-108) - Σ Document level charge amounts (BT-99) - Σ Logistics Service fee amounts (BT-x-272))<= 0,01 * (Number of Document level charge amounts (BT-99) + Number of Logistics Service fee amounts (BT-X-272)). + + + + + + + + + + FX-SCH-A-000306 + + + + + [BR-FXEXT-CO-13]-Absolute Value of (Invoice total amount without VAT (BT-109) - ∑ Invoice line net amounts (BT-131) + Σ Document level allowance amounts (BT-92) - Σ Document level charge amounts (BT-99)) <= 0,01 * (Number of line net amounts (BT-131) + Number of Document level allowance amounts (BT-92) + Number of Document level charge amounts (BT-99)). + + + + + + + + + + FX-SCH-A-000307 + + + + + [BR-FXEXT-CO-15]-If Invoice Total VAT amount (BT-110) ,where currency (BT-110-0) is equal to BT-5, is present, then the Absolute Value of (Invoice total amount with VAT (BT-112) - Invoice total amount without VAT (BT-109) - Invoice total VAT amount (BT-110)) <= 0,01 * (Number of line net amounts (BT-131) + Number of Document level allowance amounts (BT-92) + Number of Document level charges amounts (BT-99) + Number of Logistics Service fee amounts (BT-X-272). Else, Invoice total amount with VAT (BT-112) is equal to Invoice total amount without VAT (BT-109). + + + + + + + + + + FX-SCH-A-000122 + + + + + [BR-CO-16]-Amount due for payment (BT-115) = Invoice total amount with VAT (BT-112) -Paid amount (BT-113) +Rounding amount (BT-114). + + + + + + + + + + FX-SCH-A-000123 + + + + + [BR-DEC-09]-The allowed maximum number of decimals for the Sum of Invoice line net amount (BT-106) is 2. + + + + + + + + + + FX-SCH-A-000124 + + + + + [BR-DEC-10]-The allowed maximum number of decimals for the Sum of allowanced on document level (BT-107) is 2. + + + + + + + + + + FX-SCH-A-000125 + + + + + [BR-DEC-11]-The allowed maximum number of decimals for the Sum of charges on document level (BT-108) is 2. + + + + + + + + + + FX-SCH-A-000006 + + + + + [BR-DEC-12]-The allowed maximum number of decimals for the Invoice total amount without VAT (BT-109) is 2. + + + + + + + + + + FX-SCH-A-000007 + + + + + [BR-DEC-13]-The allowed maximum number of decimals for the Invoice total VAT amount (BT-110) is 2. + + + + + + + + + + FX-SCH-A-000008 + + + + + [BR-DEC-14]-The allowed maximum number of decimals for the Invoice total amount with VAT (BT-112) is 2. + + + + + + + + + + FX-SCH-A-000126 + + + + + [BR-DEC-15]-The allowed maximum number of decimals for the Invoice total VAT amount in accounting currency (BT-111) is 2. + + + + + + + + + + FX-SCH-A-000127 + + + + + [BR-DEC-16]-The allowed maximum number of decimals for the Paid amount (BT-113) is 2. + + + + + + + + + + FX-SCH-A-000128 + + + + + [BR-DEC-17]-The allowed maximum number of decimals for the Rounding amount (BT-114) is 2. + + + + + + + + + + FX-SCH-A-000009 + + + + + [BR-DEC-18]-The allowed maximum number of decimals for the Amount due for payment (BT-115) is 2. + + + + + + + + + + FX-SCH-A-000129 + + + + + [BR-53]-If the VAT accounting currency code (BT-6) is present, then the Invoice total VAT amount in accounting currency (BT-111) shall be provided. + + + + + + + + + + + + + + + + + + + + + + + FX-SCH-A-000130 + + + + + [BR-CO-14]-Invoice total VAT amount (BT-110) = Σ VAT category tax amount (BT-117). + + + + + + + + + + + + + + + + + + + + + + + FX-SCH-A-000131 + + + + + [BR-49]-A Payment instruction (BG-16) shall specify the Payment means type code (BT-81). + + + + + + + + + + + + + + + + + + + + + + + FX-SCH-A-000133 + + + + + [BR-50]-A Payment account identifier (BT-84) shall be present if Credit transfer (BG-16) information is provided in the Invoice. + + + + + + + + + + FX-SCH-A-000134 + + + + + [BR-61]-If the Payment means type code (BT-81) means SEPA credit transfer, Local credit transfer or Non-SEPA international credit transfer, the Payment account identifier (BT-84) shall be present. + + + + + + + + + + + + + + + + + + + + + + + FX-SCH-A-000132 + + + + + [BR-CO-27]-Either the IBAN or a Proprietary ID (BT-84) shall be used. + + + + + + + + + + + + + + + + + + + + + + + FX-SCH-A-000135 + + + + + [BR-CO-18]-An Invoice shall at least have one VAT breakdown group (BG-23). + + + + + + + + + + + + + + + + + + + + + + + FX-SCH-A-000308 + + + + + [BR-FXEXT-AE-08]-In a VAT breakdown (BG-23) where VAT category code (BT-118) is equal to “AE” ("Reverse Charge"), Absolute Value of (VAT category taxable amount (BT-116) - ∑ Invoice line net amounts (BT-131) + Σ Document level allowance amounts (BT-92) - Σ Document level charge amounts (BT-99) - Σ Logistics Service fee amounts (BT-x-272)) <= 0,01 * ((Number of line net amounts (BT-131) + Number of Document level allowance amounts (BT-92) + Number of Document level charge amounts (BT-99) + Number of Logistics Service fee amounts (BT-X-272)), where the VAT category code (BT-151, BT-95, BT-102, BT-X-273) is "Reversed Charge" (AE). + + + + + + + + + + FX-SCH-A-000136 + + + + + [BR-AE-09]-The VAT category tax amount (BT-117) in a VAT breakdown (BG-23) where the VAT category code (BT-118) is "Reverse charge" shall be 0 (zero). + + + + + + + + + + FX-SCH-A-000137 + + + + + [BR-AE-10]-A VAT Breakdown (BG-23) with VAT Category code (BT-118) "Reverse charge" shall have a VAT exemption reason code (BT-121), meaning "Reverse charge" or the VAT exemption reason text (BT-120) "Reverse charge" (or the equivalent standard text in another language). + + + + + + + + + + + + + + + + + + + + + + + FX-SCH-A-000309 + + + + + [BR-FXEXT-E-08]-In a VAT breakdown (BG-23) where VAT category code (BT-118) is equal to “E” ("Exempt from VAT"), Absolute Value of (VAT category taxable amount (BT-116) - ∑ Invoice line net amounts (BT-131) + Σ Document level allowance amounts (BT-92) - Σ Document level charges amounts (BT-99) - Σ Logistics Service fee amounts (BT-x-272)) <= 0,01 * ((Number of line net amounts (BT-131) + Number of Document level allowance amounts (BT-92) + Number of Document level charge amounts (BT-99) + Number of Logistics Service fee amounts (BT-X-272)), where the VAT category code (BT-151, BT-95, BT-102, BT-X-273) is " Exempt from VAT" (E). + + + + + + + + + + FX-SCH-A-000138 + + + + + [BR-E-09]-The VAT category tax amount (BT-117) In a VAT breakdown (BG-23) where the VAT category code (BT-118) equals "Exempt from VAT" shall equal 0 (zero). + + + + + + + + + + FX-SCH-A-000139 + + + + + [BR-E-10]-A VAT Breakdown (BG-23) with VAT Category code (BT-118) "Exempt from VAT" shall have a VAT exemption reason code (BT-121) or a VAT exemption reason text (BT-120). + + + + + + + + + + + + + + + + + + + + + + + FX-SCH-A-000310 + + + + + [BR-FXEXT-G-08]-In a VAT breakdown (BG-23) where VAT category code (BT-118) is equal to “G” ("Export outside the EU"), Absolute Value of (VAT category taxable amount (BT-116) - ∑ Invoice line net amounts (BT-131) + Σ Document level allowance amounts (BT-92) - Σ Document level charges amounts (BT-99) - Σ Logistics Service fee amounts (BT-x-272)) <= 0,01 * ((Number of line net amounts (BT-131) + Number of Document level allowance amounts (BT-92) + Number of Document level charge amounts (BT-99) + Number of Logistics Service fee amounts (BT-X-272)), where the VAT category code (BT-151, BT-95, BT-102, BT-X-273) is " Export outside the EU " (G). + + + + + + + + + + FX-SCH-A-000140 + + + + + [BR-G-09]-The VAT category tax amount (BT-117) in a VAT breakdown (BG-23) where the VAT category code (BT-118) is "Export outside the EU" shall be 0 (zero). + + + + + + + + + + FX-SCH-A-000141 + + + + + [BR-G-10]-A VAT Breakdown (BG-23) with the VAT Category code (BT-118) "Export outside the EU" shall have a VAT exemption reason code (BT-121), meaning "Export outside the EU" or the VAT exemption reason text (BT-120) "Export outside the EU" (or the equivalent standard text in another language). + + + + + + + + + + + + + + + + + + + + + + + FX-SCH-A-000311 + + + + + [BR-FXEXT-IC-08]-In a VAT breakdown (BG-23) where VAT category code (BT-118) is equal to “K” ("Intra-community supply"), Absolute Value of (VAT category taxable amount (BT-116) - ∑ Invoice line net amounts (BT-131) + Σ Document level allowance amounts (BT-92) - Σ Document level charges amounts (BT-99) - Σ Logistics Service fee amounts (BT-x-272)) <= 0,01 * ((Number of line net amounts (BT-131) + Number of Document level allowance amounts (BT-92) + Number of Document level charge amounts (BT-99) + Number of Logistics Service fee amounts (BT-X-272)), where the VAT category code (BT-151, BT-95, BT-102, BT-X-273) is " Intra-community supply " (K) + + + + + + + + + + FX-SCH-A-000142 + + + + + [BR-IC-09]-The VAT category tax amount (BT-117) in a VAT breakdown (BG-23) where the VAT category code (BT-118) is "Intra-community supply" shall be 0 (zero). + + + + + + + + + + FX-SCH-A-000143 + + + + + [BR-IC-10]-A VAT Breakdown (BG-23) with the VAT Category code (BT-118) "Intra-community supply" shall have a VAT exemption reason code (BT-121), meaning "Intra-community supply" or the VAT exemption reason text (BT-120) "Intra-community supply" (or the equivalent standard text in another language). + + + + + + + + + + FX-SCH-A-000144 + + + + + [BR-IC-11]-In an Invoice with a VAT breakdown (BG-23) where the VAT category code (BT-118) is "Intra-community supply" the Actual delivery date (BT-72) or the Invoicing period (BG-14) shall not be blank. + + + + + + + + + + FX-SCH-A-000145 + + + + + [BR-IC-12]-In an Invoice with a VAT breakdown (BG-23) where the VAT category code (BT-118) is "Intra-community supply" the Deliver to country code (BT-80) shall not be blank. + + + + + + + + + + + + + + + + + + + + + + + FX-SCH-A-000312 + + + + + [BR-FXEXT-AF-08]-In a VAT breakdown (BG-23) where VAT category code (BT-118) is equal to “L” ("Canary Islands tax"), Absolute Value of (VAT category taxable amount (BT-116) - ∑ Invoice line net amounts (BT-131) + Σ Document level allowance amounts (BT-92) - Σ Document level charges amounts (BT-99) - Σ Logistics Service fee amounts (BT-x-272)) <= 0,01 * ((Number of line net amounts (BT-131) + Number of Document level allowance amounts (BT-92) + Number of Document level charge amounts (BT-99) + Number of Logistics Service fee amounts (BT-X-272)), where the VAT category code (BT-151, BT-95, BT-102, BT-X-273) is " Canary Islands tax " (L). + + + + + + + + + + FX-SCH-A-000146 + + + + + [BR-AF-09]-The VAT category tax amount (BT-117) in a VAT breakdown (BG-23) where VAT category code (BT-118) is "IGIC" shall equal the VAT category taxable amount (BT-116) multiplied by the VAT category rate (BT-119). + + + + + + + + + + FX-SCH-A-000147 + + + + + [BR-AF-10]-A VAT Breakdown (BG-23) with VAT Category code (BT-118) "IGIC" shall not have a VAT exemption reason code (BT-121) or VAT exemption reason text (BT-120). + + + + + + + + + + + + + + + + + + + + + + + FX-SCH-A-000313 + + + + + [BR-FXEXT-AG-08]-In a VAT breakdown (BG-23) where VAT category code (BT-118) is equal to “M” ("Ceuta and Mellita tax"), Absolute Value of (VAT category taxable amount (BT-116) - ∑ Invoice line net amounts (BT-131) + Σ Document level allowance amounts (BT-92) - Σ Document level charges amounts (BT-99) - Σ Logistics Service fee amounts (BT-x-272)) <= 0,01 * ((Number of line net amounts (BT-131) + Number of Document level allowance amounts (BT-92) + Number of Document level charge amounts (BT-99) + Number of Logistics Service fee amounts (BT-X-272)), where the VAT category code (BT-151, BT-95, BT-102, BT-X-273) is " Ceuta and Mellita tax " (M). + + + + + + + + + + FX-SCH-A-000148 + + + + + [BR-AG-09]-The VAT category tax amount (BT-117) in a VAT breakdown (BG-23) where VAT category code (BT-118) is "IPSI" shall equal the VAT category taxable amount (BT-116) multiplied by the VAT category rate (BT-119). + + + + + + + + + + FX-SCH-A-000149 + + + + + [BR-AG-10]-A VAT Breakdown (BG-23) with VAT Category code (BT-118) "IPSI" shall not have a VAT exemption reason code (BT-121) or VAT exemption reason text (BT-120). + + + + + + + + + + + + + + + + + + + + + + + FX-SCH-A-000314 + + + + + [BR-FXEXT-O-08]-In a VAT breakdown (BG-23) where VAT category code (BT-118) is equal to “O” ("Not subject to VAT"), Absolute Value of (VAT category taxable amount (BT-116) - ∑ Invoice line net amounts (BT-131) + Σ Document level allowance amounts (BT-92) - Σ Document level charges amounts (BT-99) - Σ Logistics Service fee amounts (BT-x-272)) <= 0,01 * ((Number of line net amounts (BT-131) + Number of Document level allowance amounts (BT-92) + Number of Document level charge amounts (BT-99) + Number of Logistics Service fee amounts (BT-X-272)), where the VAT category code (BT-151, BT-95, BT-102, BT-X-273) is " Not subject to VAT " (O). + + + + + + + + + + FX-SCH-A-000150 + + + + + [BR-O-09]-The VAT category tax amount (BT-117) in a VAT breakdown (BG-23) where the VAT category code (BT-118) is "Not subject to VAT" shall be 0 (zero). + + + + + + + + + + FX-SCH-A-000151 + + + + + [BR-O-10]-A VAT Breakdown (BG-23) with VAT Category code (BT-118) " Not subject to VAT" shall have a VAT exemption reason code (BT-121), meaning " Not subject to VAT" or a VAT exemption reason text (BT-120) " Not subject to VAT" (or the equivalent standard text in another language). + + + + + + + + + + + + + + + + + + + + + + + FX-SCH-A-000235 + + + + + [BR-AE-02]-An Invoice that contains an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is "Reverse charge" shall contain the Seller VAT Identifier (BT-31), the Seller Tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63) and the Buyer VAT identifier (BT-48) and/or the Buyer legal registration identifier (BT-47). + + + + + + + + + + FX-SCH-A-000236 + + + + + [BR-AE-05]-In an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is "Reverse charge" the Invoiced item VAT rate (BT-152) shall be 0 (zero). + + + + + + + + + + + + + + + + + + + + + + + FX-SCH-A-000237 + + + + + [BR-E-02]-An Invoice that contains an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is "Exempt from VAT" shall contain the Seller VAT Identifier (BT-31), the Seller tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63). + + + + + + + + + + FX-SCH-A-000238 + + + + + [BR-E-05]-In an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is "Exempt from VAT", the Invoiced item VAT rate (BT-152) shall be 0 (zero). + + + + + + + + + + + + + + + + + + + + + + + FX-SCH-A-000239 + + + + + [BR-G-02]-An Invoice that contains an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is "Export outside the EU" shall contain the Seller VAT Identifier (BT-31) or the Seller tax representative VAT identifier (BT-63). + + + + + + + + + + FX-SCH-A-000240 + + + + + [BR-G-05]-In an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is "Export outside the EU" the Invoiced item VAT rate (BT-152) shall be 0 (zero). + + + + + + + + + + + + + + + + + + + + + + + FX-SCH-A-000241 + + + + + [BR-IC-02]-An Invoice that contains an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is "Intra-community supply" shall contain the Seller VAT Identifier (BT-31) or the Seller tax representative VAT identifier (BT-63) and the Buyer VAT identifier (BT-48). + + + + + + + + + + FX-SCH-A-000242 + + + + + [BR-IC-05]-In an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is "Intracommunity supply" the Invoiced item VAT rate (BT-152) shall be 0 (zero). + + + + + + + + + + + + + + + + + + + + + + + FX-SCH-A-000243 + + + + + [BR-AF-02]-An Invoice that contains an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is "IGIC" shall contain the Seller VAT Identifier (BT-31), the Seller tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63). + + + + + + + + + + FX-SCH-A-000244 + + + + + [BR-AF-05]-In an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is "IGIC" the invoiced item VAT rate (BT-152) shall be greater than 0 (zero). + + + + + + + + + + + + + + + + + + + + + + + FX-SCH-A-000245 + + + + + [BR-AG-02]-An Invoice that contains an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is "IPSI" shall contain the Seller VAT Identifier (BT-31), the Seller tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63). + + + + + + + + + + FX-SCH-A-000246 + + + + + [BR-AG-05]-In an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is "IPSI" the Invoiced item VAT rate (BT-152) shall be 0 (zero) or greater than zero. + + + + + + + + + + + + + + + + + + + + + + + FX-SCH-A-000248 + + + + + [BR-O-05]-An Invoice line (BG-25) where the VAT category code (BT-151) is "Not subject to VAT" shall not contain an Invoiced item VAT rate (BT-152). + + + + + + + + + + + + + + + + + + + + + + + FX-SCH-A-000249 + + + + + [BR-S-02]-An Invoice that contains an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is "Standard rated" shall contain the Seller VAT Identifier (BT-31), the Seller tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63). + + + + + + + + + + FX-SCH-A-000250 + + + + + [BR-S-05]-In an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is "Standard rated" the Invoiced item VAT rate (BT-152) shall be greater than zero. + + + + + + + + + + + + + + + + + + + + + + + FX-SCH-A-000251 + + + + + [BR-Z-02]-An Invoice that contains an Invoice line where the Invoiced item VAT category code (BT-151) is "Zero rated" shall contain the Seller VAT Identifier (BT-31), the Seller tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63). + + + + + + + + + + FX-SCH-A-000252 + + + + + [BR-Z-05]-In an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is "Zero rated" the Invoiced item VAT rate (BT-152) shall be 0 (zero). + + + + + + + + + + + + + + + + + + + + + + + FX-SCH-A-000253 + + + + + [BR-16]-An Invoice shall have at least one Invoice line (BG-25). + + + + + + + + + + FX-SCH-A-000155 + + + + + [BR-CO-25]-In case the Amount due for payment (BT-115) is positive, either the Payment due date (BT-9) or the Payment terms (BT-20) shall be present. + + + + + + + + + + FX-SCH-A-000010 + + + + + [BR-01]-An Invoice shall have a Specification identifier (BT-24). + + + + + + + + + + FX-SCH-A-000011 + + + + + [BR-02]-An Invoice shall have an Invoice number (BT-1). + + + + + + + + + + FX-SCH-A-000012 + + + + + [BR-03]-An Invoice shall have an Invoice issue date (BT-2). + + + + + + + + + + FX-SCH-A-000013 + + + + + [BR-04]-An Invoice shall have an Invoice type code (BT-3). + + + + + + + + + + FX-SCH-A-000014 + + + + + [BR-05]-An Invoice shall have an Invoice currency code (BT-5). + + + + + + + + + + FX-SCH-A-000015 + + + + + [BR-06]-An Invoice shall contain the Seller name (BT-27). + + + + + + + + + + FX-SCH-A-000016 + + + + + [BR-07]-An Invoice shall contain the Buyer name (BT-44). + + + + + + + + + + FX-SCH-A-000017 + + + + + [BR-08]-An Invoice shall contain the Seller postal address (BG-5). + + + + + + + + + + FX-SCH-A-000018 + + + + + [BR-09]-The Seller postal address (BG-5) shall contain a Seller country code (BT-40). + + + + + + + + + + FX-SCH-A-000156 + + + + + [BR-10]-An Invoice shall contain the Buyer postal address (BG-8). + + + + + + + + + + FX-SCH-A-000157 + + + + + [BR-11]-The Buyer postal address shall contain a Buyer country code (BT-55). + + + + + + + + + + FX-SCH-A-000158 + + + + + [BR-62]-The Seller electronic address (BT-34) shall have a Scheme identifier. + + + + + + + + + + FX-SCH-A-000159 + + + + + [BR-63]-The Buyer electronic address (BT-49) shall have a Scheme identifier. + + + + + + + + + + FX-SCH-A-000254 + + + + + [BR-S-01]-An Invoice that contains an Invoice line (BG-25), a Document level allowance (BG-20) or a Document level charge (BG-21) where the VAT category code (BT-151, BT-95 or BT-102) is "Standard rated" shall contain in the VAT breakdown (BG-23) at least one VAT category code (BT-118) equal with "Standard rated". + + + + + + + + + + FX-SCH-A-000255 + + + + + [BR-Z-01]-An Invoice that contains an Invoice line (BG-25), a Document level allowance (BG-20) or a Document level charge (BG-21) where the VAT category code (BT-151, BT-95 or BT-102) is "Zero rated" shall contain in the VAT breakdown (BG-23) exactly one VAT category code (BT-118) equal with "Zero rated". + + + + + + + + + + FX-SCH-A-000256 + + + + + [BR-E-01]-An Invoice that contains an Invoice line (BG-25), a Document level allowance (BG-20) or a Document level charge (BG-21) where the VAT category code (BT-151, BT-95 or BT-102) is “Exempt from VAT” shall contain exactly one VAT breakdown (BG-23) with the VAT category code (BT-118) equal to "Exempt from VAT". + + + + + + + + + + FX-SCH-A-000257 + + + + + [BR-AE-01]-An Invoice that contains an Invoice line (BG-25), a Document level allowance (BG-20) or a Document level charge (BG-21) where the VAT category code (BT-151, BT-95 or BT-102) is "Reverse charge" shall contain in the VAT breakdown (BG-23) exactly one VAT category code (BT-118) equal with "VAT reverse charge". + + + + + + + + + + FX-SCH-A-000258 + + + + + [BR-IC-01]-An Invoice that contains an Invoice line (BG-25), a Document level allowance (BG-20) or a Document level charge (BG-21) where the VAT category code (BT-151, BT-95 or BT-102) is "Intra-community supply" shall contain in the VAT breakdown (BG-23) exactly one VAT category code (BT-118) equal with "Intra-community supply". + + + + + + + + + + FX-SCH-A-000259 + + + + + [BR-G-01]-An Invoice that contains an Invoice line (BG-25), a Document level allowance (BG-20) or a Document level charge (BG-21) where the VAT category code (BT-151, BT-95 or BT-102) is "Export outside the EU" shall contain in the VAT breakdown (BG-23) exactly one VAT category code (BT-118) equal with "Export outside the EU". + + + + + + + + + + FX-SCH-A-000260 + + + + + [BR-O-01]-An Invoice that contains an Invoice line (BG-25), a Document level allowance (BG-20) or a Document level charge (BG-21) where the VAT category code (BT-151, BT-95 or BT-102) is "Not subject to VAT" shall contain exactly one VAT breakdown group (BG-23) with the VAT category code (BT-118) equal to "Not subject to VAT". + + + + + + + + + + FX-SCH-A-000261 + + + + + [BR-AF-01]-An Invoice that contains an Invoice line (BG-25), a Document level allowance (BG-20) or a Document level charge (BG-21) where the VAT category code (BT-151, BT-95 or BT-102) is "IGIC" shall contain in the VAT breakdown (BG-23) at least one VAT category code (BT-118) equal with "IGIC". + + + + + + + + + + FX-SCH-A-000262 + + + + + [BR-AG-01]-An Invoice that contains an Invoice line (BG-25), a Document level allowance (BG-20) or a Document level charge (BG-21) where the VAT category code (BT-151, BT-95 or BT-102) is "IPSI" shall contain in the VAT breakdown (BG-23) at least one VAT category code (BT-118) equal with "IPSI". + + + + + + + + + + FX-SCH-A-000263 + + + + + [BR-B-01]-An Invoice where the VAT category code (BT-151, BT-95 or BT-102) is “Split payment” shall be a domestic Italian invoice. + + + + + + + + + + FX-SCH-A-000264 + + + + + [BR-B-02]-An Invoice that contains an Invoice line (BG-25), a Document level allowance (BG-20) or a Document level charge (BG-21) where the VAT category code (BT-151, BT-95 or BT-102) is “Split payment" shall not contain an invoice line (BG-25), a Document level allowance (BG-20) or a Document level charge (BG-21) where the VAT category code (BT-151, BT-95 or BT-102) is “Standard rated”. + + + + + + + + + + + + + + + + + + + + + + + FX-SCH-A-000318 + + + + + [BR-FXEXT-01]-If the Invoice Free Text subject Code (BT-21) is specified, either the coded message free text (BT-X-5) or the message free text (BT-22) must be specified, or both. If both BT-X-5 and BT-22 are specified, both must have the same meaning. + + + + + + + + + + + + + + + + + + + + + + + FX-SCH-A-000170 + + + + + [BR-57]-Each Deliver to address (BG-15) shall contain a Deliver to country code (BT-80). + + + + + + + + + + + + + + + + + + + + + + + FX-SCH-A-000182 + + + + + [BR-55]-Each Preceding Invoice reference (BG-3) shall contain a Preceding Invoice reference (BT-25). + + + + + + + + + + FX-SCH-A-000029 + + + + + Element 'ram:IssuerAssignedID' must occur exactly 1 times. + + + + + + + + + + + + + + + + + + + + + + + FX-SCH-A-000019 + + + + + Element 'ram:ID' must occur exactly 1 times. + + + + + + + + + + FX-SCH-A-000283 + + + + + Element 'ram:Name' may occur at maximum 1 times. + + + + + + + + + + FX-SCH-A-000020 + + + + + Element 'ram:TypeCode' must occur exactly 1 times. + + + + + + + + + + FX-SCH-A-000315 + + + + + Element 'ram:LanguageID' may occur at maximum 1 times. + + + + + + + + + + + + + + + + FX-SCH-A-000316 + + + + + Element 'ram:CompleteDateTime' must occur exactly 1 times. + + + + + + + + + + + + + + + + FX-SCH-A-000021 + + + + + Attribute '@format' is required in this context. + + + + + + + + + + + FX-SCH-A-000022 + + + + + Value of '@format' is not allowed. + + + + + + + + + + + + + + + + + + Element 'ram:Description' is marked as not used in the given context. + + + + + + + + + + + + + + + + + Element 'ram:EndDateTime' is marked as not used in the given context. + + + + + + + + + + + + + + + + + Element 'ram:StartDateTime' is marked as not used in the given context. + + + + + + + + + + + + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + + + + + + + + + + FX-SCH-A-000317 + + + + + Element 'ram:Content' may occur at maximum 1 times. + + + + + + + + + + FX-SCH-A-000161 + + + + + Element 'ram:SubjectCode' may occur at maximum 1 times. + + + + + + + + + + + + + + + + + + Attribute @listID' marked as not used in the given context. + + + + + + + + + + + Attribute @listVersionID' marked as not used in the given context. + + + + + + + + + + + + + + + + FX-SCH-A-000162 + + + + + Value of 'ram:SubjectCode' is not allowed. + + + + + + + + + + + + Attribute @listID' marked as not used in the given context. + + + + + + + + + + + Attribute @listVersionID' marked as not used in the given context. + + + + + + + + + + + + + + + FX-SCH-A-000021 + + + + + Attribute '@format' is required in this context. + + + + + + + + + + + FX-SCH-A-000022 + + + + + Value of '@format' is not allowed. + + + + + + + + + + + + + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + + + + + + + + + + + FX-SCH-A-000023 + + + + + Value of 'ram:TypeCode' is not allowed. + + + + + + + + + + + + + + + + FX-SCH-A-000024 + + + + + Element 'ram:BusinessProcessSpecifiedDocumentContextParameter' may occur at maximum 1 times. + + + + + + + + + + FX-SCH-A-000025 + + + + + Element 'ram:GuidelineSpecifiedDocumentContextParameter' must occur exactly 1 times. + + + + + + + + + + + + + + + + FX-SCH-A-000019 + + + + + Element 'ram:ID' must occur exactly 1 times. + + + + + + + + + + + + + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + + + + + + + + + + FX-SCH-A-000019 + + + + + Element 'ram:ID' must occur exactly 1 times. + + + + + + + + + + + + + + + + + FX-SCH-A-000026 + + + + + Value of 'ram:ID' is not allowed. + + + + + + + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + + + + + + + + + + FX-SCH-A-000265 + + + + + Element 'ram:IncludedSupplyChainTradeLineItem' must occur at least 1 times. + + + + + + + + + + + + + + + + FX-SCH-A-000027 + + + + + Element 'ram:SellerTradeParty' must occur exactly 1 times. + + + + + + + + + + FX-SCH-A-000028 + + + + + Element 'ram:BuyerTradeParty' must occur exactly 1 times. + + + + + + + + + + + + + + + + + + Element variant 'ram:AdditionalReferencedDocument[ not(ram:TypeCode="916") and not(ram:TypeCode="50") and not(ram:TypeCode="130")]' is marked as not used in the given context. + + + + + + + + + + + + + + + FX-SCH-A-000029 + + + + + Element 'ram:IssuerAssignedID' must occur exactly 1 times. + + + + + + + + + + FX-SCH-A-000020 + + + + + Element 'ram:TypeCode' must occur exactly 1 times. + + + + + + + + + + + + + + + + + + Element 'ram:AttachmentBinaryObject' is marked as not used in the given context. + + + + + + + + + + + + + + + FX-SCH-A-000021 + + + + + Attribute '@format' is required in this context. + + + + + + + + + + + FX-SCH-A-000022 + + + + + Value of '@format' is not allowed. + + + + + + + + + + + + + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + + + + + + + + + + + + Element 'ram:LineID' is marked as not used in the given context. + + + + + + + + + + + + + + + + + Element 'ram:Name' is marked as not used in the given context. + + + + + + + + + + + + + + + + FX-SCH-A-000282 + + + + + Value of 'ram:ReferenceTypeCode' is not allowed. + + + + + + + + + + + + + + + + + FX-SCH-A-000023 + + + + + Value of 'ram:TypeCode' is not allowed. + + + + + + + + + + + + + + + + + + Element 'ram:URIID' is marked as not used in the given context. + + + + + + + + + + + + + + + FX-SCH-A-000029 + + + + + Element 'ram:IssuerAssignedID' must occur exactly 1 times. + + + + + + + + + + FX-SCH-A-000020 + + + + + Element 'ram:TypeCode' must occur exactly 1 times. + + + + + + + + + + + + + + + + + + Element 'ram:AttachmentBinaryObject' is marked as not used in the given context. + + + + + + + + + + + + + + + FX-SCH-A-000021 + + + + + Attribute '@format' is required in this context. + + + + + + + + + + + FX-SCH-A-000022 + + + + + Value of '@format' is not allowed. + + + + + + + + + + + + + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + + + + + + + + + + + + Element 'ram:LineID' is marked as not used in the given context. + + + + + + + + + + + + + + + + + Element 'ram:Name' is marked as not used in the given context. + + + + + + + + + + + + + + + + + Element 'ram:ReferenceTypeCode' is marked as not used in the given context. + + + + + + + + + + + + + + + + FX-SCH-A-000023 + + + + + Value of 'ram:TypeCode' is not allowed. + + + + + + + + + + + + + + + + + + Element 'ram:URIID' is marked as not used in the given context. + + + + + + + + + + + + + + + FX-SCH-A-000029 + + + + + Element 'ram:IssuerAssignedID' must occur exactly 1 times. + + + + + + + + + + FX-SCH-A-000020 + + + + + Element 'ram:TypeCode' must occur exactly 1 times. + + + + + + + + + + FX-SCH-A-000283 + + + + + Element 'ram:Name' may occur at maximum 1 times. + + + + + + + + + + FX-SCH-A-000284 + + + + + Element 'ram:AttachmentBinaryObject' may occur at maximum 1 times. + + + + + + + + + + + + + + + + FX-SCH-A-000285 + + + + + Attribute '@mimeCode' is required in this context. + + + + + + + + + + + FX-SCH-A-000287 + + + + + Value of '@mimeCode' is not allowed. + + + + + + + + + + FX-SCH-A-000286 + + + + + Attribute '@filename' is required in this context. + + + + + + + + + + + + + + + + FX-SCH-A-000021 + + + + + Attribute '@format' is required in this context. + + + + + + + + + + + FX-SCH-A-000022 + + + + + Value of '@format' is not allowed. + + + + + + + + + + + + + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + + + + + + + + + + + + Element 'ram:LineID' is marked as not used in the given context. + + + + + + + + + + + + + + + + + Element 'ram:ReferenceTypeCode' is marked as not used in the given context. + + + + + + + + + + + + + + + + FX-SCH-A-000023 + + + + + Value of 'ram:TypeCode' is not allowed. + + + + + + + + + + + + + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + + + + + + + + + + FX-SCH-A-000319 + + + + + Element 'ram:DeliveryTypeCode' must occur exactly 1 times. + + + + + + + + + + + + + + + + + FX-SCH-A-000320 + + + + + Value of 'ram:DeliveryTypeCode' is not allowed. + + + + + + + + + + + + + + + + FX-SCH-A-000163 + + + + + Element 'ram:ID' may occur at maximum 1 times. + + + + + + + + + + FX-SCH-A-000030 + + + + + Element 'ram:Name' must occur exactly 1 times. + + + + + + + + + + FX-SCH-A-000321 + + + + + Element 'ram:RoleCode' may occur at maximum 1 times. + + + + + + + + + + FX-SCH-A-000165 + + + + + Element 'ram:URIUniversalCommunication' may occur at maximum 1 times. + + + + + + + + + + FX-SCH-A-000166 + + + + + Element 'ram:SpecifiedTaxRegistration' may occur at maximum 1 times. + + + + + + + + + + + + + + + + FX-SCH-A-000168 + + + + + Element 'ram:URIID' must occur exactly 1 times. + + + + + + + + + + + + + + + + + + Element 'ram:CompleteNumber' is marked as not used in the given context. + + + + + + + + + + + + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + + + + + + + + + + FX-SCH-A-000289 + + + + + Element 'ram:CompleteNumber' must occur exactly 1 times. + + + + + + + + + + + + + + + + + + Element 'ram:URIID' is marked as not used in the given context. + + + + + + + + + + + + + + + FX-SCH-A-000289 + + + + + Element 'ram:CompleteNumber' must occur exactly 1 times. + + + + + + + + + + + + + + + + + + Element 'ram:URIID' is marked as not used in the given context. + + + + + + + + + + + + + + + + + Element 'ram:Description' is marked as not used in the given context. + + + + + + + + + + + + + + + FX-SCH-A-000037 + + + + + Attribute '@schemeID' is required in this context. + + + + + + + + + + + FX-SCH-A-000031 + + + + + Value of '@schemeID' is not allowed. + + + + + + + + + + + + + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + + + + + + + + + + FX-SCH-A-000035 + + + + + Element 'ram:CountryID' must occur exactly 1 times. + + + + + + + + + + FX-SCH-A-000167 + + + + + Element 'ram:CountrySubDivisionName' may occur at maximum 1 times. + + + + + + + + + + + + + + + + + FX-SCH-A-000036 + + + + + Value of 'ram:CountryID' is not allowed. + + + + + + + + + + + + + + + + + + Attribute @listID' marked as not used in the given context. + + + + + + + + + + + Attribute @listVersionID' marked as not used in the given context. + + + + + + + + + + + + + + + + FX-SCH-A-000031 + + + + + Value of '@schemeID' is not allowed. + + + + + + + + + + + + + + + + FX-SCH-A-000035 + + + + + Element 'ram:CountryID' must occur exactly 1 times. + + + + + + + + + + FX-SCH-A-000167 + + + + + Element 'ram:CountrySubDivisionName' may occur at maximum 1 times. + + + + + + + + + + + + + + + + + FX-SCH-A-000036 + + + + + Value of 'ram:CountryID' is not allowed. + + + + + + + + + + + + + + + + + + Attribute @listID' marked as not used in the given context. + + + + + + + + + + + Attribute @listVersionID' marked as not used in the given context. + + + + + + + + + + + + + + + FX-SCH-A-000019 + + + + + Element 'ram:ID' must occur exactly 1 times. + + + + + + + + + + + + + + + + FX-SCH-A-000037 + + + + + Attribute '@schemeID' is required in this context. + + + + + + + + + + + + + + + + FX-SCH-A-000168 + + + + + Element 'ram:URIID' must occur exactly 1 times. + + + + + + + + + + + + + + + + + + Element 'ram:CompleteNumber' is marked as not used in the given context. + + + + + + + + + + + + + + + FX-SCH-A-000037 + + + + + Attribute '@schemeID' is required in this context. + + + + + + + + + + + FX-SCH-A-000031 + + + + + Value of '@schemeID' is not allowed. + + + + + + + + + + + + + + + + FX-SCH-A-000029 + + + + + Element 'ram:IssuerAssignedID' must occur exactly 1 times. + + + + + + + + + + + + + + + + + + Element 'ram:AttachmentBinaryObject' is marked as not used in the given context. + + + + + + + + + + + + + + + FX-SCH-A-000021 + + + + + Attribute '@format' is required in this context. + + + + + + + + + + + FX-SCH-A-000022 + + + + + Value of '@format' is not allowed. + + + + + + + + + + + + + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + + + + + + + + + + + + Element 'ram:LineID' is marked as not used in the given context. + + + + + + + + + + + + + + + + + Element 'ram:Name' is marked as not used in the given context. + + + + + + + + + + + + + + + + + Element 'ram:ReferenceTypeCode' is marked as not used in the given context. + + + + + + + + + + + + + + + + + Element 'ram:TypeCode' is marked as not used in the given context. + + + + + + + + + + + + + + + + + Element 'ram:URIID' is marked as not used in the given context. + + + + + + + + + + + + + + + FX-SCH-A-000163 + + + + + Element 'ram:ID' may occur at maximum 1 times. + + + + + + + + + + FX-SCH-A-000030 + + + + + Element 'ram:Name' must occur exactly 1 times. + + + + + + + + + + FX-SCH-A-000321 + + + + + Element 'ram:RoleCode' may occur at maximum 1 times. + + + + + + + + + + FX-SCH-A-000165 + + + + + Element 'ram:URIUniversalCommunication' may occur at maximum 1 times. + + + + + + + + + + FX-SCH-A-000169 + + + + + Element 'ram:SpecifiedTaxRegistration' must occur exactly 1 times. + + + + + + + + + + + + + + + + FX-SCH-A-000168 + + + + + Element 'ram:URIID' must occur exactly 1 times. + + + + + + + + + + + + + + + + + + Element 'ram:CompleteNumber' is marked as not used in the given context. + + + + + + + + + + + + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + + + + + + + + + + FX-SCH-A-000289 + + + + + Element 'ram:CompleteNumber' must occur exactly 1 times. + + + + + + + + + + + + + + + + + + Element 'ram:URIID' is marked as not used in the given context. + + + + + + + + + + + + + + + FX-SCH-A-000289 + + + + + Element 'ram:CompleteNumber' must occur exactly 1 times. + + + + + + + + + + + + + + + + + + Element 'ram:URIID' is marked as not used in the given context. + + + + + + + + + + + + + + + + + Element 'ram:Description' is marked as not used in the given context. + + + + + + + + + + + + + + + FX-SCH-A-000037 + + + + + Attribute '@schemeID' is required in this context. + + + + + + + + + + + FX-SCH-A-000031 + + + + + Value of '@schemeID' is not allowed. + + + + + + + + + + + + + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + + + + + + + + + + FX-SCH-A-000035 + + + + + Element 'ram:CountryID' must occur exactly 1 times. + + + + + + + + + + FX-SCH-A-000167 + + + + + Element 'ram:CountrySubDivisionName' may occur at maximum 1 times. + + + + + + + + + + + + + + + + + FX-SCH-A-000036 + + + + + Value of 'ram:CountryID' is not allowed. + + + + + + + + + + + + + + + + + + Attribute @listID' marked as not used in the given context. + + + + + + + + + + + Attribute @listVersionID' marked as not used in the given context. + + + + + + + + + + + + + + + + FX-SCH-A-000031 + + + + + Value of '@schemeID' is not allowed. + + + + + + + + + + + + + + + + FX-SCH-A-000035 + + + + + Element 'ram:CountryID' must occur exactly 1 times. + + + + + + + + + + FX-SCH-A-000167 + + + + + Element 'ram:CountrySubDivisionName' may occur at maximum 1 times. + + + + + + + + + + + + + + + + + FX-SCH-A-000036 + + + + + Value of 'ram:CountryID' is not allowed. + + + + + + + + + + + + + + + + + + Attribute @listID' marked as not used in the given context. + + + + + + + + + + + Attribute @listVersionID' marked as not used in the given context. + + + + + + + + + + + + + + + FX-SCH-A-000019 + + + + + Element 'ram:ID' must occur exactly 1 times. + + + + + + + + + + + + + + + + FX-SCH-A-000037 + + + + + Attribute '@schemeID' is required in this context. + + + + + + + + + + + + + + + + FX-SCH-A-000168 + + + + + Element 'ram:URIID' must occur exactly 1 times. + + + + + + + + + + + + + + + + + + Element 'ram:CompleteNumber' is marked as not used in the given context. + + + + + + + + + + + + + + + FX-SCH-A-000037 + + + + + Attribute '@schemeID' is required in this context. + + + + + + + + + + + FX-SCH-A-000031 + + + + + Value of '@schemeID' is not allowed. + + + + + + + + + + + + + + + + FX-SCH-A-000163 + + + + + Element 'ram:ID' may occur at maximum 1 times. + + + + + + + + + + FX-SCH-A-000030 + + + + + Element 'ram:Name' must occur exactly 1 times. + + + + + + + + + + FX-SCH-A-000321 + + + + + Element 'ram:RoleCode' may occur at maximum 1 times. + + + + + + + + + + FX-SCH-A-000187 + + + + + Element 'ram:Description' may occur at maximum 1 times. + + + + + + + + + + FX-SCH-A-000032 + + + + + Element 'ram:PostalTradeAddress' must occur exactly 1 times. + + + + + + + + + + FX-SCH-A-000165 + + + + + Element 'ram:URIUniversalCommunication' may occur at maximum 1 times. + + + + + + + + + + FX-SCH-A-000166 + + + + + Element 'ram:SpecifiedTaxRegistration' may occur at maximum 1 times. + + + + + + + + + + + + + + + + FX-SCH-A-000168 + + + + + Element 'ram:URIID' must occur exactly 1 times. + + + + + + + + + + + + + + + + + + Element 'ram:CompleteNumber' is marked as not used in the given context. + + + + + + + + + + + + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + + + + + + + + + + FX-SCH-A-000289 + + + + + Element 'ram:CompleteNumber' must occur exactly 1 times. + + + + + + + + + + + + + + + + + + Element 'ram:URIID' is marked as not used in the given context. + + + + + + + + + + + + + + + FX-SCH-A-000289 + + + + + Element 'ram:CompleteNumber' must occur exactly 1 times. + + + + + + + + + + + + + + + + + + Element 'ram:URIID' is marked as not used in the given context. + + + + + + + + + + + + + + + FX-SCH-A-000037 + + + + + Attribute '@schemeID' is required in this context. + + + + + + + + + + + FX-SCH-A-000031 + + + + + Value of '@schemeID' is not allowed. + + + + + + + + + + + + + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + + + + + + + + + + FX-SCH-A-000035 + + + + + Element 'ram:CountryID' must occur exactly 1 times. + + + + + + + + + + FX-SCH-A-000167 + + + + + Element 'ram:CountrySubDivisionName' may occur at maximum 1 times. + + + + + + + + + + + + + + + + + FX-SCH-A-000036 + + + + + Value of 'ram:CountryID' is not allowed. + + + + + + + + + + + + + + + + + + Attribute @listID' marked as not used in the given context. + + + + + + + + + + + Attribute @listVersionID' marked as not used in the given context. + + + + + + + + + + + + + + + + FX-SCH-A-000031 + + + + + Value of '@schemeID' is not allowed. + + + + + + + + + + + + + + + + FX-SCH-A-000035 + + + + + Element 'ram:CountryID' must occur exactly 1 times. + + + + + + + + + + FX-SCH-A-000167 + + + + + Element 'ram:CountrySubDivisionName' may occur at maximum 1 times. + + + + + + + + + + + + + + + + + FX-SCH-A-000036 + + + + + Value of 'ram:CountryID' is not allowed. + + + + + + + + + + + + + + + + + + Attribute @listID' marked as not used in the given context. + + + + + + + + + + + Attribute @listVersionID' marked as not used in the given context. + + + + + + + + + + + + + + + FX-SCH-A-000019 + + + + + Element 'ram:ID' must occur exactly 1 times. + + + + + + + + + + + + + + + + FX-SCH-A-000037 + + + + + Attribute '@schemeID' is required in this context. + + + + + + + + + + + FX-SCH-A-000031 + + + + + Value of '@schemeID' is not allowed. + + + + + + + + + + + + + + + + FX-SCH-A-000168 + + + + + Element 'ram:URIID' must occur exactly 1 times. + + + + + + + + + + + + + + + + + + Element 'ram:CompleteNumber' is marked as not used in the given context. + + + + + + + + + + + + + + + FX-SCH-A-000037 + + + + + Attribute '@schemeID' is required in this context. + + + + + + + + + + + FX-SCH-A-000031 + + + + + Value of '@schemeID' is not allowed. + + + + + + + + + + + + + + + + FX-SCH-A-000029 + + + + + Element 'ram:IssuerAssignedID' must occur exactly 1 times. + + + + + + + + + + + + + + + + + + Element 'ram:AttachmentBinaryObject' is marked as not used in the given context. + + + + + + + + + + + + + + + FX-SCH-A-000021 + + + + + Attribute '@format' is required in this context. + + + + + + + + + + + FX-SCH-A-000022 + + + + + Value of '@format' is not allowed. + + + + + + + + + + + + + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + + + + + + + + + + + + Element 'ram:LineID' is marked as not used in the given context. + + + + + + + + + + + + + + + + + Element 'ram:Name' is marked as not used in the given context. + + + + + + + + + + + + + + + + FX-SCH-A-000282 + + + + + Value of 'ram:ReferenceTypeCode' is not allowed. + + + + + + + + + + + + + + + + + + Element 'ram:TypeCode' is marked as not used in the given context. + + + + + + + + + + + + + + + + + Element 'ram:URIID' is marked as not used in the given context. + + + + + + + + + + + + + + + FX-SCH-A-000163 + + + + + Element 'ram:ID' may occur at maximum 1 times. + + + + + + + + + + FX-SCH-A-000030 + + + + + Element 'ram:Name' must occur exactly 1 times. + + + + + + + + + + FX-SCH-A-000321 + + + + + Element 'ram:RoleCode' may occur at maximum 1 times. + + + + + + + + + + FX-SCH-A-000165 + + + + + Element 'ram:URIUniversalCommunication' may occur at maximum 1 times. + + + + + + + + + + FX-SCH-A-000166 + + + + + Element 'ram:SpecifiedTaxRegistration' may occur at maximum 1 times. + + + + + + + + + + + + + + + + FX-SCH-A-000168 + + + + + Element 'ram:URIID' must occur exactly 1 times. + + + + + + + + + + + + + + + + + + Element 'ram:CompleteNumber' is marked as not used in the given context. + + + + + + + + + + + + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + + + + + + + + + + FX-SCH-A-000289 + + + + + Element 'ram:CompleteNumber' must occur exactly 1 times. + + + + + + + + + + + + + + + + + + Element 'ram:URIID' is marked as not used in the given context. + + + + + + + + + + + + + + + FX-SCH-A-000289 + + + + + Element 'ram:CompleteNumber' must occur exactly 1 times. + + + + + + + + + + + + + + + + + + Element 'ram:URIID' is marked as not used in the given context. + + + + + + + + + + + + + + + + + Element 'ram:Description' is marked as not used in the given context. + + + + + + + + + + + + + + + FX-SCH-A-000037 + + + + + Attribute '@schemeID' is required in this context. + + + + + + + + + + + FX-SCH-A-000031 + + + + + Value of '@schemeID' is not allowed. + + + + + + + + + + + + + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + + + + + + + + + + FX-SCH-A-000035 + + + + + Element 'ram:CountryID' must occur exactly 1 times. + + + + + + + + + + FX-SCH-A-000167 + + + + + Element 'ram:CountrySubDivisionName' may occur at maximum 1 times. + + + + + + + + + + + + + + + + + FX-SCH-A-000036 + + + + + Value of 'ram:CountryID' is not allowed. + + + + + + + + + + + + + + + + + + Attribute @listID' marked as not used in the given context. + + + + + + + + + + + Attribute @listVersionID' marked as not used in the given context. + + + + + + + + + + + + + + + + FX-SCH-A-000031 + + + + + Value of '@schemeID' is not allowed. + + + + + + + + + + + + + + + + FX-SCH-A-000035 + + + + + Element 'ram:CountryID' must occur exactly 1 times. + + + + + + + + + + FX-SCH-A-000167 + + + + + Element 'ram:CountrySubDivisionName' may occur at maximum 1 times. + + + + + + + + + + + + + + + + + FX-SCH-A-000036 + + + + + Value of 'ram:CountryID' is not allowed. + + + + + + + + + + + + + + + + + + Attribute @listID' marked as not used in the given context. + + + + + + + + + + + Attribute @listVersionID' marked as not used in the given context. + + + + + + + + + + + + + + + FX-SCH-A-000019 + + + + + Element 'ram:ID' must occur exactly 1 times. + + + + + + + + + + + + + + + + FX-SCH-A-000037 + + + + + Attribute '@schemeID' is required in this context. + + + + + + + + + + + + + + + + FX-SCH-A-000168 + + + + + Element 'ram:URIID' must occur exactly 1 times. + + + + + + + + + + + + + + + + + + Element 'ram:CompleteNumber' is marked as not used in the given context. + + + + + + + + + + + + + + + FX-SCH-A-000037 + + + + + Attribute '@schemeID' is required in this context. + + + + + + + + + + + FX-SCH-A-000031 + + + + + Value of '@schemeID' is not allowed. + + + + + + + + + + + + + + + + FX-SCH-A-000029 + + + + + Element 'ram:IssuerAssignedID' must occur exactly 1 times. + + + + + + + + + + + + + + + + + + Element 'ram:AttachmentBinaryObject' is marked as not used in the given context. + + + + + + + + + + + + + + + FX-SCH-A-000021 + + + + + Attribute '@format' is required in this context. + + + + + + + + + + + FX-SCH-A-000022 + + + + + Value of '@format' is not allowed. + + + + + + + + + + + + + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + + + + + + + + + + + + Element 'ram:LineID' is marked as not used in the given context. + + + + + + + + + + + + + + + + + Element 'ram:Name' is marked as not used in the given context. + + + + + + + + + + + + + + + + + Element 'ram:ReferenceTypeCode' is marked as not used in the given context. + + + + + + + + + + + + + + + + + Element 'ram:TypeCode' is marked as not used in the given context. + + + + + + + + + + + + + + + + + Element 'ram:URIID' is marked as not used in the given context. + + + + + + + + + + + + + + + FX-SCH-A-000163 + + + + + Element 'ram:ID' may occur at maximum 1 times. + + + + + + + + + + FX-SCH-A-000030 + + + + + Element 'ram:Name' must occur exactly 1 times. + + + + + + + + + + FX-SCH-A-000321 + + + + + Element 'ram:RoleCode' may occur at maximum 1 times. + + + + + + + + + + FX-SCH-A-000165 + + + + + Element 'ram:URIUniversalCommunication' may occur at maximum 1 times. + + + + + + + + + + FX-SCH-A-000166 + + + + + Element 'ram:SpecifiedTaxRegistration' may occur at maximum 1 times. + + + + + + + + + + + + + + + + FX-SCH-A-000168 + + + + + Element 'ram:URIID' must occur exactly 1 times. + + + + + + + + + + + + + + + + + + Element 'ram:CompleteNumber' is marked as not used in the given context. + + + + + + + + + + + + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + + + + + + + + + + FX-SCH-A-000289 + + + + + Element 'ram:CompleteNumber' must occur exactly 1 times. + + + + + + + + + + + + + + + + + + Element 'ram:URIID' is marked as not used in the given context. + + + + + + + + + + + + + + + FX-SCH-A-000289 + + + + + Element 'ram:CompleteNumber' must occur exactly 1 times. + + + + + + + + + + + + + + + + + + Element 'ram:URIID' is marked as not used in the given context. + + + + + + + + + + + + + + + + + Element 'ram:Description' is marked as not used in the given context. + + + + + + + + + + + + + + + FX-SCH-A-000037 + + + + + Attribute '@schemeID' is required in this context. + + + + + + + + + + + FX-SCH-A-000031 + + + + + Value of '@schemeID' is not allowed. + + + + + + + + + + + + + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + + + + + + + + + + FX-SCH-A-000035 + + + + + Element 'ram:CountryID' must occur exactly 1 times. + + + + + + + + + + FX-SCH-A-000167 + + + + + Element 'ram:CountrySubDivisionName' may occur at maximum 1 times. + + + + + + + + + + + + + + + + + FX-SCH-A-000036 + + + + + Value of 'ram:CountryID' is not allowed. + + + + + + + + + + + + + + + + + + Attribute @listID' marked as not used in the given context. + + + + + + + + + + + Attribute @listVersionID' marked as not used in the given context. + + + + + + + + + + + + + + + + FX-SCH-A-000031 + + + + + Value of '@schemeID' is not allowed. + + + + + + + + + + + + + + + + FX-SCH-A-000035 + + + + + Element 'ram:CountryID' must occur exactly 1 times. + + + + + + + + + + FX-SCH-A-000167 + + + + + Element 'ram:CountrySubDivisionName' may occur at maximum 1 times. + + + + + + + + + + + + + + + + + FX-SCH-A-000036 + + + + + Value of 'ram:CountryID' is not allowed. + + + + + + + + + + + + + + + + + + Attribute @listID' marked as not used in the given context. + + + + + + + + + + + Attribute @listVersionID' marked as not used in the given context. + + + + + + + + + + + + + + + FX-SCH-A-000019 + + + + + Element 'ram:ID' must occur exactly 1 times. + + + + + + + + + + + + + + + + FX-SCH-A-000037 + + + + + Attribute '@schemeID' is required in this context. + + + + + + + + + + + + + + + + FX-SCH-A-000168 + + + + + Element 'ram:URIID' must occur exactly 1 times. + + + + + + + + + + + + + + + + + + Element 'ram:CompleteNumber' is marked as not used in the given context. + + + + + + + + + + + + + + + FX-SCH-A-000037 + + + + + Attribute '@schemeID' is required in this context. + + + + + + + + + + + FX-SCH-A-000031 + + + + + Value of '@schemeID' is not allowed. + + + + + + + + + + + + + + + + FX-SCH-A-000029 + + + + + Element 'ram:IssuerAssignedID' must occur exactly 1 times. + + + + + + + + + + + + + + + + + + Element 'ram:AttachmentBinaryObject' is marked as not used in the given context. + + + + + + + + + + + + + + + FX-SCH-A-000021 + + + + + Attribute '@format' is required in this context. + + + + + + + + + + + FX-SCH-A-000022 + + + + + Value of '@format' is not allowed. + + + + + + + + + + + + + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + + + + + + + + + + + + Element 'ram:LineID' is marked as not used in the given context. + + + + + + + + + + + + + + + + + Element 'ram:Name' is marked as not used in the given context. + + + + + + + + + + + + + + + + + Element 'ram:ReferenceTypeCode' is marked as not used in the given context. + + + + + + + + + + + + + + + + + Element 'ram:TypeCode' is marked as not used in the given context. + + + + + + + + + + + + + + + + + Element 'ram:URIID' is marked as not used in the given context. + + + + + + + + + + + + + + + FX-SCH-A-000163 + + + + + Element 'ram:ID' may occur at maximum 1 times. + + + + + + + + + + FX-SCH-A-000030 + + + + + Element 'ram:Name' must occur exactly 1 times. + + + + + + + + + + FX-SCH-A-000321 + + + + + Element 'ram:RoleCode' may occur at maximum 1 times. + + + + + + + + + + FX-SCH-A-000032 + + + + + Element 'ram:PostalTradeAddress' must occur exactly 1 times. + + + + + + + + + + FX-SCH-A-000165 + + + + + Element 'ram:URIUniversalCommunication' may occur at maximum 1 times. + + + + + + + + + + FX-SCH-A-000169 + + + + + Element 'ram:SpecifiedTaxRegistration' must occur exactly 1 times. + + + + + + + + + + + + + + + + FX-SCH-A-000168 + + + + + Element 'ram:URIID' must occur exactly 1 times. + + + + + + + + + + + + + + + + + + Element 'ram:CompleteNumber' is marked as not used in the given context. + + + + + + + + + + + + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + + + + + + + + + + FX-SCH-A-000289 + + + + + Element 'ram:CompleteNumber' must occur exactly 1 times. + + + + + + + + + + + + + + + + + + Element 'ram:URIID' is marked as not used in the given context. + + + + + + + + + + + + + + + FX-SCH-A-000289 + + + + + Element 'ram:CompleteNumber' must occur exactly 1 times. + + + + + + + + + + + + + + + + + + Element 'ram:URIID' is marked as not used in the given context. + + + + + + + + + + + + + + + + + Element 'ram:Description' is marked as not used in the given context. + + + + + + + + + + + + + + + FX-SCH-A-000037 + + + + + Attribute '@schemeID' is required in this context. + + + + + + + + + + + FX-SCH-A-000031 + + + + + Value of '@schemeID' is not allowed. + + + + + + + + + + + + + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + + + + + + + + + + FX-SCH-A-000035 + + + + + Element 'ram:CountryID' must occur exactly 1 times. + + + + + + + + + + FX-SCH-A-000167 + + + + + Element 'ram:CountrySubDivisionName' may occur at maximum 1 times. + + + + + + + + + + + + + + + + + FX-SCH-A-000036 + + + + + Value of 'ram:CountryID' is not allowed. + + + + + + + + + + + + + + + + + + Attribute @listID' marked as not used in the given context. + + + + + + + + + + + Attribute @listVersionID' marked as not used in the given context. + + + + + + + + + + + + + + + + FX-SCH-A-000031 + + + + + Value of '@schemeID' is not allowed. + + + + + + + + + + + + + + + + FX-SCH-A-000035 + + + + + Element 'ram:CountryID' must occur exactly 1 times. + + + + + + + + + + FX-SCH-A-000167 + + + + + Element 'ram:CountrySubDivisionName' may occur at maximum 1 times. + + + + + + + + + + + + + + + + + FX-SCH-A-000036 + + + + + Value of 'ram:CountryID' is not allowed. + + + + + + + + + + + + + + + + + + Attribute @listID' marked as not used in the given context. + + + + + + + + + + + Attribute @listVersionID' marked as not used in the given context. + + + + + + + + + + + + + + + FX-SCH-A-000019 + + + + + Element 'ram:ID' must occur exactly 1 times. + + + + + + + + + + + + + + + + FX-SCH-A-000037 + + + + + Attribute '@schemeID' is required in this context. + + + + + + + + + + + FX-SCH-A-000031 + + + + + Value of '@schemeID' is not allowed. + + + + + + + + + + + + + + + + FX-SCH-A-000168 + + + + + Element 'ram:URIID' must occur exactly 1 times. + + + + + + + + + + + + + + + + + + Element 'ram:CompleteNumber' is marked as not used in the given context. + + + + + + + + + + + + + + + FX-SCH-A-000037 + + + + + Attribute '@schemeID' is required in this context. + + + + + + + + + + + FX-SCH-A-000031 + + + + + Value of '@schemeID' is not allowed. + + + + + + + + + + + + + + + + FX-SCH-A-000030 + + + + + Element 'ram:Name' must occur exactly 1 times. + + + + + + + + + + FX-SCH-A-000321 + + + + + Element 'ram:RoleCode' may occur at maximum 1 times. + + + + + + + + + + FX-SCH-A-000187 + + + + + Element 'ram:Description' may occur at maximum 1 times. + + + + + + + + + + FX-SCH-A-000032 + + + + + Element 'ram:PostalTradeAddress' must occur exactly 1 times. + + + + + + + + + + FX-SCH-A-000165 + + + + + Element 'ram:URIUniversalCommunication' may occur at maximum 1 times. + + + + + + + + + + FX-SCH-A-000033 + + + + + Element variant 'ram:SpecifiedTaxRegistration[ram:ID/@schemeID="VA"]' may occur at maximum 1 times. + + + + + + + + + + FX-SCH-A-000034 + + + + + Element variant 'ram:SpecifiedTaxRegistration[ram:ID/@schemeID="FC"]' may occur at maximum 1 times. + + + + + + + + + + + + + + + + FX-SCH-A-000168 + + + + + Element 'ram:URIID' must occur exactly 1 times. + + + + + + + + + + + + + + + + + + Element 'ram:CompleteNumber' is marked as not used in the given context. + + + + + + + + + + + + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + + + + + + + + + + FX-SCH-A-000289 + + + + + Element 'ram:CompleteNumber' must occur exactly 1 times. + + + + + + + + + + + + + + + + + + Element 'ram:URIID' is marked as not used in the given context. + + + + + + + + + + + + + + + FX-SCH-A-000289 + + + + + Element 'ram:CompleteNumber' must occur exactly 1 times. + + + + + + + + + + + + + + + + + + Element 'ram:URIID' is marked as not used in the given context. + + + + + + + + + + + + + + + FX-SCH-A-000037 + + + + + Attribute '@schemeID' is required in this context. + + + + + + + + + + + FX-SCH-A-000031 + + + + + Value of '@schemeID' is not allowed. + + + + + + + + + + + + + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + + + + + + + + + + FX-SCH-A-000035 + + + + + Element 'ram:CountryID' must occur exactly 1 times. + + + + + + + + + + FX-SCH-A-000167 + + + + + Element 'ram:CountrySubDivisionName' may occur at maximum 1 times. + + + + + + + + + + + + + + + + + FX-SCH-A-000036 + + + + + Value of 'ram:CountryID' is not allowed. + + + + + + + + + + + + + + + + + + Attribute @listID' marked as not used in the given context. + + + + + + + + + + + Attribute @listVersionID' marked as not used in the given context. + + + + + + + + + + + + + + + + FX-SCH-A-000031 + + + + + Value of '@schemeID' is not allowed. + + + + + + + + + + + + + + + + FX-SCH-A-000035 + + + + + Element 'ram:CountryID' must occur exactly 1 times. + + + + + + + + + + FX-SCH-A-000167 + + + + + Element 'ram:CountrySubDivisionName' may occur at maximum 1 times. + + + + + + + + + + + + + + + + + FX-SCH-A-000036 + + + + + Value of 'ram:CountryID' is not allowed. + + + + + + + + + + + + + + + + + + Attribute @listID' marked as not used in the given context. + + + + + + + + + + + Attribute @listVersionID' marked as not used in the given context. + + + + + + + + + + + + + + + + + Element variant 'ram:SpecifiedTaxRegistration[ not(ram:ID/@schemeID="VA") and not(ram:ID/@schemeID="FC")]' is marked as not used in the given context. + + + + + + + + + + + + + + + FX-SCH-A-000019 + + + + + Element 'ram:ID' must occur exactly 1 times. + + + + + + + + + + + + + + + + FX-SCH-A-000037 + + + + + Attribute '@schemeID' is required in this context. + + + + + + + + + + + + + + + + FX-SCH-A-000019 + + + + + Element 'ram:ID' must occur exactly 1 times. + + + + + + + + + + + + + + + + FX-SCH-A-000037 + + + + + Attribute '@schemeID' is required in this context. + + + + + + + + + + + + + + + + FX-SCH-A-000168 + + + + + Element 'ram:URIID' must occur exactly 1 times. + + + + + + + + + + + + + + + + + + Element 'ram:CompleteNumber' is marked as not used in the given context. + + + + + + + + + + + + + + + FX-SCH-A-000037 + + + + + Attribute '@schemeID' is required in this context. + + + + + + + + + + + FX-SCH-A-000031 + + + + + Value of '@schemeID' is not allowed. + + + + + + + + + + + + + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + + + + + + + + + + FX-SCH-A-000029 + + + + + Element 'ram:IssuerAssignedID' must occur exactly 1 times. + + + + + + + + + + + + + + + + + + Element 'ram:AttachmentBinaryObject' is marked as not used in the given context. + + + + + + + + + + + + + + + FX-SCH-A-000021 + + + + + Attribute '@format' is required in this context. + + + + + + + + + + + FX-SCH-A-000022 + + + + + Value of '@format' is not allowed. + + + + + + + + + + + + + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + + + + + + + + + + + + Element 'ram:LineID' is marked as not used in the given context. + + + + + + + + + + + + + + + + + Element 'ram:Name' is marked as not used in the given context. + + + + + + + + + + + + + + + + + Element 'ram:ReferenceTypeCode' is marked as not used in the given context. + + + + + + + + + + + + + + + + + Element 'ram:TypeCode' is marked as not used in the given context. + + + + + + + + + + + + + + + + + Element 'ram:URIID' is marked as not used in the given context. + + + + + + + + + + + + + + + FX-SCH-A-000171 + + + + + Element 'ram:OccurrenceDateTime' must occur exactly 1 times. + + + + + + + + + + + + + + + + FX-SCH-A-000021 + + + + + Attribute '@format' is required in this context. + + + + + + + + + + + FX-SCH-A-000022 + + + + + Value of '@format' is not allowed. + + + + + + + + + + + + + + + + FX-SCH-A-000029 + + + + + Element 'ram:IssuerAssignedID' must occur exactly 1 times. + + + + + + + + + + + + + + + + + + Element 'ram:AttachmentBinaryObject' is marked as not used in the given context. + + + + + + + + + + + + + + + FX-SCH-A-000021 + + + + + Attribute '@format' is required in this context. + + + + + + + + + + + FX-SCH-A-000022 + + + + + Value of '@format' is not allowed. + + + + + + + + + + + + + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + + + + + + + + + + + + Element 'ram:LineID' is marked as not used in the given context. + + + + + + + + + + + + + + + + + Element 'ram:Name' is marked as not used in the given context. + + + + + + + + + + + + + + + + + Element 'ram:ReferenceTypeCode' is marked as not used in the given context. + + + + + + + + + + + + + + + + + Element 'ram:TypeCode' is marked as not used in the given context. + + + + + + + + + + + + + + + + + Element 'ram:URIID' is marked as not used in the given context. + + + + + + + + + + + + + + + FX-SCH-A-000029 + + + + + Element 'ram:IssuerAssignedID' must occur exactly 1 times. + + + + + + + + + + + + + + + + + + Element 'ram:AttachmentBinaryObject' is marked as not used in the given context. + + + + + + + + + + + + + + + FX-SCH-A-000021 + + + + + Attribute '@format' is required in this context. + + + + + + + + + + + FX-SCH-A-000022 + + + + + Value of '@format' is not allowed. + + + + + + + + + + + + + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + + + + + + + + + + + + Element 'ram:LineID' is marked as not used in the given context. + + + + + + + + + + + + + + + + + Element 'ram:Name' is marked as not used in the given context. + + + + + + + + + + + + + + + + + Element 'ram:ReferenceTypeCode' is marked as not used in the given context. + + + + + + + + + + + + + + + + + Element 'ram:TypeCode' is marked as not used in the given context. + + + + + + + + + + + + + + + + + Element 'ram:URIID' is marked as not used in the given context. + + + + + + + + + + + + + + + FX-SCH-A-000029 + + + + + Element 'ram:IssuerAssignedID' must occur exactly 1 times. + + + + + + + + + + + + + + + + + + Element 'ram:AttachmentBinaryObject' is marked as not used in the given context. + + + + + + + + + + + + + + + FX-SCH-A-000021 + + + + + Attribute '@format' is required in this context. + + + + + + + + + + + FX-SCH-A-000022 + + + + + Value of '@format' is not allowed. + + + + + + + + + + + + + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + + + + + + + + + + + + Element 'ram:LineID' is marked as not used in the given context. + + + + + + + + + + + + + + + + + Element 'ram:Name' is marked as not used in the given context. + + + + + + + + + + + + + + + + + Element 'ram:ReferenceTypeCode' is marked as not used in the given context. + + + + + + + + + + + + + + + + + Element 'ram:TypeCode' is marked as not used in the given context. + + + + + + + + + + + + + + + + + Element 'ram:URIID' is marked as not used in the given context. + + + + + + + + + + + + + + + FX-SCH-A-000322 + + + + + Element 'ram:ModeCode' must occur exactly 1 times. + + + + + + + + + + + + + + + + + FX-SCH-A-000346 + + + + + Value of 'ram:ModeCode' is not allowed. + + + + + + + + + + + + + + + + FX-SCH-A-000163 + + + + + Element 'ram:ID' may occur at maximum 1 times. + + + + + + + + + + FX-SCH-A-000321 + + + + + Element 'ram:RoleCode' may occur at maximum 1 times. + + + + + + + + + + FX-SCH-A-000165 + + + + + Element 'ram:URIUniversalCommunication' may occur at maximum 1 times. + + + + + + + + + + FX-SCH-A-000166 + + + + + Element 'ram:SpecifiedTaxRegistration' may occur at maximum 1 times. + + + + + + + + + + + + + + + + FX-SCH-A-000168 + + + + + Element 'ram:URIID' must occur exactly 1 times. + + + + + + + + + + + + + + + + + + Element 'ram:CompleteNumber' is marked as not used in the given context. + + + + + + + + + + + + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + + + + + + + + + + FX-SCH-A-000289 + + + + + Element 'ram:CompleteNumber' must occur exactly 1 times. + + + + + + + + + + + + + + + + + + Element 'ram:URIID' is marked as not used in the given context. + + + + + + + + + + + + + + + FX-SCH-A-000289 + + + + + Element 'ram:CompleteNumber' must occur exactly 1 times. + + + + + + + + + + + + + + + + + + Element 'ram:URIID' is marked as not used in the given context. + + + + + + + + + + + + + + + + + Element 'ram:Description' is marked as not used in the given context. + + + + + + + + + + + + + + + FX-SCH-A-000037 + + + + + Attribute '@schemeID' is required in this context. + + + + + + + + + + + FX-SCH-A-000031 + + + + + Value of '@schemeID' is not allowed. + + + + + + + + + + + + + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + + + + + + + + + + FX-SCH-A-000035 + + + + + Element 'ram:CountryID' must occur exactly 1 times. + + + + + + + + + + FX-SCH-A-000167 + + + + + Element 'ram:CountrySubDivisionName' may occur at maximum 1 times. + + + + + + + + + + + + + + + + + FX-SCH-A-000036 + + + + + Value of 'ram:CountryID' is not allowed. + + + + + + + + + + + + + + + + + + Attribute @listID' marked as not used in the given context. + + + + + + + + + + + Attribute @listVersionID' marked as not used in the given context. + + + + + + + + + + + + + + + + FX-SCH-A-000031 + + + + + Value of '@schemeID' is not allowed. + + + + + + + + + + + + + + + + FX-SCH-A-000035 + + + + + Element 'ram:CountryID' must occur exactly 1 times. + + + + + + + + + + FX-SCH-A-000167 + + + + + Element 'ram:CountrySubDivisionName' may occur at maximum 1 times. + + + + + + + + + + + + + + + + + FX-SCH-A-000036 + + + + + Value of 'ram:CountryID' is not allowed. + + + + + + + + + + + + + + + + + + Attribute @listID' marked as not used in the given context. + + + + + + + + + + + Attribute @listVersionID' marked as not used in the given context. + + + + + + + + + + + + + + + FX-SCH-A-000019 + + + + + Element 'ram:ID' must occur exactly 1 times. + + + + + + + + + + + + + + + + FX-SCH-A-000037 + + + + + Attribute '@schemeID' is required in this context. + + + + + + + + + + + + + + + + FX-SCH-A-000168 + + + + + Element 'ram:URIID' must occur exactly 1 times. + + + + + + + + + + + + + + + + + + Element 'ram:CompleteNumber' is marked as not used in the given context. + + + + + + + + + + + + + + + FX-SCH-A-000037 + + + + + Attribute '@schemeID' is required in this context. + + + + + + + + + + + FX-SCH-A-000031 + + + + + Value of '@schemeID' is not allowed. + + + + + + + + + + + + + + + + FX-SCH-A-000163 + + + + + Element 'ram:ID' may occur at maximum 1 times. + + + + + + + + + + FX-SCH-A-000321 + + + + + Element 'ram:RoleCode' may occur at maximum 1 times. + + + + + + + + + + FX-SCH-A-000165 + + + + + Element 'ram:URIUniversalCommunication' may occur at maximum 1 times. + + + + + + + + + + FX-SCH-A-000166 + + + + + Element 'ram:SpecifiedTaxRegistration' may occur at maximum 1 times. + + + + + + + + + + + + + + + + FX-SCH-A-000168 + + + + + Element 'ram:URIID' must occur exactly 1 times. + + + + + + + + + + + + + + + + + + Element 'ram:CompleteNumber' is marked as not used in the given context. + + + + + + + + + + + + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + + + + + + + + + + FX-SCH-A-000289 + + + + + Element 'ram:CompleteNumber' must occur exactly 1 times. + + + + + + + + + + + + + + + + + + Element 'ram:URIID' is marked as not used in the given context. + + + + + + + + + + + + + + + FX-SCH-A-000289 + + + + + Element 'ram:CompleteNumber' must occur exactly 1 times. + + + + + + + + + + + + + + + + + + Element 'ram:URIID' is marked as not used in the given context. + + + + + + + + + + + + + + + + + Element 'ram:Description' is marked as not used in the given context. + + + + + + + + + + + + + + + FX-SCH-A-000037 + + + + + Attribute '@schemeID' is required in this context. + + + + + + + + + + + FX-SCH-A-000031 + + + + + Value of '@schemeID' is not allowed. + + + + + + + + + + + + + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + + + + + + + + + + FX-SCH-A-000035 + + + + + Element 'ram:CountryID' must occur exactly 1 times. + + + + + + + + + + FX-SCH-A-000167 + + + + + Element 'ram:CountrySubDivisionName' may occur at maximum 1 times. + + + + + + + + + + + + + + + + + FX-SCH-A-000036 + + + + + Value of 'ram:CountryID' is not allowed. + + + + + + + + + + + + + + + + + + Attribute @listID' marked as not used in the given context. + + + + + + + + + + + Attribute @listVersionID' marked as not used in the given context. + + + + + + + + + + + + + + + + FX-SCH-A-000031 + + + + + Value of '@schemeID' is not allowed. + + + + + + + + + + + + + + + + FX-SCH-A-000035 + + + + + Element 'ram:CountryID' must occur exactly 1 times. + + + + + + + + + + FX-SCH-A-000167 + + + + + Element 'ram:CountrySubDivisionName' may occur at maximum 1 times. + + + + + + + + + + + + + + + + + FX-SCH-A-000036 + + + + + Value of 'ram:CountryID' is not allowed. + + + + + + + + + + + + + + + + + + Attribute @listID' marked as not used in the given context. + + + + + + + + + + + Attribute @listVersionID' marked as not used in the given context. + + + + + + + + + + + + + + + FX-SCH-A-000019 + + + + + Element 'ram:ID' must occur exactly 1 times. + + + + + + + + + + + + + + + + FX-SCH-A-000037 + + + + + Attribute '@schemeID' is required in this context. + + + + + + + + + + + + + + + + FX-SCH-A-000168 + + + + + Element 'ram:URIID' must occur exactly 1 times. + + + + + + + + + + + + + + + + + + Element 'ram:CompleteNumber' is marked as not used in the given context. + + + + + + + + + + + + + + + FX-SCH-A-000037 + + + + + Attribute '@schemeID' is required in this context. + + + + + + + + + + + FX-SCH-A-000031 + + + + + Value of '@schemeID' is not allowed. + + + + + + + + + + + + + + + + FX-SCH-A-000163 + + + + + Element 'ram:ID' may occur at maximum 1 times. + + + + + + + + + + FX-SCH-A-000321 + + + + + Element 'ram:RoleCode' may occur at maximum 1 times. + + + + + + + + + + FX-SCH-A-000165 + + + + + Element 'ram:URIUniversalCommunication' may occur at maximum 1 times. + + + + + + + + + + FX-SCH-A-000166 + + + + + Element 'ram:SpecifiedTaxRegistration' may occur at maximum 1 times. + + + + + + + + + + + + + + + + FX-SCH-A-000168 + + + + + Element 'ram:URIID' must occur exactly 1 times. + + + + + + + + + + + + + + + + + + Element 'ram:CompleteNumber' is marked as not used in the given context. + + + + + + + + + + + + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + + + + + + + + + + FX-SCH-A-000289 + + + + + Element 'ram:CompleteNumber' must occur exactly 1 times. + + + + + + + + + + + + + + + + + + Element 'ram:URIID' is marked as not used in the given context. + + + + + + + + + + + + + + + FX-SCH-A-000289 + + + + + Element 'ram:CompleteNumber' must occur exactly 1 times. + + + + + + + + + + + + + + + + + + Element 'ram:URIID' is marked as not used in the given context. + + + + + + + + + + + + + + + + + Element 'ram:Description' is marked as not used in the given context. + + + + + + + + + + + + + + + FX-SCH-A-000037 + + + + + Attribute '@schemeID' is required in this context. + + + + + + + + + + + FX-SCH-A-000031 + + + + + Value of '@schemeID' is not allowed. + + + + + + + + + + + + + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + + + + + + + + + + FX-SCH-A-000035 + + + + + Element 'ram:CountryID' must occur exactly 1 times. + + + + + + + + + + FX-SCH-A-000167 + + + + + Element 'ram:CountrySubDivisionName' may occur at maximum 1 times. + + + + + + + + + + + + + + + + + FX-SCH-A-000036 + + + + + Value of 'ram:CountryID' is not allowed. + + + + + + + + + + + + + + + + + + Attribute @listID' marked as not used in the given context. + + + + + + + + + + + Attribute @listVersionID' marked as not used in the given context. + + + + + + + + + + + + + + + + FX-SCH-A-000031 + + + + + Value of '@schemeID' is not allowed. + + + + + + + + + + + + + + + + FX-SCH-A-000035 + + + + + Element 'ram:CountryID' must occur exactly 1 times. + + + + + + + + + + FX-SCH-A-000167 + + + + + Element 'ram:CountrySubDivisionName' may occur at maximum 1 times. + + + + + + + + + + + + + + + + + FX-SCH-A-000036 + + + + + Value of 'ram:CountryID' is not allowed. + + + + + + + + + + + + + + + + + + Attribute @listID' marked as not used in the given context. + + + + + + + + + + + Attribute @listVersionID' marked as not used in the given context. + + + + + + + + + + + + + + + FX-SCH-A-000019 + + + + + Element 'ram:ID' must occur exactly 1 times. + + + + + + + + + + + + + + + + FX-SCH-A-000037 + + + + + Attribute '@schemeID' is required in this context. + + + + + + + + + + + + + + + + FX-SCH-A-000168 + + + + + Element 'ram:URIID' must occur exactly 1 times. + + + + + + + + + + + + + + + + + + Element 'ram:CompleteNumber' is marked as not used in the given context. + + + + + + + + + + + + + + + FX-SCH-A-000037 + + + + + Attribute '@schemeID' is required in this context. + + + + + + + + + + + FX-SCH-A-000031 + + + + + Value of '@schemeID' is not allowed. + + + + + + + + + + + + + + + + FX-SCH-A-000172 + + + + + Element 'ram:PaymentReference' may occur at maximum 1 times. + + + + + + + + + + FX-SCH-A-000038 + + + + + Element 'ram:InvoiceCurrencyCode' must occur exactly 1 times. + + + + + + + + + + FX-SCH-A-000173 + + + + + Element 'ram:ApplicableTradeTax' must occur at least 1 times. + + + + + + + + + + FX-SCH-A-000039 + + + + + Element 'ram:SpecifiedTradeSettlementHeaderMonetarySummation' must occur exactly 1 times. + + + + + + + + + + + + + + + + FX-SCH-A-000176 + + + + + Element 'ram:CalculatedAmount' must occur exactly 1 times. + + + + + + + + + + FX-SCH-A-000020 + + + + + Element 'ram:TypeCode' must occur exactly 1 times. + + + + + + + + + + FX-SCH-A-000177 + + + + + Element 'ram:BasisAmount' must occur exactly 1 times. + + + + + + + + + + FX-SCH-A-000323 + + + + + Element 'ram:LineTotalBasisAmount' may occur at maximum 1 times. + + + + + + + + + + FX-SCH-A-000324 + + + + + Element 'ram:AllowanceChargeBasisAmount' may occur at maximum 1 times. + + + + + + + + + + FX-SCH-A-000178 + + + + + Element 'ram:CategoryCode' must occur exactly 1 times. + + + + + + + + + + + + + + + + + + Attribute @currencyID' marked as not used in the given context. + + + + + + + + + + + + + + + + + Attribute @currencyID' marked as not used in the given context. + + + + + + + + + + + + + + + + + Attribute @currencyID' marked as not used in the given context. + + + + + + + + + + + + + + + + FX-SCH-A-000179 + + + + + Value of 'ram:CategoryCode' is not allowed. + + + + + + + + + + + + + + + + + FX-SCH-A-000180 + + + + + Value of 'ram:DueDateTypeCode' is not allowed. + + + + + + + + + + + + + + + + + FX-SCH-A-000181 + + + + + Value of 'ram:ExemptionReasonCode' is not allowed. + + + + + + + + + + + + Attribute @listID' marked as not used in the given context. + + + + + + + + + + + Attribute @listVersionID' marked as not used in the given context. + + + + + + + + + + + + + + + + + Attribute @currencyID' marked as not used in the given context. + + + + + + + + + + + + + + + FX-SCH-A-000021 + + + + + Attribute '@format' is required in this context. + + + + + + + + + + + FX-SCH-A-000022 + + + + + Value of '@format' is not allowed. + + + + + + + + + + + + + + + + + FX-SCH-A-000023 + + + + + Value of 'ram:TypeCode' is not allowed. + + + + + + + + + + + + + + + + FX-SCH-A-000187 + + + + + Element 'ram:Description' may occur at maximum 1 times. + + + + + + + + + + + + + + + + + + Element 'ram:CompleteDateTime' is marked as not used in the given context. + + + + + + + + + + + + + + + FX-SCH-A-000021 + + + + + Attribute '@format' is required in this context. + + + + + + + + + + + FX-SCH-A-000022 + + + + + Value of '@format' is not allowed. + + + + + + + + + + + + + + + + FX-SCH-A-000021 + + + + + Attribute '@format' is required in this context. + + + + + + + + + + + FX-SCH-A-000022 + + + + + Value of '@format' is not allowed. + + + + + + + + + + + + + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + + + + + + + + + + + FX-SCH-A-000040 + + + + + Value of 'ram:InvoiceCurrencyCode' is not allowed. + + + + + + + + + + + + + + + + + + Element 'ram:AttachmentBinaryObject' is marked as not used in the given context. + + + + + + + + + + + + + + + FX-SCH-A-000021 + + + + + Attribute '@format' is required in this context. + + + + + + + + + + + FX-SCH-A-000022 + + + + + Value of '@format' is not allowed. + + + + + + + + + + + + + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + + + + + + + + + + + + Element 'ram:LineID' is marked as not used in the given context. + + + + + + + + + + + + + + + + + Element 'ram:Name' is marked as not used in the given context. + + + + + + + + + + + + + + + + + Element 'ram:ReferenceTypeCode' is marked as not used in the given context. + + + + + + + + + + + + + + + + FX-SCH-A-000023 + + + + + Value of 'ram:TypeCode' is not allowed. + + + + + + + + + + + + + + + + + + Element 'ram:URIID' is marked as not used in the given context. + + + + + + + + + + + + + + + FX-SCH-A-000163 + + + + + Element 'ram:ID' may occur at maximum 1 times. + + + + + + + + + + FX-SCH-A-000030 + + + + + Element 'ram:Name' must occur exactly 1 times. + + + + + + + + + + FX-SCH-A-000321 + + + + + Element 'ram:RoleCode' may occur at maximum 1 times. + + + + + + + + + + FX-SCH-A-000165 + + + + + Element 'ram:URIUniversalCommunication' may occur at maximum 1 times. + + + + + + + + + + FX-SCH-A-000166 + + + + + Element 'ram:SpecifiedTaxRegistration' may occur at maximum 1 times. + + + + + + + + + + + + + + + + FX-SCH-A-000168 + + + + + Element 'ram:URIID' must occur exactly 1 times. + + + + + + + + + + + + + + + + + + Element 'ram:CompleteNumber' is marked as not used in the given context. + + + + + + + + + + + + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + + + + + + + + + + FX-SCH-A-000289 + + + + + Element 'ram:CompleteNumber' must occur exactly 1 times. + + + + + + + + + + + + + + + + + + Element 'ram:URIID' is marked as not used in the given context. + + + + + + + + + + + + + + + FX-SCH-A-000289 + + + + + Element 'ram:CompleteNumber' must occur exactly 1 times. + + + + + + + + + + + + + + + + + + Element 'ram:URIID' is marked as not used in the given context. + + + + + + + + + + + + + + + + + Element 'ram:Description' is marked as not used in the given context. + + + + + + + + + + + + + + + FX-SCH-A-000037 + + + + + Attribute '@schemeID' is required in this context. + + + + + + + + + + + FX-SCH-A-000031 + + + + + Value of '@schemeID' is not allowed. + + + + + + + + + + + + + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + + + + + + + + + + FX-SCH-A-000035 + + + + + Element 'ram:CountryID' must occur exactly 1 times. + + + + + + + + + + FX-SCH-A-000167 + + + + + Element 'ram:CountrySubDivisionName' may occur at maximum 1 times. + + + + + + + + + + + + + + + + + FX-SCH-A-000036 + + + + + Value of 'ram:CountryID' is not allowed. + + + + + + + + + + + + + + + + + + Attribute @listID' marked as not used in the given context. + + + + + + + + + + + Attribute @listVersionID' marked as not used in the given context. + + + + + + + + + + + + + + + + FX-SCH-A-000031 + + + + + Value of '@schemeID' is not allowed. + + + + + + + + + + + + + + + + FX-SCH-A-000035 + + + + + Element 'ram:CountryID' must occur exactly 1 times. + + + + + + + + + + FX-SCH-A-000167 + + + + + Element 'ram:CountrySubDivisionName' may occur at maximum 1 times. + + + + + + + + + + + + + + + + + FX-SCH-A-000036 + + + + + Value of 'ram:CountryID' is not allowed. + + + + + + + + + + + + + + + + + + Attribute @listID' marked as not used in the given context. + + + + + + + + + + + Attribute @listVersionID' marked as not used in the given context. + + + + + + + + + + + + + + + FX-SCH-A-000019 + + + + + Element 'ram:ID' must occur exactly 1 times. + + + + + + + + + + + + + + + + FX-SCH-A-000037 + + + + + Attribute '@schemeID' is required in this context. + + + + + + + + + + + + + + + + FX-SCH-A-000168 + + + + + Element 'ram:URIID' must occur exactly 1 times. + + + + + + + + + + + + + + + + + + Element 'ram:CompleteNumber' is marked as not used in the given context. + + + + + + + + + + + + + + + FX-SCH-A-000037 + + + + + Attribute '@schemeID' is required in this context. + + + + + + + + + + + FX-SCH-A-000031 + + + + + Value of '@schemeID' is not allowed. + + + + + + + + + + + + + + + + FX-SCH-A-000163 + + + + + Element 'ram:ID' may occur at maximum 1 times. + + + + + + + + + + FX-SCH-A-000030 + + + + + Element 'ram:Name' must occur exactly 1 times. + + + + + + + + + + FX-SCH-A-000321 + + + + + Element 'ram:RoleCode' may occur at maximum 1 times. + + + + + + + + + + FX-SCH-A-000165 + + + + + Element 'ram:URIUniversalCommunication' may occur at maximum 1 times. + + + + + + + + + + FX-SCH-A-000166 + + + + + Element 'ram:SpecifiedTaxRegistration' may occur at maximum 1 times. + + + + + + + + + + + + + + + + FX-SCH-A-000168 + + + + + Element 'ram:URIID' must occur exactly 1 times. + + + + + + + + + + + + + + + + + + Element 'ram:CompleteNumber' is marked as not used in the given context. + + + + + + + + + + + + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + + + + + + + + + + FX-SCH-A-000289 + + + + + Element 'ram:CompleteNumber' must occur exactly 1 times. + + + + + + + + + + + + + + + + + + Element 'ram:URIID' is marked as not used in the given context. + + + + + + + + + + + + + + + FX-SCH-A-000289 + + + + + Element 'ram:CompleteNumber' must occur exactly 1 times. + + + + + + + + + + + + + + + + + + Element 'ram:URIID' is marked as not used in the given context. + + + + + + + + + + + + + + + + + Element 'ram:Description' is marked as not used in the given context. + + + + + + + + + + + + + + + FX-SCH-A-000037 + + + + + Attribute '@schemeID' is required in this context. + + + + + + + + + + + FX-SCH-A-000031 + + + + + Value of '@schemeID' is not allowed. + + + + + + + + + + + + + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + + + + + + + + + + FX-SCH-A-000035 + + + + + Element 'ram:CountryID' must occur exactly 1 times. + + + + + + + + + + FX-SCH-A-000167 + + + + + Element 'ram:CountrySubDivisionName' may occur at maximum 1 times. + + + + + + + + + + + + + + + + + FX-SCH-A-000036 + + + + + Value of 'ram:CountryID' is not allowed. + + + + + + + + + + + + + + + + + + Attribute @listID' marked as not used in the given context. + + + + + + + + + + + Attribute @listVersionID' marked as not used in the given context. + + + + + + + + + + + + + + + + FX-SCH-A-000031 + + + + + Value of '@schemeID' is not allowed. + + + + + + + + + + + + + + + + FX-SCH-A-000035 + + + + + Element 'ram:CountryID' must occur exactly 1 times. + + + + + + + + + + FX-SCH-A-000167 + + + + + Element 'ram:CountrySubDivisionName' may occur at maximum 1 times. + + + + + + + + + + + + + + + + + FX-SCH-A-000036 + + + + + Value of 'ram:CountryID' is not allowed. + + + + + + + + + + + + + + + + + + Attribute @listID' marked as not used in the given context. + + + + + + + + + + + Attribute @listVersionID' marked as not used in the given context. + + + + + + + + + + + + + + + FX-SCH-A-000019 + + + + + Element 'ram:ID' must occur exactly 1 times. + + + + + + + + + + + + + + + + FX-SCH-A-000037 + + + + + Attribute '@schemeID' is required in this context. + + + + + + + + + + + + + + + + FX-SCH-A-000168 + + + + + Element 'ram:URIID' must occur exactly 1 times. + + + + + + + + + + + + + + + + + + Element 'ram:CompleteNumber' is marked as not used in the given context. + + + + + + + + + + + + + + + FX-SCH-A-000037 + + + + + Attribute '@schemeID' is required in this context. + + + + + + + + + + + FX-SCH-A-000031 + + + + + Value of '@schemeID' is not allowed. + + + + + + + + + + + + + + + + FX-SCH-A-000163 + + + + + Element 'ram:ID' may occur at maximum 1 times. + + + + + + + + + + FX-SCH-A-000030 + + + + + Element 'ram:Name' must occur exactly 1 times. + + + + + + + + + + FX-SCH-A-000321 + + + + + Element 'ram:RoleCode' may occur at maximum 1 times. + + + + + + + + + + FX-SCH-A-000165 + + + + + Element 'ram:URIUniversalCommunication' may occur at maximum 1 times. + + + + + + + + + + FX-SCH-A-000166 + + + + + Element 'ram:SpecifiedTaxRegistration' may occur at maximum 1 times. + + + + + + + + + + + + + + + + FX-SCH-A-000168 + + + + + Element 'ram:URIID' must occur exactly 1 times. + + + + + + + + + + + + + + + + + + Element 'ram:CompleteNumber' is marked as not used in the given context. + + + + + + + + + + + + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + + + + + + + + + + FX-SCH-A-000289 + + + + + Element 'ram:CompleteNumber' must occur exactly 1 times. + + + + + + + + + + + + + + + + + + Element 'ram:URIID' is marked as not used in the given context. + + + + + + + + + + + + + + + FX-SCH-A-000289 + + + + + Element 'ram:CompleteNumber' must occur exactly 1 times. + + + + + + + + + + + + + + + + + + Element 'ram:URIID' is marked as not used in the given context. + + + + + + + + + + + + + + + + + Element 'ram:Description' is marked as not used in the given context. + + + + + + + + + + + + + + + FX-SCH-A-000037 + + + + + Attribute '@schemeID' is required in this context. + + + + + + + + + + + FX-SCH-A-000031 + + + + + Value of '@schemeID' is not allowed. + + + + + + + + + + + + + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + + + + + + + + + + FX-SCH-A-000035 + + + + + Element 'ram:CountryID' must occur exactly 1 times. + + + + + + + + + + FX-SCH-A-000167 + + + + + Element 'ram:CountrySubDivisionName' may occur at maximum 1 times. + + + + + + + + + + + + + + + + + FX-SCH-A-000036 + + + + + Value of 'ram:CountryID' is not allowed. + + + + + + + + + + + + + + + + + + Attribute @listID' marked as not used in the given context. + + + + + + + + + + + Attribute @listVersionID' marked as not used in the given context. + + + + + + + + + + + + + + + + FX-SCH-A-000031 + + + + + Value of '@schemeID' is not allowed. + + + + + + + + + + + + + + + + FX-SCH-A-000035 + + + + + Element 'ram:CountryID' must occur exactly 1 times. + + + + + + + + + + FX-SCH-A-000167 + + + + + Element 'ram:CountrySubDivisionName' may occur at maximum 1 times. + + + + + + + + + + + + + + + + + FX-SCH-A-000036 + + + + + Value of 'ram:CountryID' is not allowed. + + + + + + + + + + + + + + + + + + Attribute @listID' marked as not used in the given context. + + + + + + + + + + + Attribute @listVersionID' marked as not used in the given context. + + + + + + + + + + + + + + + FX-SCH-A-000019 + + + + + Element 'ram:ID' must occur exactly 1 times. + + + + + + + + + + + + + + + + FX-SCH-A-000037 + + + + + Attribute '@schemeID' is required in this context. + + + + + + + + + + + + + + + + FX-SCH-A-000168 + + + + + Element 'ram:URIID' must occur exactly 1 times. + + + + + + + + + + + + + + + + + + Element 'ram:CompleteNumber' is marked as not used in the given context. + + + + + + + + + + + + + + + FX-SCH-A-000037 + + + + + Attribute '@schemeID' is required in this context. + + + + + + + + + + + FX-SCH-A-000031 + + + + + Value of '@schemeID' is not allowed. + + + + + + + + + + + + + + + + FX-SCH-A-000163 + + + + + Element 'ram:ID' may occur at maximum 1 times. + + + + + + + + + + FX-SCH-A-000030 + + + + + Element 'ram:Name' must occur exactly 1 times. + + + + + + + + + + FX-SCH-A-000321 + + + + + Element 'ram:RoleCode' may occur at maximum 1 times. + + + + + + + + + + FX-SCH-A-000165 + + + + + Element 'ram:URIUniversalCommunication' may occur at maximum 1 times. + + + + + + + + + + FX-SCH-A-000166 + + + + + Element 'ram:SpecifiedTaxRegistration' may occur at maximum 1 times. + + + + + + + + + + + + + + + + FX-SCH-A-000168 + + + + + Element 'ram:URIID' must occur exactly 1 times. + + + + + + + + + + + + + + + + + + Element 'ram:CompleteNumber' is marked as not used in the given context. + + + + + + + + + + + + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + + + + + + + + + + FX-SCH-A-000289 + + + + + Element 'ram:CompleteNumber' must occur exactly 1 times. + + + + + + + + + + + + + + + + + + Element 'ram:URIID' is marked as not used in the given context. + + + + + + + + + + + + + + + FX-SCH-A-000289 + + + + + Element 'ram:CompleteNumber' must occur exactly 1 times. + + + + + + + + + + + + + + + + + + Element 'ram:URIID' is marked as not used in the given context. + + + + + + + + + + + + + + + + + Element 'ram:Description' is marked as not used in the given context. + + + + + + + + + + + + + + + FX-SCH-A-000037 + + + + + Attribute '@schemeID' is required in this context. + + + + + + + + + + + FX-SCH-A-000031 + + + + + Value of '@schemeID' is not allowed. + + + + + + + + + + + + + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + + + + + + + + + + FX-SCH-A-000035 + + + + + Element 'ram:CountryID' must occur exactly 1 times. + + + + + + + + + + FX-SCH-A-000167 + + + + + Element 'ram:CountrySubDivisionName' may occur at maximum 1 times. + + + + + + + + + + + + + + + + + FX-SCH-A-000036 + + + + + Value of 'ram:CountryID' is not allowed. + + + + + + + + + + + + + + + + + + Attribute @listID' marked as not used in the given context. + + + + + + + + + + + Attribute @listVersionID' marked as not used in the given context. + + + + + + + + + + + + + + + + FX-SCH-A-000031 + + + + + Value of '@schemeID' is not allowed. + + + + + + + + + + + + + + + + FX-SCH-A-000035 + + + + + Element 'ram:CountryID' must occur exactly 1 times. + + + + + + + + + + FX-SCH-A-000167 + + + + + Element 'ram:CountrySubDivisionName' may occur at maximum 1 times. + + + + + + + + + + + + + + + + + FX-SCH-A-000036 + + + + + Value of 'ram:CountryID' is not allowed. + + + + + + + + + + + + + + + + + + Attribute @listID' marked as not used in the given context. + + + + + + + + + + + Attribute @listVersionID' marked as not used in the given context. + + + + + + + + + + + + + + + FX-SCH-A-000019 + + + + + Element 'ram:ID' must occur exactly 1 times. + + + + + + + + + + + + + + + + FX-SCH-A-000037 + + + + + Attribute '@schemeID' is required in this context. + + + + + + + + + + + + + + + + FX-SCH-A-000168 + + + + + Element 'ram:URIID' must occur exactly 1 times. + + + + + + + + + + + + + + + + + + Element 'ram:CompleteNumber' is marked as not used in the given context. + + + + + + + + + + + + + + + FX-SCH-A-000037 + + + + + Attribute '@schemeID' is required in this context. + + + + + + + + + + + FX-SCH-A-000031 + + + + + Value of '@schemeID' is not allowed. + + + + + + + + + + + + + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + + + + + + + + + + + FX-SCH-A-000023 + + + + + Value of 'ram:TypeCode' is not allowed. + + + + + + + + + + + + + + + + FX-SCH-A-000325 + + + + + Element 'ram:IncludedTradeTax' must occur at least 1 times. + + + + + + + + + + FX-SCH-A-000326 + + + + + Element 'ram:InvoiceSpecifiedReferencedDocument' may occur at maximum 1 times. + + + + + + + + + + + + + + + + FX-SCH-A-000021 + + + + + Attribute '@format' is required in this context. + + + + + + + + + + + FX-SCH-A-000022 + + + + + Value of '@format' is not allowed. + + + + + + + + + + + + + + + + FX-SCH-A-000176 + + + + + Element 'ram:CalculatedAmount' must occur exactly 1 times. + + + + + + + + + + FX-SCH-A-000020 + + + + + Element 'ram:TypeCode' must occur exactly 1 times. + + + + + + + + + + FX-SCH-A-000178 + + + + + Element 'ram:CategoryCode' must occur exactly 1 times. + + + + + + + + + + + + + + + + + + Element 'ram:AllowanceChargeBasisAmount' is marked as not used in the given context. + + + + + + + + + + + + + + + + + Element 'ram:BasisAmount' is marked as not used in the given context. + + + + + + + + + + + + + + + + + Attribute @currencyID' marked as not used in the given context. + + + + + + + + + + + + + + + + FX-SCH-A-000179 + + + + + Value of 'ram:CategoryCode' is not allowed. + + + + + + + + + + + + + + + + + + Element 'ram:DueDateTypeCode' is marked as not used in the given context. + + + + + + + + + + + + + + + + FX-SCH-A-000181 + + + + + Value of 'ram:ExemptionReasonCode' is not allowed. + + + + + + + + + + + + Attribute @listID' marked as not used in the given context. + + + + + + + + + + + Attribute @listVersionID' marked as not used in the given context. + + + + + + + + + + + + + + + + + Element 'ram:LineTotalBasisAmount' is marked as not used in the given context. + + + + + + + + + + + + + + + + + Element 'ram:TaxPointDate' is marked as not used in the given context. + + + + + + + + + + + + + + + + FX-SCH-A-000023 + + + + + Value of 'ram:TypeCode' is not allowed. + + + + + + + + + + + + + + + + FX-SCH-A-000029 + + + + + Element 'ram:IssuerAssignedID' must occur exactly 1 times. + + + + + + + + + + + + + + + + + + Element 'ram:AttachmentBinaryObject' is marked as not used in the given context. + + + + + + + + + + + + + + + FX-SCH-A-000021 + + + + + Attribute '@format' is required in this context. + + + + + + + + + + + FX-SCH-A-000022 + + + + + Value of '@format' is not allowed. + + + + + + + + + + + + + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + + + + + + + + + + + + Element 'ram:LineID' is marked as not used in the given context. + + + + + + + + + + + + + + + + + Element 'ram:Name' is marked as not used in the given context. + + + + + + + + + + + + + + + + + Element 'ram:ReferenceTypeCode' is marked as not used in the given context. + + + + + + + + + + + + + + + + FX-SCH-A-000023 + + + + + Value of 'ram:TypeCode' is not allowed. + + + + + + + + + + + + + + + + + + Element 'ram:URIID' is marked as not used in the given context. + + + + + + + + + + + + + + + + + Attribute @currencyID' marked as not used in the given context. + + + + + + + + + + + + + + + FX-SCH-A-000294 + + + + + Element 'ram:Description' must occur exactly 1 times. + + + + + + + + + + FX-SCH-A-000327 + + + + + Element 'ram:AppliedAmount' must occur exactly 1 times. + + + + + + + + + + FX-SCH-A-000328 + + + + + Element 'ram:AppliedTradeTax' must occur at least 1 times. + + + + + + + + + + + + + + + + + + Attribute @currencyID' marked as not used in the given context. + + + + + + + + + + + + + + + FX-SCH-A-000020 + + + + + Element 'ram:TypeCode' must occur exactly 1 times. + + + + + + + + + + FX-SCH-A-000178 + + + + + Element 'ram:CategoryCode' must occur exactly 1 times. + + + + + + + + + + FX-SCH-A-000329 + + + + + Element 'ram:RateApplicablePercent' must occur exactly 1 times. + + + + + + + + + + + + + + + + + + Element 'ram:AllowanceChargeBasisAmount' is marked as not used in the given context. + + + + + + + + + + + + + + + + + Element 'ram:BasisAmount' is marked as not used in the given context. + + + + + + + + + + + + + + + + + Element 'ram:CalculatedAmount' is marked as not used in the given context. + + + + + + + + + + + + + + + + FX-SCH-A-000179 + + + + + Value of 'ram:CategoryCode' is not allowed. + + + + + + + + + + + + + + + + + + Element 'ram:DueDateTypeCode' is marked as not used in the given context. + + + + + + + + + + + + + + + + + Element 'ram:ExemptionReason' is marked as not used in the given context. + + + + + + + + + + + + + + + + + Element 'ram:ExemptionReasonCode' is marked as not used in the given context. + + + + + + + + + + + + + + + + + Element 'ram:LineTotalBasisAmount' is marked as not used in the given context. + + + + + + + + + + + + + + + + + Element 'ram:TaxPointDate' is marked as not used in the given context. + + + + + + + + + + + + + + + + FX-SCH-A-000023 + + + + + Value of 'ram:TypeCode' is not allowed. + + + + + + + + + + + + + + + + + + Element variant 'ram:SpecifiedTradeAllowanceCharge[ not(ram:ChargeIndicator/udt:Indicator="false") and not(ram:ChargeIndicator/udt:Indicator="true")]' is marked as not used in the given context. + + + + + + + + + + + + + + + FX-SCH-A-000183 + + + + + Element 'ram:ChargeIndicator' must occur exactly 1 times. + + + + + + + + + + FX-SCH-A-000184 + + + + + Element 'ram:ActualAmount' must occur exactly 1 times. + + + + + + + + + + FX-SCH-A-000185 + + + + + Element 'ram:CategoryTradeTax' must occur exactly 1 times. + + + + + + + + + + + + + + + + + + Attribute @currencyID' marked as not used in the given context. + + + + + + + + + + + + + + + + + Attribute @currencyID' marked as not used in the given context. + + + + + + + + + + + + + + + + FX-SCH-A-000275 + + + + + Value of '@unitCode' is not allowed. + + + + + + + + + + + + + + + + FX-SCH-A-000020 + + + + + Element 'ram:TypeCode' must occur exactly 1 times. + + + + + + + + + + FX-SCH-A-000178 + + + + + Element 'ram:CategoryCode' must occur exactly 1 times. + + + + + + + + + + + + + + + + + + Element 'ram:AllowanceChargeBasisAmount' is marked as not used in the given context. + + + + + + + + + + + + + + + + + Element 'ram:BasisAmount' is marked as not used in the given context. + + + + + + + + + + + + + + + + + Element 'ram:CalculatedAmount' is marked as not used in the given context. + + + + + + + + + + + + + + + + FX-SCH-A-000179 + + + + + Value of 'ram:CategoryCode' is not allowed. + + + + + + + + + + + + + + + + + + Element 'ram:DueDateTypeCode' is marked as not used in the given context. + + + + + + + + + + + + + + + + + Element 'ram:ExemptionReason' is marked as not used in the given context. + + + + + + + + + + + + + + + + + Element 'ram:ExemptionReasonCode' is marked as not used in the given context. + + + + + + + + + + + + + + + + + Element 'ram:LineTotalBasisAmount' is marked as not used in the given context. + + + + + + + + + + + + + + + + + Element 'ram:TaxPointDate' is marked as not used in the given context. + + + + + + + + + + + + + + + + FX-SCH-A-000023 + + + + + Value of 'ram:TypeCode' is not allowed. + + + + + + + + + + + + + + + + + FX-SCH-A-000186 + + + + + Value of 'ram:ReasonCode' is not allowed. + + + + + + + + + + + + + + + + FX-SCH-A-000183 + + + + + Element 'ram:ChargeIndicator' must occur exactly 1 times. + + + + + + + + + + FX-SCH-A-000184 + + + + + Element 'ram:ActualAmount' must occur exactly 1 times. + + + + + + + + + + FX-SCH-A-000185 + + + + + Element 'ram:CategoryTradeTax' must occur exactly 1 times. + + + + + + + + + + + + + + + + + + Attribute @currencyID' marked as not used in the given context. + + + + + + + + + + + + + + + + + Attribute @currencyID' marked as not used in the given context. + + + + + + + + + + + + + + + + FX-SCH-A-000275 + + + + + Value of '@unitCode' is not allowed. + + + + + + + + + + + + + + + + FX-SCH-A-000020 + + + + + Element 'ram:TypeCode' must occur exactly 1 times. + + + + + + + + + + FX-SCH-A-000178 + + + + + Element 'ram:CategoryCode' must occur exactly 1 times. + + + + + + + + + + + + + + + + + + Element 'ram:AllowanceChargeBasisAmount' is marked as not used in the given context. + + + + + + + + + + + + + + + + + Element 'ram:BasisAmount' is marked as not used in the given context. + + + + + + + + + + + + + + + + + Element 'ram:CalculatedAmount' is marked as not used in the given context. + + + + + + + + + + + + + + + + FX-SCH-A-000179 + + + + + Value of 'ram:CategoryCode' is not allowed. + + + + + + + + + + + + + + + + + + Element 'ram:DueDateTypeCode' is marked as not used in the given context. + + + + + + + + + + + + + + + + + Element 'ram:ExemptionReason' is marked as not used in the given context. + + + + + + + + + + + + + + + + + Element 'ram:ExemptionReasonCode' is marked as not used in the given context. + + + + + + + + + + + + + + + + + Element 'ram:LineTotalBasisAmount' is marked as not used in the given context. + + + + + + + + + + + + + + + + + Element 'ram:TaxPointDate' is marked as not used in the given context. + + + + + + + + + + + + + + + + FX-SCH-A-000023 + + + + + Value of 'ram:TypeCode' is not allowed. + + + + + + + + + + + + + + + + + FX-SCH-A-000186 + + + + + Value of 'ram:ReasonCode' is not allowed. + + + + + + + + + + + + + + + + FX-SCH-A-000187 + + + + + Element 'ram:Description' may occur at maximum 1 times. + + + + + + + + + + FX-SCH-A-000188 + + + + + Element 'ram:DirectDebitMandateID' may occur at maximum 1 times. + + + + + + + + + + FX-SCH-A-000330 + + + + + Element 'ram:PartialPaymentAmount' may occur at maximum 1 times. + + + + + + + + + + FX-SCH-A-000331 + + + + + Element 'ram:PayeeTradeParty' may occur at maximum 1 times. + + + + + + + + + + + + + + + + + + Attribute @currencyID' marked as not used in the given context. + + + + + + + + + + + + + + + + + Attribute @currencyID' marked as not used in the given context. + + + + + + + + + + + + + + + FX-SCH-A-000021 + + + + + Attribute '@format' is required in this context. + + + + + + + + + + + FX-SCH-A-000022 + + + + + Value of '@format' is not allowed. + + + + + + + + + + + + + + + + + + Attribute @currencyID' marked as not used in the given context. + + + + + + + + + + + + + + + + + Attribute @currencyID' marked as not used in the given context. + + + + + + + + + + + + + + + FX-SCH-A-000021 + + + + + Attribute '@format' is required in this context. + + + + + + + + + + + FX-SCH-A-000022 + + + + + Value of '@format' is not allowed. + + + + + + + + + + + + + + + + FX-SCH-A-000277 + + + + + Attribute '@unitCode' is required in this context. + + + + + + + + + + + + + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + + + + + + + + + + FX-SCH-A-000021 + + + + + Attribute '@format' is required in this context. + + + + + + + + + + + FX-SCH-A-000022 + + + + + Value of '@format' is not allowed. + + + + + + + + + + + + + + + + + + Attribute @currencyID' marked as not used in the given context. + + + + + + + + + + + + + + + FX-SCH-A-000163 + + + + + Element 'ram:ID' may occur at maximum 1 times. + + + + + + + + + + FX-SCH-A-000030 + + + + + Element 'ram:Name' must occur exactly 1 times. + + + + + + + + + + FX-SCH-A-000321 + + + + + Element 'ram:RoleCode' may occur at maximum 1 times. + + + + + + + + + + FX-SCH-A-000165 + + + + + Element 'ram:URIUniversalCommunication' may occur at maximum 1 times. + + + + + + + + + + FX-SCH-A-000166 + + + + + Element 'ram:SpecifiedTaxRegistration' may occur at maximum 1 times. + + + + + + + + + + + + + + + + FX-SCH-A-000168 + + + + + Element 'ram:URIID' must occur exactly 1 times. + + + + + + + + + + + + + + + + + + Element 'ram:CompleteNumber' is marked as not used in the given context. + + + + + + + + + + + + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + + + + + + + + + + FX-SCH-A-000289 + + + + + Element 'ram:CompleteNumber' must occur exactly 1 times. + + + + + + + + + + + + + + + + + + Element 'ram:URIID' is marked as not used in the given context. + + + + + + + + + + + + + + + FX-SCH-A-000289 + + + + + Element 'ram:CompleteNumber' must occur exactly 1 times. + + + + + + + + + + + + + + + + + + Element 'ram:URIID' is marked as not used in the given context. + + + + + + + + + + + + + + + + + Element 'ram:Description' is marked as not used in the given context. + + + + + + + + + + + + + + + FX-SCH-A-000037 + + + + + Attribute '@schemeID' is required in this context. + + + + + + + + + + + FX-SCH-A-000031 + + + + + Value of '@schemeID' is not allowed. + + + + + + + + + + + + + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + + + + + + + + + + FX-SCH-A-000035 + + + + + Element 'ram:CountryID' must occur exactly 1 times. + + + + + + + + + + FX-SCH-A-000167 + + + + + Element 'ram:CountrySubDivisionName' may occur at maximum 1 times. + + + + + + + + + + + + + + + + + FX-SCH-A-000036 + + + + + Value of 'ram:CountryID' is not allowed. + + + + + + + + + + + + + + + + + + Attribute @listID' marked as not used in the given context. + + + + + + + + + + + Attribute @listVersionID' marked as not used in the given context. + + + + + + + + + + + + + + + + FX-SCH-A-000031 + + + + + Value of '@schemeID' is not allowed. + + + + + + + + + + + + + + + + FX-SCH-A-000035 + + + + + Element 'ram:CountryID' must occur exactly 1 times. + + + + + + + + + + FX-SCH-A-000167 + + + + + Element 'ram:CountrySubDivisionName' may occur at maximum 1 times. + + + + + + + + + + + + + + + + + FX-SCH-A-000036 + + + + + Value of 'ram:CountryID' is not allowed. + + + + + + + + + + + + + + + + + + Attribute @listID' marked as not used in the given context. + + + + + + + + + + + Attribute @listVersionID' marked as not used in the given context. + + + + + + + + + + + + + + + FX-SCH-A-000019 + + + + + Element 'ram:ID' must occur exactly 1 times. + + + + + + + + + + + + + + + + FX-SCH-A-000037 + + + + + Attribute '@schemeID' is required in this context. + + + + + + + + + + + + + + + + FX-SCH-A-000168 + + + + + Element 'ram:URIID' must occur exactly 1 times. + + + + + + + + + + + + + + + + + + Element 'ram:CompleteNumber' is marked as not used in the given context. + + + + + + + + + + + + + + + FX-SCH-A-000037 + + + + + Attribute '@schemeID' is required in this context. + + + + + + + + + + + FX-SCH-A-000031 + + + + + Value of '@schemeID' is not allowed. + + + + + + + + + + + + + + + + FX-SCH-A-000189 + + + + + Element 'ram:LineTotalAmount' must occur exactly 1 times. + + + + + + + + + + FX-SCH-A-000190 + + + + + Element 'ram:ChargeTotalAmount' may occur at maximum 1 times. + + + + + + + + + + FX-SCH-A-000191 + + + + + Element 'ram:AllowanceTotalAmount' may occur at maximum 1 times. + + + + + + + + + + FX-SCH-A-000041 + + + + + Element 'ram:TaxBasisTotalAmount' must occur exactly 1 times. + + + + + + + + + + FX-SCH-A-000042 + + + + + Element variant 'ram:TaxTotalAmount[@currencyID=../../ram:InvoiceCurrencyCode]' may occur at maximum 1 times. + + + + + + + + + + FX-SCH-A-000192 + + + + + Element variant 'ram:TaxTotalAmount[@currencyID=../../ram:TaxCurrencyCode]' may occur at maximum 1 times. + + + + + + + + + + FX-SCH-A-000290 + + + + + Element 'ram:RoundingAmount' may occur at maximum 1 times. + + + + + + + + + + FX-SCH-A-000043 + + + + + Element 'ram:GrandTotalAmount' must occur exactly 1 times. + + + + + + + + + + FX-SCH-A-000193 + + + + + Element 'ram:TotalPrepaidAmount' may occur at maximum 1 times. + + + + + + + + + + FX-SCH-A-000044 + + + + + Element 'ram:DuePayableAmount' must occur exactly 1 times. + + + + + + + + + + + + + + + + + + Attribute @currencyID' marked as not used in the given context. + + + + + + + + + + + + + + + + + Attribute @currencyID' marked as not used in the given context. + + + + + + + + + + + + + + + + + Attribute @currencyID' marked as not used in the given context. + + + + + + + + + + + + + + + + + Attribute @currencyID' marked as not used in the given context. + + + + + + + + + + + + + + + + + Attribute @currencyID' marked as not used in the given context. + + + + + + + + + + + + + + + + + Attribute @currencyID' marked as not used in the given context. + + + + + + + + + + + + + + + + + Attribute @currencyID' marked as not used in the given context. + + + + + + + + + + + + + + + + + Element variant 'ram:TaxTotalAmount[ not(@currencyID=../../ram:InvoiceCurrencyCode) and not(@currencyID=../../ram:TaxCurrencyCode)]' is marked as not used in the given context. + + + + + + + + + + + + + + + FX-SCH-A-000046 + + + + + Attribute '@currencyID' is required in this context. + + + + + + + + + + + FX-SCH-A-000045 + + + + + Value of '@currencyID' is not allowed. + + + + + + + + + + + + + + + + FX-SCH-A-000046 + + + + + Attribute '@currencyID' is required in this context. + + + + + + + + + + + FX-SCH-A-000045 + + + + + Value of '@currencyID' is not allowed. + + + + + + + + + + + + + + + + + + Attribute @currencyID' marked as not used in the given context. + + + + + + + + + + + + + + + FX-SCH-A-000020 + + + + + Element 'ram:TypeCode' must occur exactly 1 times. + + + + + + + + + + FX-SCH-A-000291 + + + + + Element 'ram:Information' may occur at maximum 1 times. + + + + + + + + + + FX-SCH-A-000194 + + + + + Element 'ram:PayeePartyCreditorFinancialAccount' may occur at maximum 1 times. + + + + + + + + + + + + + + + + FX-SCH-A-000019 + + + + + Element 'ram:ID' must occur exactly 1 times. + + + + + + + + + + + + + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + + + + + + + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + + + + + + + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + + + + + + + + + + FX-SCH-A-000292 + + + + + Element 'ram:BICID' must occur exactly 1 times. + + + + + + + + + + + + + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + + + + + + + + + + FX-SCH-A-000195 + + + + + Element 'ram:IBANID' must occur exactly 1 times. + + + + + + + + + + + + + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + + + + + + + + + + + FX-SCH-A-000023 + + + + + Value of 'ram:TypeCode' is not allowed. + + + + + + + + + + + + + + + + FX-SCH-A-000021 + + + + + Attribute '@format' is required in this context. + + + + + + + + + + + FX-SCH-A-000022 + + + + + Value of '@format' is not allowed. + + + + + + + + + + + + + + + + + FX-SCH-A-000332 + + + + + Value of 'ram:SourceCurrencyCode' is not allowed. + + + + + + + + + + + + + + + + + FX-SCH-A-000333 + + + + + Value of 'ram:TargetCurrencyCode' is not allowed. + + + + + + + + + + + + + + + + + FX-SCH-A-000196 + + + + + Value of 'ram:TaxCurrencyCode' is not allowed. + + + + + + + + + + + + + + + + FX-SCH-A-000266 + + + + + Element 'ram:AssociatedDocumentLineDocument' must occur exactly 1 times. + + + + + + + + + + FX-SCH-A-000267 + + + + + Element 'ram:SpecifiedTradeProduct' must occur exactly 1 times. + + + + + + + + + + FX-SCH-A-000268 + + + + + Element 'ram:SpecifiedLineTradeAgreement' must occur exactly 1 times. + + + + + + + + + + FX-SCH-A-000269 + + + + + Element 'ram:SpecifiedLineTradeDelivery' must occur exactly 1 times. + + + + + + + + + + + + + + + + FX-SCH-A-000270 + + + + + Element 'ram:LineID' must occur exactly 1 times. + + + + + + + + + + + + + + + + FX-SCH-A-000317 + + + + + Element 'ram:Content' may occur at maximum 1 times. + + + + + + + + + + FX-SCH-A-000161 + + + + + Element 'ram:SubjectCode' may occur at maximum 1 times. + + + + + + + + + + + + + + + + + + Attribute @listID' marked as not used in the given context. + + + + + + + + + + + Attribute @listVersionID' marked as not used in the given context. + + + + + + + + + + + + + + + + FX-SCH-A-000162 + + + + + Value of 'ram:SubjectCode' is not allowed. + + + + + + + + + + + + Attribute @listID' marked as not used in the given context. + + + + + + + + + + + Attribute @listVersionID' marked as not used in the given context. + + + + + + + + + + + + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + + + + + + + + + + + FX-SCH-A-000334 + + + + + Value of 'ram:LineStatusCode' is not allowed. + + + + + + + + + + + + + + + + + FX-SCH-A-000335 + + + + + Value of 'ram:LineStatusReasonCode' is not allowed. + + + + + + + + + + + + Attribute @listID' marked as not used in the given context. + + + + + + + + + + + Attribute @listVersionID' marked as not used in the given context. + + + + + + + + + + + + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + + + + + + + + + + FX-SCH-A-000272 + + + + + Element 'ram:NetPriceProductTradePrice' must occur exactly 1 times. + + + + + + + + + + + + + + + + FX-SCH-A-000029 + + + + + Element 'ram:IssuerAssignedID' must occur exactly 1 times. + + + + + + + + + + FX-SCH-A-000020 + + + + + Element 'ram:TypeCode' must occur exactly 1 times. + + + + + + + + + + FX-SCH-A-000283 + + + + + Element 'ram:Name' may occur at maximum 1 times. + + + + + + + + + + FX-SCH-A-000284 + + + + + Element 'ram:AttachmentBinaryObject' may occur at maximum 1 times. + + + + + + + + + + + + + + + + FX-SCH-A-000285 + + + + + Attribute '@mimeCode' is required in this context. + + + + + + + + + + + FX-SCH-A-000287 + + + + + Value of '@mimeCode' is not allowed. + + + + + + + + + + FX-SCH-A-000286 + + + + + Attribute '@filename' is required in this context. + + + + + + + + + + + + + + + + FX-SCH-A-000021 + + + + + Attribute '@format' is required in this context. + + + + + + + + + + + FX-SCH-A-000022 + + + + + Value of '@format' is not allowed. + + + + + + + + + + + + + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + + + + + + + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + + + + + + + + + + + FX-SCH-A-000282 + + + + + Value of 'ram:ReferenceTypeCode' is not allowed. + + + + + + + + + + + + + + + + + FX-SCH-A-000023 + + + + + Value of 'ram:TypeCode' is not allowed. + + + + + + + + + + + + + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + + + + + + + + + + + + Element 'ram:AttachmentBinaryObject' is marked as not used in the given context. + + + + + + + + + + + + + + + FX-SCH-A-000021 + + + + + Attribute '@format' is required in this context. + + + + + + + + + + + FX-SCH-A-000022 + + + + + Value of '@format' is not allowed. + + + + + + + + + + + + + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + + + + + + + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + + + + + + + + + + + + Element 'ram:Name' is marked as not used in the given context. + + + + + + + + + + + + + + + + + Element 'ram:ReferenceTypeCode' is marked as not used in the given context. + + + + + + + + + + + + + + + + + Element 'ram:TypeCode' is marked as not used in the given context. + + + + + + + + + + + + + + + + + Element 'ram:URIID' is marked as not used in the given context. + + + + + + + + + + + + + + + + + Element 'ram:AttachmentBinaryObject' is marked as not used in the given context. + + + + + + + + + + + + + + + FX-SCH-A-000021 + + + + + Attribute '@format' is required in this context. + + + + + + + + + + + FX-SCH-A-000022 + + + + + Value of '@format' is not allowed. + + + + + + + + + + + + + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + + + + + + + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + + + + + + + + + + + + Element 'ram:Name' is marked as not used in the given context. + + + + + + + + + + + + + + + + + Element 'ram:ReferenceTypeCode' is marked as not used in the given context. + + + + + + + + + + + + + + + + + Element 'ram:TypeCode' is marked as not used in the given context. + + + + + + + + + + + + + + + + + Element 'ram:URIID' is marked as not used in the given context. + + + + + + + + + + + + + + + FX-SCH-A-000273 + + + + + Element 'ram:ChargeAmount' must occur exactly 1 times. + + + + + + + + + + + + + + + + + + Element variant 'ram:AppliedTradeAllowanceCharge[ not(ram:ChargeIndicator/udt:Indicator="false") and not(ram:ChargeIndicator/udt:Indicator="true")]' is marked as not used in the given context. + + + + + + + + + + + + + + + FX-SCH-A-000183 + + + + + Element 'ram:ChargeIndicator' must occur exactly 1 times. + + + + + + + + + + FX-SCH-A-000184 + + + + + Element 'ram:ActualAmount' must occur exactly 1 times. + + + + + + + + + + + + + + + + + + Attribute @currencyID' marked as not used in the given context. + + + + + + + + + + + + + + + + + Attribute @currencyID' marked as not used in the given context. + + + + + + + + + + + + + + + + + Element 'ram:BasisQuantity' is marked as not used in the given context. + + + + + + + + + + + + + + + + + Element 'ram:CategoryTradeTax' is marked as not used in the given context. + + + + + + + + + + + + + + + + FX-SCH-A-000186 + + + + + Value of 'ram:ReasonCode' is not allowed. + + + + + + + + + + + + + + + + + + Element 'ram:SequenceNumeric' is marked as not used in the given context. + + + + + + + + + + + + + + + FX-SCH-A-000183 + + + + + Element 'ram:ChargeIndicator' must occur exactly 1 times. + + + + + + + + + + FX-SCH-A-000184 + + + + + Element 'ram:ActualAmount' must occur exactly 1 times. + + + + + + + + + + + + + + + + + + Attribute @currencyID' marked as not used in the given context. + + + + + + + + + + + + + + + + + Attribute @currencyID' marked as not used in the given context. + + + + + + + + + + + + + + + + + Element 'ram:BasisQuantity' is marked as not used in the given context. + + + + + + + + + + + + + + + + + Element 'ram:CategoryTradeTax' is marked as not used in the given context. + + + + + + + + + + + + + + + + FX-SCH-A-000186 + + + + + Value of 'ram:ReasonCode' is not allowed. + + + + + + + + + + + + + + + + + + Element 'ram:SequenceNumeric' is marked as not used in the given context. + + + + + + + + + + + + + + + + FX-SCH-A-000275 + + + + + Value of '@unitCode' is not allowed. + + + + + + + + + + + + + + + + + + Attribute @currencyID' marked as not used in the given context. + + + + + + + + + + + + + + + + + Element 'ram:IncludedTradeTax' is marked as not used in the given context. + + + + + + + + + + + + + + + FX-SCH-A-000273 + + + + + Element 'ram:ChargeAmount' must occur exactly 1 times. + + + + + + + + + + FX-SCH-A-000336 + + + + + Element 'ram:IncludedTradeTax' may occur at maximum 1 times. + + + + + + + + + + + + + + + + + + Element 'ram:AppliedTradeAllowanceCharge' is marked as not used in the given context. + + + + + + + + + + + + + + + + FX-SCH-A-000275 + + + + + Value of '@unitCode' is not allowed. + + + + + + + + + + + + + + + + + + Attribute @currencyID' marked as not used in the given context. + + + + + + + + + + + + + + + FX-SCH-A-000176 + + + + + Element 'ram:CalculatedAmount' must occur exactly 1 times. + + + + + + + + + + FX-SCH-A-000020 + + + + + Element 'ram:TypeCode' must occur exactly 1 times. + + + + + + + + + + FX-SCH-A-000178 + + + + + Element 'ram:CategoryCode' must occur exactly 1 times. + + + + + + + + + + FX-SCH-A-000329 + + + + + Element 'ram:RateApplicablePercent' must occur exactly 1 times. + + + + + + + + + + + + + + + + + + Element 'ram:AllowanceChargeBasisAmount' is marked as not used in the given context. + + + + + + + + + + + + + + + + + Element 'ram:BasisAmount' is marked as not used in the given context. + + + + + + + + + + + + + + + + + Attribute @currencyID' marked as not used in the given context. + + + + + + + + + + + + + + + + FX-SCH-A-000179 + + + + + Value of 'ram:CategoryCode' is not allowed. + + + + + + + + + + + + + + + + + + Element 'ram:DueDateTypeCode' is marked as not used in the given context. + + + + + + + + + + + + + + + + FX-SCH-A-000181 + + + + + Value of 'ram:ExemptionReasonCode' is not allowed. + + + + + + + + + + + + Attribute @listID' marked as not used in the given context. + + + + + + + + + + + Attribute @listVersionID' marked as not used in the given context. + + + + + + + + + + + + + + + + + Element 'ram:LineTotalBasisAmount' is marked as not used in the given context. + + + + + + + + + + + + + + + + + Element 'ram:TaxPointDate' is marked as not used in the given context. + + + + + + + + + + + + + + + + FX-SCH-A-000023 + + + + + Value of 'ram:TypeCode' is not allowed. + + + + + + + + + + + + + + + + + + Element 'ram:AttachmentBinaryObject' is marked as not used in the given context. + + + + + + + + + + + + + + + FX-SCH-A-000021 + + + + + Attribute '@format' is required in this context. + + + + + + + + + + + FX-SCH-A-000022 + + + + + Value of '@format' is not allowed. + + + + + + + + + + + + + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + + + + + + + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + + + + + + + + + + + + Element 'ram:Name' is marked as not used in the given context. + + + + + + + + + + + + + + + + + Element 'ram:ReferenceTypeCode' is marked as not used in the given context. + + + + + + + + + + + + + + + + + Element 'ram:TypeCode' is marked as not used in the given context. + + + + + + + + + + + + + + + + + Element 'ram:URIID' is marked as not used in the given context. + + + + + + + + + + + + + + + + + Element 'ram:AttachmentBinaryObject' is marked as not used in the given context. + + + + + + + + + + + + + + + FX-SCH-A-000021 + + + + + Attribute '@format' is required in this context. + + + + + + + + + + + FX-SCH-A-000022 + + + + + Value of '@format' is not allowed. + + + + + + + + + + + + + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + + + + + + + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + + + + + + + + + + + + Element 'ram:Name' is marked as not used in the given context. + + + + + + + + + + + + + + + + + Element 'ram:ReferenceTypeCode' is marked as not used in the given context. + + + + + + + + + + + + + + + + + Element 'ram:TypeCode' is marked as not used in the given context. + + + + + + + + + + + + + + + + + Element 'ram:URIID' is marked as not used in the given context. + + + + + + + + + + + + + + + + + Element 'ram:AttachmentBinaryObject' is marked as not used in the given context. + + + + + + + + + + + + + + + FX-SCH-A-000021 + + + + + Attribute '@format' is required in this context. + + + + + + + + + + + FX-SCH-A-000022 + + + + + Value of '@format' is not allowed. + + + + + + + + + + + + + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + + + + + + + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + + + + + + + + + + + + Element 'ram:Name' is marked as not used in the given context. + + + + + + + + + + + + + + + + + Element 'ram:ReferenceTypeCode' is marked as not used in the given context. + + + + + + + + + + + + + + + + + Element 'ram:TypeCode' is marked as not used in the given context. + + + + + + + + + + + + + + + + + Element 'ram:URIID' is marked as not used in the given context. + + + + + + + + + + + + + + + FX-SCH-A-000276 + + + + + Element 'ram:BilledQuantity' must occur exactly 1 times. + + + + + + + + + + + + + + + + FX-SCH-A-000171 + + + + + Element 'ram:OccurrenceDateTime' must occur exactly 1 times. + + + + + + + + + + + + + + + + FX-SCH-A-000021 + + + + + Attribute '@format' is required in this context. + + + + + + + + + + + FX-SCH-A-000022 + + + + + Value of '@format' is not allowed. + + + + + + + + + + + + + + + + FX-SCH-A-000277 + + + + + Attribute '@unitCode' is required in this context. + + + + + + + + + + + FX-SCH-A-000275 + + + + + Value of '@unitCode' is not allowed. + + + + + + + + + + + + + + + + FX-SCH-A-000277 + + + + + Attribute '@unitCode' is required in this context. + + + + + + + + + + + FX-SCH-A-000275 + + + + + Value of '@unitCode' is not allowed. + + + + + + + + + + + + + + + + + + Element 'ram:AttachmentBinaryObject' is marked as not used in the given context. + + + + + + + + + + + + + + + FX-SCH-A-000021 + + + + + Attribute '@format' is required in this context. + + + + + + + + + + + FX-SCH-A-000022 + + + + + Value of '@format' is not allowed. + + + + + + + + + + + + + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + + + + + + + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + + + + + + + + + + + + Element 'ram:Name' is marked as not used in the given context. + + + + + + + + + + + + + + + + + Element 'ram:ReferenceTypeCode' is marked as not used in the given context. + + + + + + + + + + + + + + + + + Element 'ram:TypeCode' is marked as not used in the given context. + + + + + + + + + + + + + + + + + Element 'ram:URIID' is marked as not used in the given context. + + + + + + + + + + + + + + + + + Element 'ram:AttachmentBinaryObject' is marked as not used in the given context. + + + + + + + + + + + + + + + FX-SCH-A-000021 + + + + + Attribute '@format' is required in this context. + + + + + + + + + + + FX-SCH-A-000022 + + + + + Value of '@format' is not allowed. + + + + + + + + + + + + + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + + + + + + + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + + + + + + + + + + + + Element 'ram:Name' is marked as not used in the given context. + + + + + + + + + + + + + + + + + Element 'ram:ReferenceTypeCode' is marked as not used in the given context. + + + + + + + + + + + + + + + + + Element 'ram:TypeCode' is marked as not used in the given context. + + + + + + + + + + + + + + + + + Element 'ram:URIID' is marked as not used in the given context. + + + + + + + + + + + + + + + FX-SCH-A-000277 + + + + + Attribute '@unitCode' is required in this context. + + + + + + + + + + + FX-SCH-A-000275 + + + + + Value of '@unitCode' is not allowed. + + + + + + + + + + + + + + + + + + Element 'ram:AttachmentBinaryObject' is marked as not used in the given context. + + + + + + + + + + + + + + + FX-SCH-A-000021 + + + + + Attribute '@format' is required in this context. + + + + + + + + + + + FX-SCH-A-000022 + + + + + Value of '@format' is not allowed. + + + + + + + + + + + + + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + + + + + + + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + + + + + + + + + + + + Element 'ram:Name' is marked as not used in the given context. + + + + + + + + + + + + + + + + + Element 'ram:ReferenceTypeCode' is marked as not used in the given context. + + + + + + + + + + + + + + + + + Element 'ram:TypeCode' is marked as not used in the given context. + + + + + + + + + + + + + + + + + Element 'ram:URIID' is marked as not used in the given context. + + + + + + + + + + + + + + + FX-SCH-A-000163 + + + + + Element 'ram:ID' may occur at maximum 1 times. + + + + + + + + + + FX-SCH-A-000321 + + + + + Element 'ram:RoleCode' may occur at maximum 1 times. + + + + + + + + + + FX-SCH-A-000165 + + + + + Element 'ram:URIUniversalCommunication' may occur at maximum 1 times. + + + + + + + + + + FX-SCH-A-000166 + + + + + Element 'ram:SpecifiedTaxRegistration' may occur at maximum 1 times. + + + + + + + + + + + + + + + + FX-SCH-A-000168 + + + + + Element 'ram:URIID' must occur exactly 1 times. + + + + + + + + + + + + + + + + + + Element 'ram:CompleteNumber' is marked as not used in the given context. + + + + + + + + + + + + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + + + + + + + + + + FX-SCH-A-000289 + + + + + Element 'ram:CompleteNumber' must occur exactly 1 times. + + + + + + + + + + + + + + + + + + Element 'ram:URIID' is marked as not used in the given context. + + + + + + + + + + + + + + + FX-SCH-A-000289 + + + + + Element 'ram:CompleteNumber' must occur exactly 1 times. + + + + + + + + + + + + + + + + + + Element 'ram:URIID' is marked as not used in the given context. + + + + + + + + + + + + + + + + + Element 'ram:Description' is marked as not used in the given context. + + + + + + + + + + + + + + + FX-SCH-A-000037 + + + + + Attribute '@schemeID' is required in this context. + + + + + + + + + + + FX-SCH-A-000031 + + + + + Value of '@schemeID' is not allowed. + + + + + + + + + + + + + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + + + + + + + + + + FX-SCH-A-000035 + + + + + Element 'ram:CountryID' must occur exactly 1 times. + + + + + + + + + + FX-SCH-A-000167 + + + + + Element 'ram:CountrySubDivisionName' may occur at maximum 1 times. + + + + + + + + + + + + + + + + + FX-SCH-A-000036 + + + + + Value of 'ram:CountryID' is not allowed. + + + + + + + + + + + + + + + + + + Attribute @listID' marked as not used in the given context. + + + + + + + + + + + Attribute @listVersionID' marked as not used in the given context. + + + + + + + + + + + + + + + FX-SCH-A-000037 + + + + + Attribute '@schemeID' is required in this context. + + + + + + + + + + + FX-SCH-A-000031 + + + + + Value of '@schemeID' is not allowed. + + + + + + + + + + + + + + + + + + Element 'ram:PostalTradeAddress' is marked as not used in the given context. + + + + + + + + + + + + + + + FX-SCH-A-000019 + + + + + Element 'ram:ID' must occur exactly 1 times. + + + + + + + + + + + + + + + + FX-SCH-A-000037 + + + + + Attribute '@schemeID' is required in this context. + + + + + + + + + + + + + + + + FX-SCH-A-000168 + + + + + Element 'ram:URIID' must occur exactly 1 times. + + + + + + + + + + + + + + + + + + Element 'ram:CompleteNumber' is marked as not used in the given context. + + + + + + + + + + + + + + + FX-SCH-A-000037 + + + + + Attribute '@schemeID' is required in this context. + + + + + + + + + + + FX-SCH-A-000031 + + + + + Value of '@schemeID' is not allowed. + + + + + + + + + + + + + + + + FX-SCH-A-000163 + + + + + Element 'ram:ID' may occur at maximum 1 times. + + + + + + + + + + FX-SCH-A-000321 + + + + + Element 'ram:RoleCode' may occur at maximum 1 times. + + + + + + + + + + FX-SCH-A-000165 + + + + + Element 'ram:URIUniversalCommunication' may occur at maximum 1 times. + + + + + + + + + + FX-SCH-A-000166 + + + + + Element 'ram:SpecifiedTaxRegistration' may occur at maximum 1 times. + + + + + + + + + + + + + + + + FX-SCH-A-000168 + + + + + Element 'ram:URIID' must occur exactly 1 times. + + + + + + + + + + + + + + + + + + Element 'ram:CompleteNumber' is marked as not used in the given context. + + + + + + + + + + + + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + + + + + + + + + + FX-SCH-A-000289 + + + + + Element 'ram:CompleteNumber' must occur exactly 1 times. + + + + + + + + + + + + + + + + + + Element 'ram:URIID' is marked as not used in the given context. + + + + + + + + + + + + + + + FX-SCH-A-000289 + + + + + Element 'ram:CompleteNumber' must occur exactly 1 times. + + + + + + + + + + + + + + + + + + Element 'ram:URIID' is marked as not used in the given context. + + + + + + + + + + + + + + + + + Element 'ram:Description' is marked as not used in the given context. + + + + + + + + + + + + + + + FX-SCH-A-000037 + + + + + Attribute '@schemeID' is required in this context. + + + + + + + + + + + FX-SCH-A-000031 + + + + + Value of '@schemeID' is not allowed. + + + + + + + + + + + + + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + + + + + + + + + + FX-SCH-A-000035 + + + + + Element 'ram:CountryID' must occur exactly 1 times. + + + + + + + + + + FX-SCH-A-000167 + + + + + Element 'ram:CountrySubDivisionName' may occur at maximum 1 times. + + + + + + + + + + + + + + + + + FX-SCH-A-000036 + + + + + Value of 'ram:CountryID' is not allowed. + + + + + + + + + + + + + + + + + + Attribute @listID' marked as not used in the given context. + + + + + + + + + + + Attribute @listVersionID' marked as not used in the given context. + + + + + + + + + + + + + + + + FX-SCH-A-000031 + + + + + Value of '@schemeID' is not allowed. + + + + + + + + + + + + + + + + + + Element 'ram:PostalTradeAddress' is marked as not used in the given context. + + + + + + + + + + + + + + + FX-SCH-A-000019 + + + + + Element 'ram:ID' must occur exactly 1 times. + + + + + + + + + + + + + + + + FX-SCH-A-000037 + + + + + Attribute '@schemeID' is required in this context. + + + + + + + + + + + + + + + + FX-SCH-A-000168 + + + + + Element 'ram:URIID' must occur exactly 1 times. + + + + + + + + + + + + + + + + + + Element 'ram:CompleteNumber' is marked as not used in the given context. + + + + + + + + + + + + + + + FX-SCH-A-000037 + + + + + Attribute '@schemeID' is required in this context. + + + + + + + + + + + FX-SCH-A-000031 + + + + + Value of '@schemeID' is not allowed. + + + + + + + + + + + + + + + + FX-SCH-A-000173 + + + + + Element 'ram:ApplicableTradeTax' must occur at least 1 times. + + + + + + + + + + FX-SCH-A-000279 + + + + + Element 'ram:SpecifiedTradeSettlementLineMonetarySummation' must occur exactly 1 times. + + + + + + + + + + FX-SCH-A-000337 + + + + + Element 'ram:InvoiceReferencedDocument' may occur at maximum 1 times. + + + + + + + + + + FX-SCH-A-000175 + + + + + Element 'ram:ReceivableSpecifiedTradeAccountingAccount' may occur at maximum 1 times. + + + + + + + + + + + + + + + + FX-SCH-A-000029 + + + + + Element 'ram:IssuerAssignedID' must occur exactly 1 times. + + + + + + + + + + FX-SCH-A-000020 + + + + + Element 'ram:TypeCode' must occur exactly 1 times. + + + + + + + + + + + + + + + + + + Element 'ram:AttachmentBinaryObject' is marked as not used in the given context. + + + + + + + + + + + + + + + + + Element 'ram:FormattedIssueDateTime' is marked as not used in the given context. + + + + + + + + + + + + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + + + + + + + + + + + + Element 'ram:LineID' is marked as not used in the given context. + + + + + + + + + + + + + + + + + Element 'ram:Name' is marked as not used in the given context. + + + + + + + + + + + + + + + + FX-SCH-A-000282 + + + + + Value of 'ram:ReferenceTypeCode' is not allowed. + + + + + + + + + + + + + + + + + FX-SCH-A-000023 + + + + + Value of 'ram:TypeCode' is not allowed. + + + + + + + + + + + + + + + + + + Element 'ram:URIID' is marked as not used in the given context. + + + + + + + + + + + + + + + FX-SCH-A-000338 + + + + + Element 'ram:CalculatedAmount' may occur at maximum 1 times. + + + + + + + + + + FX-SCH-A-000020 + + + + + Element 'ram:TypeCode' must occur exactly 1 times. + + + + + + + + + + FX-SCH-A-000178 + + + + + Element 'ram:CategoryCode' must occur exactly 1 times. + + + + + + + + + + + + + + + + + + Element 'ram:AllowanceChargeBasisAmount' is marked as not used in the given context. + + + + + + + + + + + + + + + + + Element 'ram:BasisAmount' is marked as not used in the given context. + + + + + + + + + + + + + + + + + Attribute @currencyID' marked as not used in the given context. + + + + + + + + + + + + + + + + FX-SCH-A-000179 + + + + + Value of 'ram:CategoryCode' is not allowed. + + + + + + + + + + + + + + + + + + Element 'ram:DueDateTypeCode' is marked as not used in the given context. + + + + + + + + + + + + + + + + FX-SCH-A-000181 + + + + + Value of 'ram:ExemptionReasonCode' is not allowed. + + + + + + + + + + + + Attribute @listID' marked as not used in the given context. + + + + + + + + + + + Attribute @listVersionID' marked as not used in the given context. + + + + + + + + + + + + + + + + + Element 'ram:LineTotalBasisAmount' is marked as not used in the given context. + + + + + + + + + + + + + + + + + Element 'ram:TaxPointDate' is marked as not used in the given context. + + + + + + + + + + + + + + + + FX-SCH-A-000023 + + + + + Value of 'ram:TypeCode' is not allowed. + + + + + + + + + + + + + + + + + + Element 'ram:CompleteDateTime' is marked as not used in the given context. + + + + + + + + + + + + + + + + + Element 'ram:Description' is marked as not used in the given context. + + + + + + + + + + + + + + + FX-SCH-A-000021 + + + + + Attribute '@format' is required in this context. + + + + + + + + + + + FX-SCH-A-000022 + + + + + Value of '@format' is not allowed. + + + + + + + + + + + + + + + + FX-SCH-A-000021 + + + + + Attribute '@format' is required in this context. + + + + + + + + + + + FX-SCH-A-000022 + + + + + Value of '@format' is not allowed. + + + + + + + + + + + + + + + + + + Element 'ram:AttachmentBinaryObject' is marked as not used in the given context. + + + + + + + + + + + + + + + FX-SCH-A-000021 + + + + + Attribute '@format' is required in this context. + + + + + + + + + + + FX-SCH-A-000022 + + + + + Value of '@format' is not allowed. + + + + + + + + + + + + + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + + + + + + + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + + + + + + + + + + + + Element 'ram:Name' is marked as not used in the given context. + + + + + + + + + + + + + + + + + Element 'ram:ReferenceTypeCode' is marked as not used in the given context. + + + + + + + + + + + + + + + + FX-SCH-A-000023 + + + + + Value of 'ram:TypeCode' is not allowed. + + + + + + + + + + + + + + + + + + Element 'ram:URIID' is marked as not used in the given context. + + + + + + + + + + + + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + + + + + + + + + + + + Element variant 'ram:SpecifiedTradeAllowanceCharge[ not(ram:ChargeIndicator/udt:Indicator="false") and not(ram:ChargeIndicator/udt:Indicator="true")]' is marked as not used in the given context. + + + + + + + + + + + + + + + FX-SCH-A-000183 + + + + + Element 'ram:ChargeIndicator' must occur exactly 1 times. + + + + + + + + + + FX-SCH-A-000184 + + + + + Element 'ram:ActualAmount' must occur exactly 1 times. + + + + + + + + + + + + + + + + + + Attribute @currencyID' marked as not used in the given context. + + + + + + + + + + + + + + + + + Attribute @currencyID' marked as not used in the given context. + + + + + + + + + + + + + + + + + Element 'ram:BasisQuantity' is marked as not used in the given context. + + + + + + + + + + + + + + + + + Element 'ram:CategoryTradeTax' is marked as not used in the given context. + + + + + + + + + + + + + + + + FX-SCH-A-000186 + + + + + Value of 'ram:ReasonCode' is not allowed. + + + + + + + + + + + + + + + + + + Element 'ram:SequenceNumeric' is marked as not used in the given context. + + + + + + + + + + + + + + + FX-SCH-A-000183 + + + + + Element 'ram:ChargeIndicator' must occur exactly 1 times. + + + + + + + + + + FX-SCH-A-000184 + + + + + Element 'ram:ActualAmount' must occur exactly 1 times. + + + + + + + + + + + + + + + + + + Attribute @currencyID' marked as not used in the given context. + + + + + + + + + + + + + + + + + Attribute @currencyID' marked as not used in the given context. + + + + + + + + + + + + + + + + + Element 'ram:BasisQuantity' is marked as not used in the given context. + + + + + + + + + + + + + + + + + Element 'ram:CategoryTradeTax' is marked as not used in the given context. + + + + + + + + + + + + + + + + FX-SCH-A-000186 + + + + + Value of 'ram:ReasonCode' is not allowed. + + + + + + + + + + + + + + + + + + Element 'ram:SequenceNumeric' is marked as not used in the given context. + + + + + + + + + + + + + + + FX-SCH-A-000189 + + + + + Element 'ram:LineTotalAmount' must occur exactly 1 times. + + + + + + + + + + FX-SCH-A-000190 + + + + + Element 'ram:ChargeTotalAmount' may occur at maximum 1 times. + + + + + + + + + + FX-SCH-A-000191 + + + + + Element 'ram:AllowanceTotalAmount' may occur at maximum 1 times. + + + + + + + + + + FX-SCH-A-000339 + + + + + Element 'ram:TaxTotalAmount' may occur at maximum 1 times. + + + + + + + + + + FX-SCH-A-000340 + + + + + Element 'ram:GrandTotalAmount' may occur at maximum 1 times. + + + + + + + + + + FX-SCH-A-000341 + + + + + Element 'ram:TotalAllowanceChargeAmount' may occur at maximum 1 times. + + + + + + + + + + + + + + + + + + Attribute @currencyID' marked as not used in the given context. + + + + + + + + + + + + + + + + + Attribute @currencyID' marked as not used in the given context. + + + + + + + + + + + + + + + + + Attribute @currencyID' marked as not used in the given context. + + + + + + + + + + + + + + + + + Attribute @currencyID' marked as not used in the given context. + + + + + + + + + + + + + + + + + Attribute @currencyID' marked as not used in the given context. + + + + + + + + + + + + + + + + + Attribute @currencyID' marked as not used in the given context. + + + + + + + + + + + + + + + FX-SCH-A-000030 + + + + + Element 'ram:Name' must occur exactly 1 times. + + + + + + + + + + FX-SCH-A-000187 + + + + + Element 'ram:Description' may occur at maximum 1 times. + + + + + + + + + + + + + + + + FX-SCH-A-000294 + + + + + Element 'ram:Description' must occur exactly 1 times. + + + + + + + + + + FX-SCH-A-000295 + + + + + Element 'ram:Value' must occur exactly 1 times. + + + + + + + + + + + + + + + + + + Attribute @listID' marked as not used in the given context. + + + + + + + + + + + Attribute @listVersionID' marked as not used in the given context. + + + + + + + + + + + + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + + + + + + + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + + + + + + + + + + FX-SCH-A-000342 + + + + + Element 'ram:ClassName' may occur at maximum 1 times. + + + + + + + + + + + + + + + + FX-SCH-A-000296 + + + + + Attribute '@listID' is required in this context. + + + + + + + + + + + FX-SCH-A-000297 + + + + + Value of '@listID' is not allowed. + + + + + + + + + + + + + + + + FX-SCH-A-000037 + + + + + Attribute '@schemeID' is required in this context. + + + + + + + + + + + FX-SCH-A-000031 + + + + + Value of '@schemeID' is not allowed. + + + + + + + + + + + + + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + + + + + + + + + + FX-SCH-A-000163 + + + + + Element 'ram:ID' may occur at maximum 1 times. + + + + + + + + + + FX-SCH-A-000343 + + + + + Element 'ram:IndustryAssignedID' may occur at maximum 1 times. + + + + + + + + + + FX-SCH-A-000030 + + + + + Element 'ram:Name' must occur exactly 1 times. + + + + + + + + + + FX-SCH-A-000187 + + + + + Element 'ram:Description' may occur at maximum 1 times. + + + + + + + + + + FX-SCH-A-000344 + + + + + Element 'ram:UnitQuantity' may occur at maximum 1 times. + + + + + + + + + + + + + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + + + + + + + + + + FX-SCH-A-000037 + + + + + Attribute '@schemeID' is required in this context. + + + + + + + + + + + FX-SCH-A-000031 + + + + + Value of '@schemeID' is not allowed. + + + + + + + + + + + + + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + + + + + + + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + + + + + + + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + + + + + + + + + + FX-SCH-A-000277 + + + + + Attribute '@unitCode' is required in this context. + + + + + + + + + + + FX-SCH-A-000275 + + + + + Value of '@unitCode' is not allowed. + + + + + + + + + + + + + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + + + + + + + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + + + + + + + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + + + + + + + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + + + + + + + + + + FX-SCH-A-000019 + + + + + Element 'ram:ID' must occur exactly 1 times. + + + + + + + + + + + + + + + + + FX-SCH-A-000026 + + + + + Value of 'ram:ID' is not allowed. + + + + + + + + + + + + + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + + + + \ No newline at end of file diff --git a/app/Services/EDocument/Standards/Validation/Zugferd/FACTUR-X_EXTENDED_codedb.xml b/app/Services/EDocument/Standards/Validation/Zugferd/FACTUR-X_EXTENDED_codedb.xml new file mode 100644 index 0000000000..afbfba7f10 --- /dev/null +++ b/app/Services/EDocument/Standards/Validation/Zugferd/FACTUR-X_EXTENDED_codedb.xml @@ -0,0 +1,6707 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/app/Services/EDocument/Standards/Validation/Zugferd/xrechnung_cii.xslt b/app/Services/EDocument/Standards/Validation/Zugferd/xrechnung_cii.xslt new file mode 100644 index 0000000000..09b20d75e7 --- /dev/null +++ b/app/Services/EDocument/Standards/Validation/Zugferd/xrechnung_cii.xslt @@ -0,0 +1,1897 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789 + + + + + + + + + ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + / + + + + + + *: + + [namespace-uri()=' + + '] + + + + [ + + ] + + + + / + + @ + + + @*[local-name()=' + + ' and namespace-uri()=' + + '] + + + + + + + + / + + + [ + + ] + + + + /@ + + + + + + + / + + + [ + + ] + + + + /@ + + + + + + + + + + + + + + + + + + + + + + + . + + + + U + + U + + + + U. + + n + + + + U. + + _ + + _ + + + + + + + + +   +   +   + + + + + + + + + + + + + variable-pattern + variable-pattern + + + + + + + + peppol-cii-pattern-1 + peppol-cii-pattern-1 + + + + + + + + peppol-cii-pattern-0-a + peppol-cii-pattern-0-a + + + + + + + + peppol-cii-pattern-0-b + peppol-cii-pattern-0-b + + + + + + + + cii-pattern + cii-pattern + + + + + + + + cii-extension-pattern + cii-extension-pattern + + + + + + + + cii-cvd-pattern + cii-cvd-pattern + + + + + + + Schematron Version 2.4.0 - XRechnung 3.0.2 compatible - CII + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + PEPPOL-EN16931-R001 + fatal + + + + Business process MUST be provided. + + + + + + + + + + + + + + PEPPOL-EN16931-R005 + fatal + + + + VAT accounting currency code MUST be different from invoice currency code when provided. + + + + + + + + + PEPPOL-EN16931-R053 + fatal + + + + No more than one tax total amount must be provided where currency id equals document currency code. + + + + + + + + + PEPPOL-EN16931-R054 + fatal + + + + Only one tax total amount must be provided where currency id equals tax currency code, if tax currency code (BT-6) is provided. + + + + + + + + + PEPPOL-EN16931-R055 + fatal + + + + Invoice total VAT amount and Invoice total VAT amount in accounting currency MUST have the same operational sign + + + + + + + + + + + + + + PEPPOL-EN16931-R010 + fatal + + + + Buyer electronic address MUST be provided + + + + + + + + + + + + + + PEPPOL-EN16931-R020 + fatal + + + + Seller electronic address MUST be provided + + + + + + + + + + + + + + PEPPOL-EN16931-R041 + fatal + + + + Allowance/charge base + amount MUST be provided when allowance/charge percentage is provided. + + + + + + + + + + + + + + PEPPOL-EN16931-R042 + fatal + + + + Allowance/charge percentage + MUST be provided when allowance/charge base amount is provided. + + + + + + + + + + + + + + PEPPOL-EN16931-R040 + fatal + + + + Allowance/charge amount must equal base amount * percentage/100 if base amount and percentage exists + + + + + + + + + PEPPOL-EN16931-R043-1 + fatal + + + + Allowance/charge ChargeIndicator value MUST equal 'true' or 'false' + + + + + + + + + + + + + + PEPPOL-EN16931-R043-2 + fatal + + + + Allowance/charge ChargeIndicator value MUST equal 'true' or 'false' + + + + + + + + + + + + + + PEPPOL-EN16931-R061 + fatal + + + + Mandate reference MUST be provided for direct debit. + + + + + + + + + + + + + + PEPPOL-EN16931-R110 + fatal + + + + Start date of line period MUST be within invoice period. + + + + + + + + + + + + + + PEPPOL-EN16931-R111 + fatal + + + + End date of line period MUST be within invoice period. + + + + + + + + + + + + + + + + + + + + PEPPOL-EN16931-R101 + fatal + + + + Element Additional referenced document can only be used for Invoice line object. + + + + + + + + + + + + + + PEPPOL-EN16931-R121 + fatal + + + + Base quantity MUST be a positive number above zero. + + + + + + + + + + + + + + PEPPOL-EN16931-R130 + fatal + + + + Unit code of price base quantity MUST be same as invoiced quantity. + + + + + + + + + + + + + + + + + + + PEPPOL-EN16931-R008 + fatal + + + + Document MUST not contain empty elements. + + + + + + + + + + + + + + + + + + + PEPPOL-EN16931-R044 + fatal + + + + Charge on price level is NOT allowed. Only value 'false' allowed. + + + + + + + + + PEPPOL-EN16931-R046 + fatal + + + + Item net price MUST equal (Gross price - Allowance amount) when gross price is provided. + + + + + + + + + + + + + + + + + + + + + + + BR-DE-30 + fatal + + + + [BR-DE-30] Wenn "DIRECT DEBIT" BG-19 vorhanden ist, dann muss "Bank assigned creditor identifier" BT-90 übermittelt werden. + + + + + + + + + BR-DE-31 + fatal + + + + [BR-DE-31] Wenn "DIRECT DEBIT" BG-19 vorhanden ist, dann muss "Debited account identifier" BT-91 übermittelt werden. + + + + + + + + + BR-DE-1 + fatal + + + + [BR-DE-1] Eine Rechnung (INVOICE) muss Angaben zu "PAYMENT INSTRUCTIONS" (BG-16) enthalten. + + + + + + + + + BR-DE-15 + fatal + + + + [BR-DE-15] Das Element "Buyer reference" (BT-10) muss übermittelt werden. + + + + + + + + + BR-DE-16 + fatal + + + + [BR-DE-16] Wenn in einer Rechnung die Steuercodes S, Z, E, AE, K, G, L oder M verwendet werden, muss mindestens eines der Elemente "Seller VAT identifier" (BT-31), "Seller tax registration identifier" (BT-32) + oder "SELLER TAX REPRESENTATIVE PARTY" (BG-11) übermittelt werden. + + + + + + + + + + BR-DE-17 + warning + + + + [BR-DE-17] Mit dem Element "Invoice type code" (BT-3) sollen ausschließlich folgende Codes aus der Codeliste UNTDID 1001 übermittelt werden: 326 (Partial invoice), 380 (Commercial invoice), 384 (Corrected invoice), 389 (Self-billed invoice) und 381 (Credit note),875 (Partial construction invoice), 876 (Partial final construction invoice), 877 (Final construction invoice). + + + + + + + + + BR-DE-18 + fatal + + + + [BR-DE-18] Skonto Zeilen in + + muessen diesem regulärem Ausdruck entsprechen: + + . Die Informationen zur Gewährung von Skonto müssen wie folgt im Element "Payment terms" (BT-20) übermittelt werden: Anzugeben ist im ersten Segment "SKONTO", im zweiten "TAGE=n", im dritten "PROZENT=n". Prozentzahlen sind ohne Vorzeichen sowie mit Punkt getrennt von zwei Nachkommastellen anzugeben. Liegt dem zu berechnenden Betrag nicht BT-115, "fälliger Betrag" zugrunde, sondern nur ein Teil des fälligen Betrags der Rechnung, ist der Grundwert zur Berechnung von Skonto als viertes Segment "BASISBETRAG=n" gemäß dem semantischen Datentypen Amount anzugeben. Jeder Eintrag beginnt mit einer #, die Segmente sind mit einer # getrennt und eine Zeile schließt mit einer # ab. Am Ende einer vollständigen Skontoangabe muss ein XML-konformer Zeilenumbruch folgen. Alle Angaben zur Gewährung von Skonto müssen in Großbuchstaben gemacht werden. Zusätzliches Whitespace (Leerzeichen, Tabulatoren oder Zeilenumbrüche) ist nicht zulässig. Andere Zeichen oder Texte als in den oberen Vorgaben genannt sind nicht zulässig. + + + + + + + + + BR-DE-22 + fatal + + + + [BR-DE-22] Not all filename attributes of the embeddedDocumentBinaryObject elements are unique + + + + + + + + + BR-DE-26 + warning + + + + [BR-DE-26] Wenn im Element Invoice type code (BT-3) der Code 384 (Corrected invoice) übergeben wird, soll PRECEDING INVOICE REFERENCE BG-3 mind. einmal vorhanden sein. + + + + + + + + + + + + + + BR-DE-21 + warning + + + + [BR-DE-21] Das Element "Specification identifier" (BT-24) soll syntaktisch der Kennung des Standards XRechnung entsprechen. + + + + + + + + + + + + + + BR-DE-2 + fatal + + + + [BR-DE-2] Die Gruppe "SELLER CONTACT" (BG-6) muss übermittelt werden. + + + + + + + + + + + + + + BR-DE-3 + fatal + + + + [BR-DE-3] Das Element "Seller city" (BT-37) muss übermittelt werden. + + + + + + + + + BR-DE-4 + fatal + + + + [BR-DE-4] Das Element "Seller post code" (BT-38) muss übermittelt werden. + + + + + + + + + + + + + + BR-DE-5 + fatal + + + + [BR-DE-5] Das Element "Seller contact point" (BT-41) muss übermittelt werden. + + + + + + + + + BR-DE-6 + fatal + + + + [BR-DE-6] Das Element "Seller contact telephone number" (BT-42) muss übermittelt werden. + + + + + + + + + BR-DE-7 + fatal + + + + [BR-DE-7] Das Element "Seller contact email address" (BT-43) muss übermittelt werden. + + + + + + + + + BR-DE-27 + warning + + + + [BR-DE-27] In BT-42 sollen mindestens drei Ziffern enthalten sein. + + + + + + + + + BR-DE-28 + warning + + + + [BR-DE-28] In BT-43 soll genau ein @-Zeichen enthalten sein, welches nicht von einem Leerzeichen, einem Punkt, aber mindestens zwei Zeichen auf beiden Seiten flankiert werden soll. Ein Punkt sollte nicht am Anfang oder am Ende stehen. + + + + + + + + + + + + + + BR-DE-8 + fatal + + + + [BR-DE-8] Das Element "Buyer city" (BT-52) muss übermittelt werden. + + + + + + + + + BR-DE-9 + fatal + + + + [BR-DE-9] Das Element "Buyer post code" (BT-53) muss übermittelt werden. + + + + + + + + + + + + + + BR-TMP-2 + warning + + + + [BR-TMP-2] BT-124 "External document location" muss eine absolute URL mit gültigem Schema enthalten. + + + + + + + + + + + + + + BR-DE-10 + fatal + + + + [BR-DE-10] Das Element "Deliver to city" (BT-77) muss übermittelt werden, wenn die Gruppe "DELIVER TO ADDRESS" (BG-15) übermittelt wird. + + + + + + + + + BR-DE-11 + fatal + + + + [BR-DE-11] Das Element "Deliver to post code" (BT-78) muss übermittelt werden, wenn die Gruppe "DELIVER TO ADDRESS" (BG-15) übermittelt wird. + + + + + + + + + + + + + + BR-DE-19 + warning + + + + [BR-DE-19] "Payment account identifier" (BT-84) soll eine korrekte IBAN enthalten, wenn in "Payment means type code" (BT-81) mit dem Code 58 SEPA als Zahlungsmittel gefordert wird. + + + + + + + + + BR-DE-23-a + fatal + + + + [BR-DE-23-a] Wenn BT-81 "Payment means type code" einen Schlüssel für Überweisungen enthält (30, 58), muss BG-17 "CREDIT TRANSFER" übermittelt werden. + + + + + + + + + BR-DE-23-b + fatal + + + + [BR-DE-23-b] Wenn BT-81 "Payment means type code" einen Schlüssel für Überweisungen enthält (30, 58), dürfen BG-18 und BG-19 nicht übermittelt werden. + + + + + + + + + + + + + + BR-DE-24-a + fatal + + + + [BR-DE-24-a] Wenn BT-81 "Payment means type code" einen Schlüssel für Kartenzahlungen enthält (48, 54, 55), muss genau BG-18 "PAYMENT CARD INFORMATION" übermittelt werden. + + + + + + + + + BR-DE-24-b + fatal + + + + [BR-DE-24-b] Wenn BT-81 "Payment means type code" einen Schlüssel für Kartenzahlungen enthält (48, 54, 55), dürfen BG-17 und BG-19 nicht übermittelt werden. + + + + + + + + + + + + + + BR-DE-20 + warning + + + + [BR-DE-20] "Debited account identifier" (BT-91) soll eine korrekte IBAN enthalten, wenn in "Payment means type code" (BT-81) mit dem Code 59 SEPA als Zahlungsmittel gefordert wird. + + + + + + + + + BR-DE-25-a + fatal + + + + [BR-DE-25-a] Wenn BT-81 "Payment means type code" einen Schlüssel für Lastschriften enthält (59), muss genau BG-19 "DIRECT DEBIT" übermittelt werden. + + + + + + + + + BR-DE-25-b + fatal + + + + [BR-DE-25-b] Wenn BT-81 "Payment means type code" einen Schlüssel für Lastschriften enthält (59), dürfen BG-17 und BG-18 nicht übermittelt werden. + + + + + + + + + + + + + + BR-DE-14 + fatal + + + + [BR-DE-14] Das Element "VAT category rate" (BT-119) muss übermittelt werden. + + + + + + + + + + + + + + BR-DE-TMP-32 + information + + + + + [BR-DE-TMP-32] Eine Rechnung sollte zur Angabe des Liefer-/Leistungsdatums entweder BT-72 "Actual delivery date", BG-14 "Invoicing period" oder in jeder Rechnungsposition BG-26 "Invoice line period" enthalten. + + + + + + + + + + + + + + + BR-TMP-3 + fatal + + + + [BR-TMP-3] If both elements to which BT-149 and BT-150 can be mapped are present, both must be equal. + + + + + + + + + + + + + + + + + + + + BR-DEX-15 + warning + + + + + [BR-DEX-15] This CII file might use the concept of Sub Invoice Lines. However XRechnung does not support this. + + + + + + + + + + + + + + + BR-DEX-04 + fatal + + + + [BR-DEX-04] Any scheme identifier in + + MUST be coded using one of the ISO 6523 ICD list. + + + + + + + + + + + + + + BR-DEX-05 + fatal + + + + [BR-DEX-05] Any scheme identifier in + + MUST be coded using one of the ISO 6523 ICD list. + + + + + + + + + + + + + + BR-DEX-06 + fatal + + + + [BR-DEX-06] Any scheme identifier in + + MUST be coded using one of the ISO 6523 ICD list. + + + + + + + + + + + + + + BR-DEX-07 + fatal + + + + [BR-DEX-07] Any scheme identifier for an Endpoint Identifier in + + MUST belong to the CEF EAS code list. + + + + + + + + + + + + + + BR-DEX-08 + fatal + + + + [BR-DEX-08] Any scheme identifier for a Delivery location identifier in + + MUST be coded using one of the ISO 6523 ICD list. + + + + + + + + + + + + + + BR-DEX-01 + fatal + + + + [BR-DEX-01] Das Element + + "Attached Document" (BT-125) benutzt einen nicht zulässigen MIME-Code: + + . Im Falle einer Extension darf zusätzlich zu der Liste der mime codes (definiert in Abschnitt 8.2, "Binary Object") der MIME-Code application/xml genutzt werden. + + + + + + + + + + + + + + + + + + + + BR-DE-CVD-03 + fatal + + + + + [BR-DE-CVD-03] In einer Rechnung muss mindestens eine + + INVOICE LINE (BG-25) enthalten sein, in der der Scheme identifier von + + "Item classification identifier" (BT-158) den Wert 'CVD' und der + + "Item attribute name" (BT-160) den Wert 'cva' enthält. + + + + + + + + + + + + + + + BR-DE-CVD-06-b + fatal + + + + + [BR-DE-CVD-06-b] Wenn + + "Item attribute name" (BT-160) mit dem Wert 'cva' angegeben ist, muss in derselben Rechnungszeile genau ein + + "Item classification identifier" (BT-158) mit dem Scheme identifier 'CVD' vorhanden sein. + + + + + + + + + + BR-DE-CVD-06-a + fatal + + + + + [BR-DE-CVD-06-a] Wenn der Scheme identifier von + + "Item classification identifier" (BT-158) mit dem Wert 'CVD' angegeben ist, muss in derselben Rechnungszeile genau ein + + "Item attribute name" (BT-160) mit dem Wert 'cva' vorhanden sein. + + + + + + + + + + + + + + + BR-TMP-CVD-01 + fatal + + + + + [BR-TMP-CVD-01] Das Bildungsschema für + + "Item classification identifier" (BT-158) ist aus der Codeliste UNTDID 7143 zu wählen. + + + + + + + + + + BR-DE-CVD-04 + fatal + + + + + [BR-DE-CVD-04] Ein + + "Item classification identifier" (BT-158) mit dem Scheme identifier 'CVD' muss einen Wert aus der Liste der zulässigen Fahrzeugkategorien enthalten. + + + + + + + + + + + + + + + BR-DE-CVD-05 + fatal + + + + + [BR-DE-CVD-05] Wenn innerhalb von + + ITEM ATTRIBUTES (BG-32) der + + "Item attribute name" (BT-160) den Wert 'cva' hat, muss der + + "Item attribute value" (BT-161) einen der zulässigen Werte enthalten. + + + + + + + + + + + + + + + BR-DE-CVD-01 + fatal + + + + + [BR-DE-CVD-01] Das Element + + "Contract reference" (BT-12) muss übermittelt werden. + + + + + + + + + + BR-DE-CVD-02 + fatal + + + + + [BR-DE-CVD-02] Das Element + + "Tender or lot reference" (BT-17) muss übermittelt werden. + + + + + + + + + + + \ No newline at end of file diff --git a/app/Services/EDocument/Standards/ZugferdEDocument.php b/app/Services/EDocument/Standards/ZugferdEDocument.php index 5e81624ae1..39e64fe26d 100644 --- a/app/Services/EDocument/Standards/ZugferdEDocument.php +++ b/app/Services/EDocument/Standards/ZugferdEDocument.php @@ -104,22 +104,22 @@ class ZugferdEDocument extends AbstractService if ($this->document->custom_surcharge1 > 0) { $surcharge = $this->document->uses_inclusive_taxes ? ($this->document->custom_surcharge1 / (1 + ($item["tax_rate"] / 100))) : $this->document->custom_surcharge1; - $this->xdocument->addDocumentAllowanceCharge($surcharge, true, $tax_code, "VAT", $item["tax_rate"]); + $this->xdocument->addDocumentAllowanceCharge($surcharge, true, $tax_code, "VAT", $item["tax_rate"],null,null,null,null,null,null, ctrans('texts.surcharge')); } if ($this->document->custom_surcharge2 > 0) { $surcharge = $this->document->uses_inclusive_taxes ? ($this->document->custom_surcharge2 / (1 + ($item["tax_rate"] / 100))) : $this->document->custom_surcharge2; - $this->xdocument->addDocumentAllowanceCharge($surcharge, true, $tax_code, "VAT", $item["tax_rate"]); + $this->xdocument->addDocumentAllowanceCharge($surcharge, true, $tax_code, "VAT", $item["tax_rate"],null,null,null,null,null,null, ctrans('texts.surcharge')); } if ($this->document->custom_surcharge3 > 0) { $surcharge = $this->document->uses_inclusive_taxes ? ($this->document->custom_surcharge3 / (1 + ($item["tax_rate"] / 100))) : $this->document->custom_surcharge3; - $this->xdocument->addDocumentAllowanceCharge($surcharge, true, $tax_code, "VAT", $item["tax_rate"]); + $this->xdocument->addDocumentAllowanceCharge($surcharge, true, $tax_code, "VAT", $item["tax_rate"],null,null,null,null,null,null, ctrans('texts.surcharge')); } if ($this->document->custom_surcharge4 > 0) { $surcharge = $this->document->uses_inclusive_taxes ? ($this->document->custom_surcharge4 / (1 + ($item["tax_rate"] / 100))) : $this->document->custom_surcharge4; - $this->xdocument->addDocumentAllowanceCharge($surcharge, true, $tax_code, "VAT", $item["tax_rate"]); + $this->xdocument->addDocumentAllowanceCharge($surcharge, true, $tax_code, "VAT", $item["tax_rate"],null,null,null,null,null,null, ctrans('texts.surcharge')); } return $this; @@ -175,7 +175,8 @@ class ZugferdEDocument extends AbstractService false, $this->tax_code, "VAT", - 0 + 0, + null,null,null,null,null,null, ctrans('texts.discount') ); } @@ -215,7 +216,8 @@ class ZugferdEDocument extends AbstractService false, $this->getTaxType($item["tax_id"] ?? '2'), "VAT", - $item["tax_rate"] + $item["tax_rate"], + null,null,null,null,null,null,ctrans('texts.discount') ); } @@ -270,7 +272,7 @@ class ZugferdEDocument extends AbstractService $this->tax_code = ZugferdDutyTaxFeeCategories::EXEMPT_FROM_TAX; // $this->exemption_reason_code = "VATEX-EU-NOT-TAX"; $this->exemption_reason_code = "VATEX-EU-O"; - nlog("exemption_reason_code: {$this->exemption_reason_code}"); + // nlog("exemption_reason_code: {$this->exemption_reason_code}"); } elseif ($item->tax_id == '9') { //reverse charge $this->tax_code = ZugferdDutyTaxFeeCategories::VAT_REVERSE_CHARGE; $this->exemption_reason_code = "VATEX-EU-AE"; @@ -587,7 +589,7 @@ class ZugferdEDocument extends AbstractService } elseif (in_array($this->document->client->country->iso_3166_2, ["ES-CE", "ES-ML"])) { $tax_type = ZugferdDutyTaxFeeCategories::TAX_FOR_PRODUCTION_SERVICES_AND_IMPORTATION_IN_CEUTA_AND_MELILLA; } else { - nlog("Unkown tax case for xinvoice"); + // nlog("Unkown tax case for xinvoice"); $tax_type = ZugferdDutyTaxFeeCategories::STANDARD_RATE; } } diff --git a/app/Services/EDocument/Standards/ZugferdEDokument.php b/app/Services/EDocument/Standards/ZugferdEDokument.php index 2c0fa4fb8c..b68916b3e3 100644 --- a/app/Services/EDocument/Standards/ZugferdEDokument.php +++ b/app/Services/EDocument/Standards/ZugferdEDokument.php @@ -350,7 +350,7 @@ class ZugferdEDokument extends AbstractService } elseif (in_array($this->document->client->country->iso_3166_2, ["ES-CE", "ES-ML"])) { $tax_type = ZugferdDutyTaxFeeCategories::TAX_FOR_PRODUCTION_SERVICES_AND_IMPORTATION_IN_CEUTA_AND_MELILLA; } else { - nlog("Unkown tax case for xinvoice"); + // nlog("Unkown tax case for xinvoice"); $tax_type = ZugferdDutyTaxFeeCategories::STANDARD_RATE; } } diff --git a/composer.lock b/composer.lock index 680267c012..81dbda4a25 100644 --- a/composer.lock +++ b/composer.lock @@ -20947,16 +20947,16 @@ }, { "name": "spatie/backtrace", - "version": "1.8.0", + "version": "1.8.1", "source": { "type": "git", "url": "https://github.com/spatie/backtrace.git", - "reference": "1607d8870bf597fc4ad79a6945cf0b2e584c2669" + "reference": "8c0f16a59ae35ec8c62d85c3c17585158f430110" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/spatie/backtrace/zipball/1607d8870bf597fc4ad79a6945cf0b2e584c2669", - "reference": "1607d8870bf597fc4ad79a6945cf0b2e584c2669", + "url": "https://api.github.com/repos/spatie/backtrace/zipball/8c0f16a59ae35ec8c62d85c3c17585158f430110", + "reference": "8c0f16a59ae35ec8c62d85c3c17585158f430110", "shasum": "" }, "require": { @@ -20995,7 +20995,7 @@ ], "support": { "issues": "https://github.com/spatie/backtrace/issues", - "source": "https://github.com/spatie/backtrace/tree/1.8.0" + "source": "https://github.com/spatie/backtrace/tree/1.8.1" }, "funding": [ { @@ -21007,7 +21007,7 @@ "type": "other" } ], - "time": "2025-08-25T16:16:45+00:00" + "time": "2025-08-26T08:22:30+00:00" }, { "name": "spatie/error-solutions", diff --git a/tests/Integration/Einvoice/ZugferdTest.php b/tests/Integration/Einvoice/ZugferdTest.php index 089e10062a..f92550a755 100644 --- a/tests/Integration/Einvoice/ZugferdTest.php +++ b/tests/Integration/Einvoice/ZugferdTest.php @@ -67,6 +67,10 @@ class ZugferdTest extends TestCase ]; private string $zug_16931 = 'Services/EDocument/Standards/Validation/Zugferd/zugferd_16931.xslt'; + + private string $zf_extended_wl = 'Services/EDocument/Standards/Validation/Zugferd/FACTUR-X_EXTENDED.xslt'; + + private string $extended_profile = 'XInvoice-Extended'; protected function setUp(): void { @@ -96,7 +100,7 @@ class ZugferdTest extends TestCase $settings->classification = $params['company_classification'] ?? 'business'; $settings->country_id = Country::where('iso_3166_2', 'DE')->first()->id; $settings->email = $this->faker->safeEmail(); - $settings->e_invoice_type = 'XInvoice_3_0'; + $settings->e_invoice_type = $params['e_invoice_type'] ?? 'XInvoice_3_0'; $settings->currency_id = '3'; $settings->name = 'Test Company'; $settings->address1 = 'Line 1 of address of the seller'; @@ -255,6 +259,66 @@ class ZugferdTest extends TestCase $this->assertCount(0, $validator->getErrors()); + } + } + + + public function testDeTodeTaxExemptExtendedProfile() + { + + $scenario = [ + 'company_vat' => 'DE923356489', + 'company_country' => 'DE', + 'client_country' => 'DE', + 'client_vat' => 'DE923356488', + 'classification' => 'business', + 'has_valid_vat' => true, + 'over_threshold' => true, + 'legal_entity_id' => 290868, + 'e_invoice_type' => $this->extended_profile, + ]; + + $data = $this->setupTestData($scenario); + + $invoice = $data['invoice']; + + $repo = new InvoiceRepository(); + + foreach($this->inclusive_scenarios as $scenario){ + + $invoice_data = json_decode($scenario, true); + + $line_items = $invoice_data['line_items']; + + foreach ($line_items as &$item) { + $item['tax_rate1'] = 0; + $item['tax_name1'] = 'VAT'; + $item['tax_id'] = '5'; + } + unset($item); + + $invoice_data['line_items'] = array_values($line_items); + + $invoice_data['uses_inclusive_taxes'] = false; + + $invoice = $repo->save($invoice_data, $invoice); + $invoice = $invoice->calc()->getInvoice(); + + $xml = $invoice->service()->getEInvoice(); + + $validator = new \App\Services\EDocument\Standards\Validation\XsltDocumentValidator($xml); + $validator->setStyleSheets([$this->zf_extended_wl]); + $validator->setXsd('/Services/EDocument/Standards/Validation/Zugferd/Schema/XSD/CrossIndustryInvoice_100pD22B.xsd'); + $validator->validate(); + + if (count($validator->getErrors()) > 0) { + + nlog($invoice->withoutRelations()->toArray()); + nlog($xml); + nlog($validator->getErrors()); + } + + $this->assertCount(0, $validator->getErrors()); } } @@ -585,7 +649,8 @@ class ZugferdTest extends TestCase { $zug_16931 = 'Services/EDocument/Standards/Validation/Zugferd/zugferd_16931.xslt'; - + // $xr_cii = 'Services/EDocument/Standards/Validation/Zugferd/xrechnung_cii.xslt'; + // $zug_16931 = 'Services/EDocument/Standards/Validation/Zugferd/FACTUR-X_MINIMUM.xslt'; $scenario = [ @@ -621,6 +686,8 @@ class ZugferdTest extends TestCase $validator = new \App\Services\EDocument\Standards\Validation\XsltDocumentValidator($xml); $validator->setStyleSheets([$this->zug_16931]); + + $validator->setXsd('/Services/EDocument/Standards/Validation/Zugferd/Schema/XSD/CrossIndustryInvoice_100pD22B.xsd'); $validator->validate(); @@ -684,5 +751,399 @@ class ZugferdTest extends TestCase } + // ============================================================================ + // EXTENDED PROFILE TEST METHODS - Duplicates using extended profile and XSLT + // ============================================================================ + + public function testDeToNlReverseTaxExtendedProfile() + { + + $scenario = [ + 'company_vat' => 'DE923356489', + 'company_country' => 'DE', + 'client_country' => 'NL', + 'client_vat' => 'NL808436332B01', + 'classification' => 'business', + 'has_valid_vat' => true, + 'over_threshold' => true, + 'legal_entity_id' => 290868, + 'e_invoice_type' => $this->extended_profile, + ]; + + $data = $this->setupTestData($scenario); + + $invoice = $data['invoice']; + + $repo = new InvoiceRepository(); + + foreach($this->inclusive_scenarios as $scenario){ + + $invoice_data = json_decode($scenario, true); + + $line_items = $invoice_data['line_items']; + + foreach ($line_items as &$item) { + $item['tax_rate1'] = 0; + $item['tax_name1'] = ''; + $item['tax_id'] = '9'; + } + unset($item); + + $invoice_data['line_items'] = array_values($line_items); + + $invoice_data['uses_inclusive_taxes'] = false; + + $invoice = $repo->save($invoice_data, $invoice); + $invoice = $invoice->calc()->getInvoice(); + + $xml = $invoice->service()->getEInvoice(); + + $validator = new \App\Services\EDocument\Standards\Validation\XsltDocumentValidator($xml); + $validator->setStyleSheets([$this->zf_extended_wl]); + $validator->setXsd('/Services/EDocument/Standards/Validation/Zugferd/Schema/XSD/CrossIndustryInvoice_100pD22B.xsd'); + $validator->validate(); + + if (count($validator->getErrors()) > 0) { + + nlog($invoice->withoutRelations()->toArray()); + nlog($xml); + nlog($validator->getErrors()); + } + + $this->assertCount(0, $validator->getErrors()); + + } + } + + public function testInclusiveScenariosExtendedProfile() + { + $scenario = [ + 'company_vat' => 'DE923356489', + 'company_country' => 'DE', + 'client_country' => 'DE', + 'client_vat' => 'DE923356488', + 'classification' => 'business', + 'has_valid_vat' => true, + 'over_threshold' => true, + 'legal_entity_id' => 290868, + 'e_invoice_type' => $this->extended_profile, + ]; + + $data = $this->setupTestData($scenario); + + $invoice = $data['invoice']; + + $repo = new InvoiceRepository(); + + foreach($this->inclusive_scenarios as $scenario){ + + $invoice_data = json_decode($scenario, true); + + $invoice = $repo->save($invoice_data, $invoice); + $invoice = $invoice->calc()->getInvoice(); + + $xml = $invoice->service()->getEInvoice(); + + $validator = new \App\Services\EDocument\Standards\Validation\XsltDocumentValidator($xml); + $validator->setStyleSheets([$this->zf_extended_wl]); + $validator->setXsd('/Services/EDocument/Standards/Validation/Zugferd/Schema/XSD/CrossIndustryInvoice_100pD22B.xsd'); + $validator->validate(); + + if (count($validator->getErrors()) > 0) { + + nlog($invoice->withoutRelations()->toArray()); + nlog($xml); + nlog($validator->getErrors()); + } + + $this->assertCount(0, $validator->getErrors()); + + } + } + + public function testExclusiveScenariosExtendedProfile() + { + $scenario = [ + 'company_vat' => 'DE923356489', + 'company_country' => 'DE', + 'client_country' => 'DE', + 'client_vat' => 'DE923356488', + 'classification' => 'business', + 'has_valid_vat' => true, + 'over_threshold' => true, + 'legal_entity_id' => 290868, + 'e_invoice_type' => $this->extended_profile, + ]; + + $data = $this->setupTestData($scenario); + + $invoice = $data['invoice']; + + $repo = new InvoiceRepository(); + + foreach($this->inclusive_scenarios as $scenario){ + + $invoice_data = json_decode($scenario, true); + + $invoice_data['uses_inclusive_taxes'] = false; + + $invoice = $repo->save($invoice_data, $invoice); + $invoice = $invoice->calc()->getInvoice(); + + $xml = $invoice->service()->getEInvoice(); + + $validator = new \App\Services\EDocument\Standards\Validation\XsltDocumentValidator($xml); + $validator->setStyleSheets([$this->zf_extended_wl]); + $validator->setXsd('/Services/EDocument/Standards/Validation/Zugferd/Schema/XSD/CrossIndustryInvoice_100pD22B.xsd'); + $validator->validate(); + + if (count($validator->getErrors()) > 0) { + + nlog($invoice->withoutRelations()->toArray()); + nlog($xml); + nlog($validator->getErrors()); + } + + $this->assertCount(0, $validator->getErrors()); + + } + } + + public function testZugFerdValidationExtendedProfile() + { + $scenario = [ + 'company_vat' => 'DE923356489', + 'company_country' => 'DE', + 'client_country' => 'DE', + 'client_vat' => 'DE923356488', + 'classification' => 'business', + 'has_valid_vat' => true, + 'over_threshold' => true, + 'legal_entity_id' => 290868, + 'e_invoice_type' => $this->extended_profile, + ]; + + $data = $this->setupTestData($scenario); + + $invoice = $data['invoice']; + + $xml = $invoice->service()->getEInvoice(); + + $validator = new \App\Services\EDocument\Standards\Validation\XsltDocumentValidator($xml); + $validator->setStyleSheets([$this->zf_extended_wl]); + $validator->setXsd('/Services/EDocument/Standards/Validation/Zugferd/Schema/XSD/CrossIndustryInvoice_100pD22B.xsd'); + $validator->validate(); + + if (count($validator->getErrors()) > 0) { + nlog($xml); + nlog($validator->getErrors()); + } + + $this->assertCount(0, $validator->getErrors()); + } + + public function testZugFerdValidationWithInclusiveTaxesExtendedProfile() + { + $scenario = [ + 'company_vat' => 'DE923356489', + 'company_country' => 'DE', + 'client_country' => 'DE', + 'client_vat' => 'DE923356488', + 'classification' => 'business', + 'has_valid_vat' => true, + 'over_threshold' => true, + 'legal_entity_id' => 290868, + 'e_invoice_type' => $this->extended_profile, + ]; + + $data = $this->setupTestData($scenario); + + $invoice = $data['invoice']; + $invoice->uses_inclusive_taxes = true; + $invoice = $invoice->calc()->getInvoice(); + + $xml = $invoice->service()->getEInvoice(); + + $validator = new \App\Services\EDocument\Standards\Validation\XsltDocumentValidator($xml); + $validator->setStyleSheets([$this->zf_extended_wl]); + $validator->setXsd('/Services/EDocument/Standards/Validation/Zugferd/Schema/XSD/CrossIndustryInvoice_100pD22B.xsd'); + $validator->validate(); + + if (count($validator->getErrors()) > 0) { + nlog($xml); + nlog($validator->getErrors()); + } + + $this->assertCount(0, $validator->getErrors()); + } + + public function testZugFerdValidationWithInclusiveTaxesAndTotalAmountDiscountExtendedProfile() + { + $scenario = [ + 'company_vat' => 'DE923356489', + 'company_country' => 'DE', + 'client_country' => 'DE', + 'client_vat' => 'DE923356488', + 'classification' => 'business', + 'has_valid_vat' => true, + 'over_threshold' => true, + 'legal_entity_id' => 290868, + 'e_invoice_type' => $this->extended_profile, + ]; + + $data = $this->setupTestData($scenario); + + $invoice = $data['invoice']; + $invoice->uses_inclusive_taxes = true; + $invoice = $invoice->calc()->getInvoice(); + $invoice->discount=20; + $invoice->is_amount_discount = true; + + $xml = $invoice->service()->getEInvoice(); + + $validator = new \App\Services\EDocument\Standards\Validation\XsltDocumentValidator($xml); + $validator->setStyleSheets([$this->zf_extended_wl]); + $validator->setXsd('/Services/EDocument/Standards/Validation/Zugferd/Schema/XSD/CrossIndustryInvoice_100pD22B.xsd'); + $validator->validate(); + + if (count($validator->getErrors()) > 0) { + nlog($xml); + nlog($validator->getErrors()); + } + + $this->assertCount(0, $validator->getErrors()); + } + + public function testZugFerdValidationWithInclusiveTaxesAndTotalPercentDiscountExtendedProfile() + { + $scenario = [ + 'company_vat' => 'DE923356489', + 'company_country' => 'DE', + 'client_country' => 'DE', + 'client_vat' => 'DE923356488', + 'classification' => 'business', + 'has_valid_vat' => true, + 'over_threshold' => true, + 'legal_entity_id' => 290868, + 'e_invoice_type' => $this->extended_profile, + ]; + + $data = $this->setupTestData($scenario); + + $invoice = $data['invoice']; + $invoice->uses_inclusive_taxes = true; + $invoice = $invoice->calc()->getInvoice(); + $invoice->discount=20; + $invoice->is_amount_discount = false; + + $xml = $invoice->service()->getEInvoice(); + + $validator = new \App\Services\EDocument\Standards\Validation\XsltDocumentValidator($xml); + $validator->setStyleSheets([$this->zf_extended_wl]); + $validator->setXsd('/Services/EDocument/Standards/Validation/Zugferd/Schema/XSD/CrossIndustryInvoice_100pD22B.xsd'); + $validator->validate(); + + if (count($validator->getErrors()) > 0) { + nlog($xml); + nlog($validator->getErrors()); + } + + $this->assertCount(0, $validator->getErrors()); + } + + public function testZugFerdValidationWithInclusiveTaxesAndTotalPercentDiscountOnLineItemsAlsoExtendedProfile() + { + $scenario = [ + 'company_vat' => 'DE923356489', + 'company_country' => 'DE', + 'client_country' => 'DE', + 'client_vat' => 'DE923356488', + 'classification' => 'business', + 'has_valid_vat' => true, + 'over_threshold' => true, + 'legal_entity_id' => 290868, + 'e_invoice_type' => $this->extended_profile, + ]; + + $data = $this->setupTestData($scenario); + + $invoice = $data['invoice']; + $invoice->uses_inclusive_taxes = true; + $invoice = $invoice->calc()->getInvoice(); + $invoice->discount=20; + $invoice->is_amount_discount = false; + + $items = $invoice->line_items; + + foreach($items as &$item){ + $item->discount=10; + $item->is_amount_discount = false; + } + unset($item); + + $invoice->line_items = $items; + + $xml = $invoice->service()->getEInvoice(); + + $validator = new \App\Services\EDocument\Standards\Validation\XsltDocumentValidator($xml); + $validator->setStyleSheets([$this->zf_extended_wl]); + $validator->setXsd('/Services/EDocument/Standards/Validation/Zugferd/Schema/XSD/CrossIndustryInvoice_100pD22B.xsd'); + $validator->validate(); + + if (count($validator->getErrors()) > 0) { + nlog($xml); + nlog($validator->getErrors()); + } + + $this->assertCount(0, $validator->getErrors()); + } + + public function testZugFerdValidationWithInclusiveTaxesAndTotalAmountDiscountOnLineItemsAlsoExtendedProfile() + { + $scenario = [ + 'company_vat' => 'DE923356489', + 'company_country' => 'DE', + 'client_country' => 'DE', + 'client_vat' => 'DE923356488', + 'classification' => 'business', + 'has_valid_vat' => true, + 'over_threshold' => true, + 'legal_entity_id' => 290868, + 'e_invoice_type' => $this->extended_profile, + ]; + + $data = $this->setupTestData($scenario); + + $invoice = $data['invoice']; + $invoice->uses_inclusive_taxes = true; + $invoice = $invoice->calc()->getInvoice(); + $invoice->discount=20; + $invoice->is_amount_discount = true; + + $items = $invoice->line_items; + + foreach($items as &$item){ + $item->discount=5; + $item->is_amount_discount = true; + } + unset($item); + + $invoice->line_items = $items; + + $xml = $invoice->service()->getEInvoice(); + + $validator = new \App\Services\EDocument\Standards\Validation\XsltDocumentValidator($xml); + $validator->setStyleSheets([$this->zf_extended_wl]); + $validator->setXsd('/Services/EDocument/Standards/Validation/Zugferd/Schema/XSD/CrossIndustryInvoice_100pD22B.xsd'); + $validator->validate(); + + if (count($validator->getErrors()) > 0) { + nlog($xml); + nlog($validator->getErrors()); + } + + $this->assertCount(0, $validator->getErrors()); + } + }