From 119790bdfae56c366fbb633a30b5adadf50f5e3f Mon Sep 17 00:00:00 2001 From: Jelte Jansen Date: Tue, 28 Feb 2023 23:52:14 +0100 Subject: [PATCH] Pull in additional commits from upstream PR 333 https://github.com/ConnectingEurope/eInvoicing-EN16931/pull/333 - Fixed an issue introduced in 2.0.3.5. This version contained an additional change in checks for empty values for a number rules. This change added a check for whitespace-only as well, but contained an issue where the entire check was skipped if the checked XML element is not present. This issue has been fixed in this version, by explicitely checking both existence and white-space aware emptiness. --- Changelog | 8 +- .../CenPC434/CII/EN16931-CII-model.sch | 36 +- .../EN16931-CII-validation-preprocessed.sch | 1005 ----------------- .../CenPC434/UBL/EN16931-UBL-model.sch | 30 +- xsl/nlcius-cii-1.0.xsl | 72 +- xsl/si-ubl-2.0-ext-gaccount.xsl | 60 +- xsl/si-ubl-2.0.xsl | 60 +- 7 files changed, 136 insertions(+), 1135 deletions(-) delete mode 100644 schematron/nlcius-cii/CenPC434/preprocessed/EN16931-CII-validation-preprocessed.sch diff --git a/Changelog b/Changelog index 6ee3dc3..daf11cf 100644 --- a/Changelog +++ b/Changelog @@ -3,7 +3,13 @@ Scheduled for next release -------------------------- -No changes as of yet. +SI-UBL 2.0.3.X: +- Fixed an issue introduced in 2.0.3.5. This version contained an + additional change in checks for empty values for a number rules. This + change added a check for whitespace-only as well, but contained an + issue where the entire check was skipped if the checked XML element + is not present. This issue has been fixed in this version, by + explicitely checking both existence and white-space aware emptiness. ========================== = Published releases = diff --git a/schematron/nlcius-cii/CenPC434/CII/EN16931-CII-model.sch b/schematron/nlcius-cii/CenPC434/CII/EN16931-CII-model.sch index 6e6e65d..96630a1 100644 --- a/schematron/nlcius-cii/CenPC434/CII/EN16931-CII-model.sch +++ b/schematron/nlcius-cii/CenPC434/CII/EN16931-CII-model.sch @@ -6,17 +6,17 @@ - - - - - - - + + + + + + + - + - + @@ -26,11 +26,11 @@ - + - + @@ -53,17 +53,17 @@ - + - - + + - - - - + + + + diff --git a/schematron/nlcius-cii/CenPC434/preprocessed/EN16931-CII-validation-preprocessed.sch b/schematron/nlcius-cii/CenPC434/preprocessed/EN16931-CII-validation-preprocessed.sch deleted file mode 100644 index b90bea7..0000000 --- a/schematron/nlcius-cii/CenPC434/preprocessed/EN16931-CII-validation-preprocessed.sch +++ /dev/null @@ -1,1005 +0,0 @@ - - - - - - - - - - - - - - - - - - - - [BR-52]-Each Additional supporting document (BG-24) shall contain a Supporting document reference (BT-122). - - - [BR-51]-In accordance with card payments security standards an invoice should never include a full card primary account number (BT-97). 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. - - - [BR-50]-A Payment account identifier (BT-84) shall be present if Credit transfer (BG-16) information is provided in the Invoice. - [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. - - - [BR-57]-Each Deliver to address (BG-15) shall contain a Deliver to country code (BT-80). - - - [BR-31]-Each Document level allowance (BG-20) shall have a Document level allowance amount (BT-92). - [BR-32]-Each Document level allowance (BG-20) shall have a Document level allowance VAT category code (BT-95). - [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). - [BR-CO-05]-Document level allowance reason code (BT-98) and Document level allowance reason (BT-97) shall indicate the same type of allowance. - [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. - [BR-DEC-01]-The allowed maximum number of decimals for the Document level allowance amount (BT-92) is 2. - [BR-DEC-02]-The allowed maximum number of decimals for the Document level allowance base amount (BT-93) is 2. - - - [BR-36]-Each Document level charge (BG-21) shall have a Document level charge amount (BT-99). - [BR-37]-Each Document level charge (BG-21) shall have a Document level charge VAT category code (BT-102). - [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). - [BR-CO-06]-Document level charge reason code (BT-105) and Document level charge reason (BT-104) shall indicate the same type of charge. - [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. - [BR-DEC-05]-The allowed maximum number of decimals for the Document level charge amount (BT-92) is 2. - [BR-DEC-06]-The allowed maximum number of decimals for the Document level charge base amount (BT-93) is 2. - - - [BR-12]-An Invoice shall have the Sum of Invoice line net amount (BT-106). - [BR-13]-An Invoice shall have the Invoice total amount without VAT (BT-109). - [BR-14]-An Invoice shall have the Invoice total amount with VAT (BT-112). - [BR-15]-An Invoice shall have the Amount due for payment (BT-115). - [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. - [BR-CO-10]-Sum of Invoice line net amount (BT-106) = Σ Invoice line net amount (BT-131). - [BR-CO-11]-Sum of allowances on document level (BT-107) = Σ Document level allowance amount (BT-92). - [BR-CO-12]-Sum of charges on document level (BT-108) = Σ Document level charge amount (BT-99). - [BR-CO-13]-Invoice total amount without VAT (BT-109) = Σ Invoice line net amount (BT-131) - Sum of allowances on document level (BT-107) + Sum of charges on document level (BT-108). - [BR-CO-16]-Amount due for payment (BT-115) = Invoice total amount with VAT (BT-112) -Paid amount (BT-113) +Rounding amount (BT-114). - [BR-DEC-09]-The allowed maximum number of decimals for the Sum of Invoice line net amount (BT-106) is 2. - [BR-DEC-10]-The allowed maximum number of decimals for the Sum of allowanced on document level (BT-107) is 2. - [BR-DEC-11]-The allowed maximum number of decimals for the Sum of charges on document level (BT-108) is 2. - [BR-DEC-12]-The allowed maximum number of decimals for the Invoice total amount without VAT (BT-109) is 2. - [BR-DEC-14]-The allowed maximum number of decimals for the Invoice total amount with VAT (BT-112) is 2. - [BR-DEC-13]-The allowed maximum number of decimals for the Invoice total VAT amount (BT-110) is 2. - [BR-DEC-15]-The allowed maximum number of decimals for the Invoice total VAT amount in accounting currency (BT-111) is 2. - [BR-DEC-16]-The allowed maximum number of decimals for the Paid amount (BT-113) is 2. - [BR-DEC-17]-The allowed maximum number of decimals for the Rounding amount (BT-114) is 2. - [BR-DEC-18]-The allowed maximum number of decimals for the Amount due for payment (BT-115) is 2. - - - [BR-01]-An Invoice shall have a Specification identifier (BT-24). - [BR-02]-An Invoice shall have an Invoice number (BT-1). - [BR-03]-An Invoice shall have an Invoice issue date (BT-2). - [BR-04]-An Invoice shall have an Invoice type code (BT-3). - [BR-05]-An Invoice shall have an Invoice currency code (BT-5). - [BR-06]-An Invoice shall contain the Seller name (BT-27). - [BR-07]-An Invoice shall contain the Buyer name (BT-44). - [BR-08]-An Invoice shall contain the Seller postal address (BG-5). - [BR-09]-The Seller postal address (BG-5) shall contain a Seller country code (BT-40). - [BR-10]-An Invoice shall contain the Buyer postal address (BG-8). - [BR-11]-The Buyer postal address shall contain a Buyer country code (BT-55). - [BR-16]-An Invoice shall have at least one Invoice line (BG-25). - [BR-62]-The Seller electronic address (BT-34) shall have a Scheme identifier. - [BR-63]-The Buyer electronic address (BT-49) shall have a Scheme identifier. - [BR-CO-15]-Invoice total amount with VAT (BT-112) = Invoice total amount without VAT (BT-109) + Invoice total VAT amount (BT-110). - [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. - [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". - [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". - [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". - [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". - [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". - [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". - [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". - [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". - [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". - [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. - [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”. - - - [BR-21]-Each Invoice line (BG-25) shall have an Invoice line identifier (BT-126). - [BR-22]-Each Invoice line (BG-25) shall have an Invoiced quantity (BT-129). - [BR-23]-An Invoice line (BG-25) shall have an Invoiced quantity unit of measure code (BT-130). - [BR-24]-Each Invoice line (BG-25) shall have an Invoice line net amount (BT-131). - [BR-25]-Each Invoice line (BG-25) shall contain the Item name (BT-153). - [BR-26]-Each Invoice line (BG-25) shall contain the Item net price (BT-146). - [BR-27]-The Item net price (BT-146) shall NOT be negative. - [BR-28]-The Item gross price (BT-148) shall NOT be negative. - [BR-64]-The Item standard identifier (BT-157) shall have a Scheme identifier. - [BR-65]-The Item classification identifier (BT-158) shall have a Scheme identifier. - [BR-CO-04]-Each Invoice line (BG-25) shall be categorized with an Invoiced item VAT category code (BT-151). - [BR-CO-18]-An Invoice shall at least have one VAT breakdown group (BG-23). - [BR-DEC-23]-The allowed maximum number of decimals for the Invoice line net amount (BT-131) is 2. - - - [BR-41]-Each Invoice line allowance (BG-27) shall have an Invoice line allowance amount (BT-136). - [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). - [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. - [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. - [BR-DEC-24]-The allowed maximum number of decimals for the Invoice line allowance amount (BT-136) is 2. - [BR-DEC-25]-The allowed maximum number of decimals for the Invoice line allowance base amount (BT-137) is 2. - - - [BR-43]-Each Invoice line charge (BG-28) shall have an Invoice line charge amount (BT-141). - [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). - [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. - [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. - [BR-DEC-27]-The allowed maximum number of decimals for the Invoice line charge amount (BT-141) is 2. - [BR-DEC-28]-The allowed maximum number of decimals for the Invoice line charge base amount (BT-142) is 2. - - - [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). - [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. - - - [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). - [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. - - - [BR-54]-Each Item attribute (BG-32) shall contain an Item attribute name (BT-160) and an Item attribute value (BT-161). - - - [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). - - - [BR-49]-A Payment instruction (BG-16) shall specify the Payment means type code (BT-81). - [BR-CO-27]- Either the IBAN or a Proprietary ID (BT-84) shall be used. - - - [BR-55]-Each Preceding Invoice reference (BG-3) shall contain a Preceding Invoice reference (BT-25). - - - [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. - - - [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). - [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). - [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). - [BR-56]-Each Seller tax representative party (BG-11) shall have a Seller tax representative VAT identifier (BT-63). - - - [BR-CO-14]-Invoice total VAT amount (BT-110) = Σ VAT category tax amount (BT-117). - - - [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’. - - - [BR-AE-08]-In a VAT breakdown (BG-23) where the VAT category code (BT-118) is "Reverse charge" the VAT category taxable amount (BT-116) shall equal the sum of Invoice line net amounts (BT-131) minus the sum of Document level allowance amounts (BT-92) plus the sum of Document level charge amounts (BT-99) where the VAT category codes (BT-151, BT-95, BT-102) are "Reverse charge". - [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). - [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). - - - [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). - [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). - - - [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). - [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). - - - [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). - [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). - - - [BR-AF-08]-For each different value of VAT category rate (BT-119) where the VAT category code (BT-118) is "IGIC", the VAT category taxable amount (BT-116) in a VAT breakdown (BG-23) shall equal the sum of Invoice line net amounts (BT-131) plus the sum of document level charge amounts (BT-99) minus the sum of document level allowance amounts (BT-92) where the VAT category code (BT-151, BT-102, BT-95) is "IGIC" and the VAT rate (BT-152, BT-103, BT-96) equals the VAT category rate (BT-119). - [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). - [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). - - - [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). - [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). - - - [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). - [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. - - - [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). - [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. - - - [BR-AG-08]-For each different value of VAT category rate (BT-119) where the VAT category code (BT-118) is "IPSI", the VAT category taxable amount (BT-116) in a VAT breakdown (BG-23) shall equal the sum of Invoice line net amounts (BT-131) plus the sum of document level charge amounts (BT-99) minus the sum of document level allowance amounts (BT-92) where the VAT category code (BT-151, BT-102, BT-95) is "IPSI" and the VAT rate (BT-152, BT-103, BT-96) equals the VAT category rate (BT-119). - [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). - [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). - - - [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). - [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. - - - [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). - [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. - - - [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). - [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. - - - [BR-E-08]-In a VAT breakdown (BG-23) where the VAT category code (BT-118) is "Exempt from VAT" the VAT category taxable amount (BT-116) shall equal the sum of Invoice line net amounts (BT-131) minus the sum of Document level allowance amounts (BT-92) plus the sum of Document level charge amounts (BT-99) where the VAT category codes (BT-151, BT-95, BT-102) are "Exempt from VAT". - [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). - [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). - - - [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). - [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). - - - [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). - [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). - - - [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). - [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). - - - [BR-G-08]-In a VAT breakdown (BG-23) where the VAT category code (BT-118) is "Export outside the EU" the VAT category taxable amount (BT-116) shall equal the sum of Invoice line net amounts (BT-131) minus the sum of Document level allowance amounts (BT-92) plus the sum of Document level charge amounts (BT-99) where the VAT category codes (BT-151, BT-95, BT-102) are "Export outside the EU". - [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). - [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). - - - [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). - [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). - - - [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). - [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). - - - [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). - [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). - - - [BR-IC-08]-In a VAT breakdown (BG-23) where the VAT category code (BT-118) is "Intra-community supply" the VAT category taxable amount (BT-116) shall equal the sum of Invoice line net amounts (BT-131) minus the sum of Document level allowance amounts (BT-92) plus the sum of Document level charge amounts (BT-99) where the VAT category codes (BT-151, BT-95, BT-102) are "Intra-community supply". - [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). - [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). - [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. - [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. - - - [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). - [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). - - - [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). - [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). - - - [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). - [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). - - - [BR-O-08]-In a VAT breakdown (BG-23) where the VAT category code (BT-118) is " Not subject to VAT" the VAT category taxable amount (BT-116) shall equal the sum of Invoice line net amounts (BT-131) minus the sum of Document level allowance amounts (BT-92) plus the sum of Document level charge amounts (BT-99) where the VAT category codes (BT-151, BT-95, BT-102) are "Not subject to VAT". - [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). - [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). - [BR-O-11]-An Invoice that contains a VAT breakdown group (BG-23) with a VAT category code (BT-118) "Not subject to VAT" shall not contain other VAT breakdown groups (BG-23). - [BR-O-12]-An Invoice that contains a VAT breakdown group (BG-23) with a VAT category code (BT-118) "Not subject to VAT" shall not contain an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is not "Not subject to VAT". - [BR-O-13]-An Invoice that contains a VAT breakdown group (BG-23) with a VAT category code (BT-118) "Not subject to VAT" shall not contain Document level allowances (BG-20) where Document level allowance VAT category code (BT-95) is not "Not subject to VAT". - [BR-O-14]-An Invoice that contains a VAT breakdown group (BG-23) with a VAT category code (BT-118) "Not subject to VAT" shall not contain Document level charges (BG-21) where Document level charge VAT category code (BT-102) is not "Not subject to VAT". - - - [BR-O-03]-An Invoice that contains a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is "Not subject to VAT" shall not contain the Seller VAT identifier (BT-31), the Seller tax representative VAT identifier (BT-63) or the Buyer VAT identifier (BT-48). - [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). - - - [BR-O-04]-An Invoice that contains a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is "Not subject to VAT" shall not contain the Seller VAT identifier (BT-31), the Seller tax representative VAT identifier (BT-63) or the Buyer VAT identifier (BT-48). - [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). - - - [BR-O-02]-An Invoice that contains an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is "Not subject to VAT" shall not contain the Seller VAT identifier (BT-31), the Seller tax representative VAT identifier (BT-63) or the Buyer VAT identifier (BT-48). - [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). - - - [BR-S-08]-For each different value of VAT category rate (BT-119) where the VAT category code (BT-118) is "Standard rated", the VAT category taxable amount (BT-116) in a VAT breakdown (BG-23) shall equal the sum of Invoice line net amounts (BT-131) plus the sum of document level charge amounts (BT-99) minus the sum of document level allowance amounts (BT-92) where the VAT category code (BT-151, BT-102, BT-95) is "Standard rated" and the VAT rate (BT-152, BT-103, BT-96) equals the VAT category rate (BT-119). - [BR-S-09]-The VAT category tax amount (BT-117) in a VAT breakdown (BG-23) where VAT category code (BT-118) is "Standard rated" shall equal the VAT category taxable amount (BT-116) multiplied by the VAT category rate (BT-119). - [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). - - - [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). - [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. - - - [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). - [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. - - - [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). - [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. - - - [BR-Z-08]-In a VAT breakdown (BG-23) where VAT category code (BT-118) is "Zero rated" the VAT category taxable amount (BT-116) shall equal the sum of Invoice line net amount (BT-131) minus the sum of Document level allowance amounts (BT-92) plus the sum of Document level charge amounts (BT-99) where the VAT category codes (BT-151, BT-95, BT-102) are "Zero rated". - [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). - [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). - - - [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). - [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). - - - [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). - [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). - - - [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). - [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). - - - [BR-45]-Each VAT breakdown (BG-23) shall have a VAT category taxable amount (BT-116). - [BR-46]-Each VAT breakdown (BG-23) shall have a VAT category tax amount (BT-117). - [BR-47]-Each VAT breakdown (BG-23) shall be defined through a VAT category code (BT-118). - [BR-48]-Each VAT breakdown (BG-23) shall have a VAT category rate (BT-119), except if the Invoice is not subject to VAT. - [BR-CO-03]-Value added tax point date (BT-7) and Value added tax point date code (BT-8) are mutually exclusive. - [BR-CO-17]-VAT category tax amount (BT-117) = VAT category taxable amount (BT-116) x (VAT category rate (BT-119) / 100), rounded to two decimals. - [BR-DEC-19]-The allowed maximum number of decimals for the VAT category taxable amount (BT-116) is 2. - [BR-DEC-20]-The allowed maximum number of decimals for the VAT category tax amount (BT-117) is 2. - - - - - [CII-SR-001] - SpecifiedTransactionID should not be present - [CII-SR-002] - TestIndicator should not be present - [CII-SR-003] - BusinessProcessSpecifiedDocumentContextParameter should exist maximum once - [CII-SR-006] - BIMSpecifiedDocumentContextParameter should not be present - [CII-SR-007] - ScenarioSpecifiedDocumentContextParameter should not be present - [CII-SR-008] - ApplicationSpecifiedDocumentContextParameter should not be present - [CII-SR-009] - GuidelineSpecifiedDocumentContextParameter must exist exactly once - [CII-SR-010] - ID must exist exactly once - [CII-SR-011] - SubsetSpecifiedDocumentContextParameter should not be present - [CII-SR-012] - MessageStandardSpecifiedDocumentContextParameter should not be present - - - [CII-SR-013] - Name should not be present - [CII-SR-014] - TypeCode must exist exactly once - [CII-SR-015] - DateTime should not be present - [CII-SR-016] - CopyIndicator should not be present - [CII-SR-017] - Purpose should not be present - [CII-SR-018] - ControlRequirementIndicator should not be present - [CII-SR-019] - LanguageID should not be present - [CII-SR-020] - PurposeCode should not be present - [CII-SR-021] - RevisionDateTime should not be present - [CII-SR-022] - VersionID should not be present - [CII-SR-023] - GlobalID should not be present - [CII-SR-024] - RevisionID should not be present - [CII-SR-025] - PreviousRevisionID should not be present - [CII-SR-026] - CategoryCode should not be present - [CII-SR-027] - Subject should not be present - [CII-SR-028] - ContentCode should not be present - [CII-SR-032] - ID should not be present - [CII-SR-033] - EffectiveSpecifiedPeriod should not be present - [CII-SR-034] - IssuerTradeParty should not be present - - - [CII-SR-030] - Content should exist maximum once - - - [CII-SR-035] - DescriptionCode should not be present - [CII-SR-036] - ParentLineID should not be present - [CII-SR-037] - LineStatusCode should not be present - [CII-SR-038] - LineStatusReasonCode should not be present - [CII-SR-221] - IncludedSubordinateTradeLineItem should not be present - - - [CII-SR-039] - IncludedNote should exist maximum once - [CII-SR-040] - Content should exist maximum once - [CII-SR-041] - SubjectCode should not be present - [CII-SR-042] - ID should not be present - [CII-SR-043] - CategoryCode should not be present - [CII-SR-044] - Subject should not be present - - - [CII-SR-045] - ID should not be present - [CII-SR-046] - schemeID must be present if GlobalID is present - [CII-SR-048] - ManufacturerAssignedID should not be present - [CII-SR-049] - TradeName should not be present - [CII-SR-050] - TypeCode should not be present - [CII-SR-051] - NetWeightMeasure should not be present - [CII-SR-052] - GrossWeightMeasure should not be present - [CII-SR-053] - ProductGroupID should not be present - [CII-SR-054] - EndItemTypeCode should not be present - [CII-SR-055] - EndItemName should not be present - [CII-SR-056] - AreaDensityMeasure should not be present - [CII-SR-057] - UseDescription should not be present - [CII-SR-058] - BrandName should not be present - [CII-SR-059] - SubBrandName should not be present - [CII-SR-060] - DrainedNetWeightMeasure should not be present - [CII-SR-061] - VariableMeasureIndicator should not be present - [CII-SR-062] - ColourCode should not be present - [CII-SR-063] - ColourDescription should not be present - [CII-SR-064] - Designation should not be present - [CII-SR-065] - FormattedCancellationAnnouncedLaunchDateTime should not be present - [CII-SR-066] - FormattedLatestProductDataChangeDateTime should not be present - [CII-SR-067] - ID should not be present - [CII-SR-068] - TypeCode should not be present - [CII-SR-070] - ValueMeasure should not be present - [CII-SR-071] - MeasurementMethodCode should not be present - [CII-SR-073] - ValueCode should not be present - [CII-SR-074] - ValueDateTime should not be present - [CII-SR-075] - ValueIndicator should not be present - [CII-SR-076] - ContentTypeCode should not be present - [CII-SR-077] - ValueSpecifiedBinaryFile should not be present - [CII-SR-078] - ApplicableProductCharacteristicCondition should not be present - [CII-SR-079] - ApplicableReferencedStandard should not be present - [CII-SR-080] - ApplicableMaterialGoodsCharacteristic should not be present - [CII-SR-081] - SystemID should not be present - [CII-SR-082] - SystemName should not be present - [CII-SR-083] - ClassName should not be present - [CII-SR-084] - SubClassCode should not be present - [CII-SR-085] - ClassProductCharacteristic should not be present - [CII-SR-086] - ApplicableReferencedStandard should not be present - [CII-SR-087] - IndividualTradeProductInstance should not be present - [CII-SR-088] - CertificationEvidenceReferenceReferencedDocument should not be present - [CII-SR-089] - InspectionReferenceReferencedDocument should not be present - [CII-SR-090] - ID should exist maximum once. - [CII-SR-091] - Name should not be present - [CII-SR-092] - SubordinateTradeCountrySubDivision should not be present - [CII-SR-093] - LinearSpatialDimension should not be present - [CII-SR-094] - MinimumLinearSpatialDimension should not be present - [CII-SR-095] - MaximumLinearSpatialDimension should not be present - [CII-SR-096] - ManufacturerTradeParty should not be present - [CII-SR-097] - PresentationSpecifiedBinaryFile should not be present - [CII-SR-098] - MSDSReferenceReferencedDocument should not be present - [CII-SR-099] - AdditionalReferenceReferencedDocument should not be present - [CII-SR-100] - LegalRightsOwnerTradeParty should not be present - [CII-SR-101] - BrandOwnerTradeParty should not be present - [CII-SR-102] - IncludedReferencedProduct should not be present - [CII-SR-103] - InformationNote should not be present - - - [CII-SR-069] - Description should exist maximum once. - [CII-SR-072] - Value should exist maximum once. - - - [CII-SR-104] - BuyerReference should not be present - [CII-SR-105] - BuyerRequisitionerTradeParty should not be present - [CII-SR-106] - ApplicableTradeDeliveryTerms should not be present - [CII-SR-107] - SellerOrderReferencedDocument should not be present - [CII-SR-108] - IssuerAssignedID should not be present - [CII-SR-109] - QuotationReferencedDocument should not be present - [CII-SR-110] - ContractReferencedDocument should not be present - [CII-SR-111] - DemandForecastReferencedDocument should not be present - [CII-SR-112] - PromotionalDealReferencedDocument should not be present - [CII-SR-113] - AdditionalReferencedDocument should not be present - [CII-SR-114] - TypeCode should not be present - [CII-SR-115] - MinimumQuantity should not be present - [CII-SR-116] - MaximumQuantity should not be present - [CII-SR-117] - ChangeReason should not be present - [CII-SR-118] - OrderUnitConversionFactorNumeric should not be present - [CII-SR-439] - ChargeAmount should exist maximum once - [CII-SR-119] - Only allowances on price a price should be present - [CII-SR-120] - ID should not be present - [CII-SR-121] - SequenceNumeric should not be present - [CII-SR-122] - CalculationPercent should not be present - [CII-SR-123] - BasisAmount should not be present - [CII-SR-124] - BasisQuantityshould not be present - [CII-SR-125] - PrepaidIndicator should not be present - [CII-SR-126] - UnitBasisAmount should not be present - [CII-SR-127] - ReasonCode should not be present - [CII-SR-128] - Reason should not be present - [CII-SR-129] - TypeCode should not be present - [CII-SR-130] - CategoryTradeTax should not be present - [CII-SR-131] - ActualTradeCurrencyExchange should not be present - [CII-SR-440] - ActualAmount should exist maximum once - [CII-SR-445] - IncludedTradeTax should not be present - [CII-SR-132] - ValiditySpecifiedPeriod should not be present - [CII-SR-133] - DeliveryTradeLocation should not be present - [CII-SR-134] - TradeComparisonReferencePrice should not be present - [CII-SR-135] - AssociatedReferencedDocument should not be present - [CII-SR-136] - TypeCode should not be present - [CII-SR-138] - MinimumQuantity should not be present - [CII-SR-139] - MaximumQuantity should not be present - [CII-SR-140] - ChangeReason should not be present - [CII-SR-141] - OrderUnitConversionFactorNumeric should not be present - [CII-SR-142] - AppliedTradeAllowanceCharge should not be present - [CII-SR-446] - IncludedTradeTax should not be present - [CII-SR-143] - ValiditySpecifiedPeriod should not be present - [CII-SR-144] - DeliveryTradeLocation should not be present - [CII-SR-145] - TradeComparisonReferencePrice should not be present - [CII-SR-146] - AssociatedReferencedDocument should not be present - [CII-SR-441] - ChargeAmount should exist maximum once - [CII-SR-147] - RequisitionerReferencedDocument should not be present - [CII-SR-148] - ItemSellerTradeParty should not be present - [CII-SR-149] - ItemBuyerTradeParty should not be present - [CII-SR-150] - IncludedSpecifiedMarketplace should not be present - [CII-SR-447] - UltimateCustomerOrderReferencedDocument should not be present - - - [CII-SR-151] - RequestedQuantity should not be present - [CII-SR-152] - ReceivedQuantity should not be present - [CII-SR-153] - ChargeFreeQuantity should not be present - [CII-SR-154] - PackageQuantity should not be present - [CII-SR-155] - ProductUnitQuantity should not be present - [CII-SR-156] - PerPackageUnitQuantity should not be present - [CII-SR-157] - NetWeightMeasure should not be present - [CII-SR-158] - GrossWeightMeasure should not be present - [CII-SR-159] - TheoreticalWeightMeasure should not be present - [CII-SR-160] - DespatchedQuantity should not be present - [CII-SR-161] - SpecifiedDeliveryAdjustment should not be present - [CII-SR-162] - IncludedSupplyChainPackaging should not be present - [CII-SR-163] - RelatedSupplyChainConsignment should not be present - [CII-SR-164] - ShipToTradeParty should not be present - [CII-SR-165] - UltimateShipToTradeParty should not be present - [CII-SR-166] - ShipFromTradeParty should not be present - [CII-SR-167] - ActualDespatchSupplyChainEvent should not be present - [CII-SR-168] - ActualPickUpSupplyChainEvent should not be present - [CII-SR-169] - RequestedDeliverySupplyChainEvent should not be present - [CII-SR-170] - ActualDeliverySupplyChainEvent should not be present - [CII-SR-171] - ActualReceiptSupplyChainEvent should not be present - [CII-SR-172] - AdditionalReferencedDocument should not be present - [CII-SR-173] - DespatchAdviceReferencedDocument should not be present - [CII-SR-174] - ReceivingAdviceReferencedDocument should not be present - [CII-SR-175] - DeliveryNoteReferencedDocument should not be present - [CII-SR-176] - ConsumptionReportReferencedDocument should not be present - [CII-SR-177] - RequestedQuantity should not be present - - - [CII-SR-178] - PaymentReference should not be present - [CII-SR-179] - InvoiceIssuerReference should not be present - [CII-SR-180] - TotalAdjustmentAmount should not be present - [CII-SR-181] - DiscountIndicator should not be present - [CII-SR-182] - CalculatedAmount should not be present - [CII-SR-183] - IndicatorString should not be present - [CII-SR-184] - ID should not be present - [CII-SR-185] - SequenceNumeric should not be present - [CII-SR-186] - @format should not be present - [CII-SR-187] - BasisQuantity should not be present - [CII-SR-188] - PrepaidIndicator should not be present - [CII-SR-189] - UnitBasisAmount should not be present - [CII-SR-190] - TypeCode should not be present - [CII-SR-191] - CategoryTradeTax should not be present - [CII-SR-192] - ActualTradeCurrencyExchange should not be present - [CII-SR-193] - ID should not be present - [CII-SR-194] - SubtotalCalculatedTradeTax should not be present - [CII-SR-195] - SpecifiedLogisticsServiceCharge should not be present - [CII-SR-196] - SpecifiedTradePaymentTerms should not be present - [CII-SR-197] - ChargeTotalAmount should not be present - [CII-SR-198] - AllowanceTotalAmount should not be present - [CII-SR-199] - TaxBasisTotalAmount should not be present - [CII-SR-200] - TaxTotalAmount should not be present - [CII-SR-201] - GrandTotalAmount should not be present - [CII-SR-202] - InformationAmount should not be present - [CII-SR-203] - TotalAllowanceChargeAmount should not be present - [CII-SR-204] - TotalRetailValueInformationAmount should not be present - [CII-SR-205] - GrossLineTotalAmount should not be present - [CII-SR-206] - NetLineTotalAmount should not be present - [CII-SR-207] - NetIncludingTaxesLineTotalAmount should not be present - [CII-SR-208] - ProductWeightLossInformationAmount should not be present - [CII-SR-209] - SpecifiedFinancialAdjustment should not be present - [CII-SR-210] - InvoiceReferencedDocument should not be present - [CII-SR-212] - PayableSpecifiedTradeAccountingAccount should not be present - [CII-SR-213] - SetTriggerCode should not be present - [CII-SR-214] - TypeCode should not be present - [CII-SR-215] - AmountTypeCode should not be present - [CII-SR-216] - Name should not be present - [CII-SR-217] - CostReferenceDimensionPattern should not be present - [CII-SR-218] - PurchaseSpecifiedTradeAccountingAccount should not be present - [CII-SR-219] - SalesSpecifiedTradeAccountingAccount should not be present - [CII-SR-220] - SpecifiedTradeSettlementFinancialCard should not be present - - - [CII-SR-442] - Reference should not be present - [CII-SR-222] - RoleCode should not be present - [CII-SR-223] - LegalClassificationCode should not be present - [CII-SR-224] - Name should not be present - [CII-SR-225] - PostalTradeAddress should not be present - [CII-SR-226] - RoleCode should not be present - [CII-SR-227] - ID should not be present - [CII-SR-228] - TypeCode should not be present - [CII-SR-229] - JobTitle should not be present - [CII-SR-230] - Responsibility should not be present - [CII-SR-231] - PersonID should not be present - [CII-SR-232] - URIID should not be present - [CII-SR-233] - ChannelCode should not be present - [CII-SR-234] - DirectTelephoneUniversalCommunication should not be present - [CII-SR-235] - MobileTelephoneUniversalCommunication should not be present - [CII-SR-236] - FaxUniversalCommunication should not be present - [CII-SR-237] - ChannelCode should not be present - [CII-SR-238] - CompleteNumber should not be present - [CII-SR-239] - TelexUniversalCommunication should not be present - [CII-SR-240] - VOIPUniversalCommunication should not be present - [CII-SR-241] - InstantMessagingUniversalCommunication should not be present - [CII-SR-242] - SpecifiedNote should not be present - [CII-SR-243] - SpecifiedContactPerson should not be present - [CII-SR-244] - ChannelCode should not be present - [CII-SR-245] - CompleteNumber should not be present - [CII-SR-246] - AssociatedRegisteredTax should not be present - [CII-SR-247] - EndPointURIUniversalCommunication should not be present - [CII-SR-248] - LogoAssociatedSpecifiedBinaryFile should not be present - [CII-SR-249] - RoleCode should not be present - [CII-SR-250] - Description should not be present - [CII-SR-251] - LegalClassificationCode should not be present - [CII-SR-252] - Name should not be present - [CII-SR-254] - PostalTradeAddress should not be present - [CII-SR-255] - AuthorizedLegalRegistration should not be present - [CII-SR-256] - ID should not be present - [CII-SR-257] - TypeCode should not be present - [CII-SR-258] - JobTitle should not be present - [CII-SR-259] - Responsibility should not be present - [CII-SR-260] - PersonID should not be present - [CII-SR-261] - URIID should not be present - [CII-SR-262] - ChannelCode should not be present - [CII-SR-263] - DirectTelephoneUniversalCommunication should not be present - [CII-SR-264] - MobileTelephoneUniversalCommunication should not be present - [CII-SR-265] - FaxUniversalCommunication should not be present - [CII-SR-266] - ChannelCode should not be present - [CII-SR-267] - CompleteNumber should not be present - [CII-SR-268] - TelexUniversalCommunication should not be present - [CII-SR-269] - VOIPUniversalCommunication should not be present - [CII-SR-270] - InstantMessagingUniversalCommunication should not be present - [CII-SR-271] - SpecifiedNote should not be present - [CII-SR-272] - SpecifiedContactPerson should not be present - [CII-SR-273] - ChannelCode should not be present - [CII-SR-274] - CompleteNumber should not be present - [CII-SR-275] - AssociatedRegisteredTax should not be present - [CII-SR-276] - EndPointURIUniversalCommunication should not be present - [CII-SR-277] - LogoAssociatedSpecifiedBinaryFile should not be present - [CII-SR-278] - SalesAgentTradeParty should not be present - [CII-SR-279] - BuyerRequisitionerTradeParty should not be present - [CII-SR-280] - BuyerAssignedAccountantTradeParty should not be present - [CII-SR-281] - SellerAssignedAccountantTradeParty should not be present - [CII-SR-282] - BuyerTaxRepresentativeTradeParty should not be present - [CII-SR-283] - GlobalID should not be present - [CII-SR-284] - RoleCode should not be present - [CII-SR-285] - Description should not be present - [CII-SR-286] - SpecifiedLegalOrganization should not be present - [CII-SR-287] - DefinedTradeContact should not be present - [CII-SR-288] - URIUniversalCommunication should not be present - [CII-SR-289] - AssociatedRegisteredTax should not be present - [CII-SR-290] - EndPointURIUniversalCommunication should not be present - [CII-SR-291] - LogoAssociatedSpecifiedBinaryFile should not be present - [CII-SR-292] - ProductEndUserTradeParty should not be present - [CII-SR-293] - ApplicableTradeDeliveryTerms should not be present - [CII-SR-294] - LineID should not be present - [CII-SR-295] - LineID should not be present - [CII-SR-296] - QuotationReferencedDocument should not be present - [CII-SR-297] - OrderResponseReferencedDocument should not be present - [CII-SR-298] - LineID should not be present - [CII-SR-299] - DemandForecastReferencedDocument should not be present - [CII-SR-300] - SupplyInstructionReferencedDocument should not be present - [CII-SR-301] - PromotionalDealReferencedDocument should not be present - [CII-SR-302] - PriceListReferencedDocument should not be present - [CII-SR-303] - LineID should not be present - [CII-SR-304] - RequisitionerReferencedDocument should not be present - [CII-SR-305] - BuyerAgentTradeParty should not be present - [CII-SR-306] - PurchaseConditionsReferencedDocument should not be present - [CII-SR-307] - Description should not be present - [CII-SR-448] - UltimateCustomerOrderReferencedDocument should not be present - [CII-SR-450] - Only one buyer identifier should be present (either the ID or the Global ID) - - - [CII-SR-308] - RelatedSupplyChainConsignment should not be present - [CII-SR-309] - RoleCode should not be present - [CII-SR-310] - Description should not be present - [CII-SR-311] - SpecifiedLegalOrganization should not be present - [CII-SR-312] - DefinedTradeContact should not be present - [CII-SR-313] - URIUniversalCommunication should not be present - [CII-SR-314] - SpecifiedTaxRegistration should not be present - [CII-SR-315] - EndPointURIUniversalCommunication should not be present - [CII-SR-316] - LogoAssociatedSpecifiedBinaryFile should not be present - [CII-SR-317] - UltimateShipToTradeParty should not be present - [CII-SR-318] - ShipFromTradeParty should not be present - [CII-SR-319] - ActualDespatchSupplyChainEvent should not be present - [CII-SR-320] - ActualPickUpSupplyChainEvent should not be present - [CII-SR-321] - ID should not be present - [CII-SR-322] - DateTime should not be present - [CII-SR-323] - TypeCode should not be present - [CII-SR-324] - Description should not be present - [CII-SR-325] - DescriptionBinaryObject should not be present - [CII-SR-326] - UnitQuantity should not be present - [CII-SR-327] - LatestOccurrenceDateTime should not be present - [CII-SR-328] - EarliestOccurrenceDateTime should not be present - [CII-SR-329] - OccurrenceSpecifiedPeriod should not be present - [CII-SR-330] - OccurrenceLogisticsLocation should not be present - [CII-SR-331] - ActualReceiptSupplyChainEvent should not be present - [CII-SR-332] - AdditionalReferencedDocument should not be present - [CII-SR-333] - LineID should not be present - [CII-SR-334] - LineID should not be present - [CII-SR-335] - DeliveryNoteReferencedDocument should not be present - [CII-SR-336] - ConsumptionReportReferencedDocument should not be present - [CII-SR-337] - PreviousDeliverySupplyChainEvent should not be present - [CII-SR-338] - PackingListReferencedDocument should not be present - [CII-SR-449] - Only one delivery to location identifier should be present (either the ID or the Global ID) - - - [CII-SR-339] - DuePayableAmount should not be present - [CII-SR-340] - CreditorReferenceTypeCode should not be present - [CII-SR-341] - CreditorReferenceType should not be present - [CII-SR-342] - CreditorReferenceIssuerID should not be present - [CII-SR-344] - PaymentCurrencyCode should not be present - [CII-SR-345] - InvoiceIssuerReference should not be present - [CII-SR-346] - InvoiceDateTime should not be present - [CII-SR-347] - NextInvoiceDateTime should not be present - [CII-SR-348] - CreditReasonCode should not be present - [CII-SR-349] - CreditReason should not be present - [CII-SR-350] - InvoicerTradeParty should not be present - [CII-SR-351] - InvoiceeTradeParty should not be present - [CII-SR-352] - RoleCode should not be present - [CII-SR-353] - Description should not be present - [CII-SR-354] - LegalClassificationCode should not be present - [CII-SR-355] - Name should not be present - [CII-SR-356] - TradingBusinessName should not be present - [CII-SR-357] - PostalTradeAddress should not be present - [CII-SR-358] - AuthorizedLegalRegistration should not be present - [CII-SR-359] - DefinedTradeContact should not be present - [CII-SR-360] - PostalTradeAddress should not be present - [CII-SR-361] - URIUniversalCommunication should not be present - [CII-SR-362] - SpecifiedTaxRegistration should not be present - [CII-SR-363] - EndPointURIUniversalCommunication should not be present - [CII-SR-364] - LogoAssociatedSpecifiedBinaryFile should not be present - [CII-SR-451] - Only one payee identifier should be present (either the ID or the Global ID) - [CII-SR-365] - PayerTradeParty should not be present - [CII-SR-366] - TaxApplicableTradeCurrencyExchange should not be present - [CII-SR-367] - InvoiceApplicableTradeCurrencyExchange should not be present - [CII-SR-368] - PaymentApplicableTradeCurrencyExchange should not be present - [CII-SR-369] - PaymentChannelCode should not be present - [CII-SR-370] - GuaranteeMethodCode should not be present - [CII-SR-371] - PaymentMethodCode should not be present - [CII-SR-443] - ID should not be present - [CII-SR-372] - MicrochipIndicator should not be present - [CII-SR-373] - TypeCode should not be present - [CII-SR-375] - ExpiryDate should not be present - [CII-SR-376] - VerificationNumeric should not be present - [CII-SR-377] - ValidFromDateTime should not be present - [CII-SR-378] - CreditLimitAmount should not be present - [CII-SR-379] - CreditAvailableAmount should not be present - [CII-SR-380] - InterestRatePercent should not be present - [CII-SR-381] - Description should not be present - [CII-SR-382] - AccountName should not be present - [CII-SR-444] - ProprietaryID should not be present - [CII-SR-384] - ClearingSystemName should not be present - [CII-SR-385] - Name should not be present - [CII-SR-386] - LocationFinancialInstitutionAddress should not be present - [CII-SR-388] - ID should not be present - [CII-SR-389] - SequenceNumeric should not be present - [CII-SR-390] - BasisQuantity should not be present - [CII-SR-391] - PrepaidIndicator should not be present - [CII-SR-392] - UnitBasisAmount should not be present - [CII-SR-393] - TypeCode should not be present - [CII-SR-394] - ActualTradeCurrencyExchange should not be present - [CII-SR-395] - SubtotalCalculatedTradeTax should not be present - [CII-SR-396] - SpecifiedLogisticsServiceCharge should not be present - [CII-SR-397] - ID should not be present - [CII-SR-398] - FromEventCode should not be present - [CII-SR-399] - SettlementPeriodMeasure should not be present - [CII-SR-400] - DateTime should not be present - [CII-SR-401] - TypeCode should not be present - [CII-SR-402] - InstructionTypeCode should not be present - [CII-SR-404] - PartialPaymentPercent should not be present - [CII-SR-405] - PaymentMeansID should not be present - [CII-SR-406] - PartialPaymentAmount should not be present - [CII-SR-407] - ApplicableTradePaymentPenaltyTerms should not be present - [CII-SR-408] - ApplicableTradePaymentDiscountTerms should not be present - [CII-SR-409] - PayeeTradeParty should not be present - [CII-SR-421] - SpecifiedFinancialAdjustment should not be present - [CII-SR-422] - LineID should not be present - [CII-SR-423] - ProFormaInvoiceReferencedDocument should not be present - [CII-SR-424] - LetterOfCreditReferencedDocument should not be present - [CII-SR-425] - FactoringAgreementReferencedDocument should not be present - [CII-SR-426] - FactoringListReferencedDocument should not be present - [CII-SR-427] - PayableSpecifiedTradeAccountingAccount should not be present - [CII-SR-428] - SetTriggerCode should not be present - [CII-SR-429] - TypeCode should not be present - [CII-SR-430] - AmountTypeCode should not be present - [CII-SR-431] - Name should not be present - [CII-SR-432] - CostReferenceDimensionPattern should not be present - [CII-SR-433] - PurchaseSpecifiedTradeAccountingAccount should not be present - [CII-SR-434] - SalesSpecifiedTradeAccountingAccount should not be present - [CII-SR-435] - SpecifiedTradeSettlementFinancialCard should not be present - [CII-SR-436] - SpecifiedAdvancePayment should not be present - [CII-SR-437] - UltimatePayeeTradeParty should not be present - - - [CII-SR-411] - InformationAmount should not be present - [CII-SR-412] - TotalDiscountAmount should not be present - [CII-SR-413] - TotalAllowanceChargeAmount should not be present - [CII-SR-414] - RetailValueExcludingTaxInformationAmount should not be present - [CII-SR-415] - TotalDepositFeeInformationAmount should not be present - [CII-SR-416] - ProductValueExcludingTobaccoTaxInformationAmount should not be present - [CII-SR-417] - TotalRetailValueInformationAmount should not be present - [CII-SR-418] - GrossLineTotalAmount should not be present - [CII-SR-419] - NetLineTotalAmount should not be present - [CII-SR-420] - NetIncludingTaxesLineTotalAmount should not be present - - - [CII-DT-013] - languageID should not be present - [CII-DT-014] - languageLocaleID should not be present - [CII-SR-438] - ValuationBreakdownStatement should not be present - - - [CII-SR-004] - Value should not be present - [CII-SR-005] - SpecifiedDocumentVersion should not be present - - - [CII-DT-001] - schemeName should not be present - [CII-DT-002] - schemeAgencyName should not be present - [CII-DT-003] - schemeDataURI should not be present - [CII-DT-004] - schemeURI should not be present - - - [CII-DT-005] - schemeID should not be present - [CII-DT-006] - schemeAgencyID should not be present - [CII-DT-007] - schemeVersionID should not be present - - - [CII-DT-008] - name should not be present - [CII-DT-009] - listURI should not be present - - - [CII-DT-010] - listID should not be present - [CII-DT-011] - listAgencyID should not be present - [CII-DT-012] - listVersionID should not be present - - - [CII-DT-045] - @listID should not be present - [CII-DT-046] - @listAgencyID should not be present - [CII-DT-047] - @listVersionID should not be present - [CII-DT-048] - @listURI should not be present - - - [CII-DT-015] - URIID should not be present - [CII-DT-016] - StatusCode should not be present - [CII-DT-017] - CopyIndicator should not be present - [CII-DT-018] - TypeCode should not be present - [CII-DT-019] - GlobalID should not be present - [CII-DT-020] - RevisionID should not be present - [CII-DT-021] - Name should not be present - [CII-DT-022] - AttachmentBinaryObject should not be present - [CII-DT-023] - Information should not be present - [CII-DT-024] - ReferenceTypeCode should not be present - [CII-DT-025] - SectionName should not be present - [CII-DT-026] - PreviousRevisionID should not be present - [CII-DT-027] - FormattedIssueDateTime should not be present - [CII-DT-028] - EffectiveSpecifiedPeriod should not be present - [CII-DT-029] - IssuerTradeParty should not be present - [CII-DT-030] - AttachedSpecifiedBinaryFile should not be present - - - [CII-DT-031] - currencyID should not be present - [CII-DT-032] - currencyCodeListVersionID should not be present - - - [CII-DT-033] - unitCode should not be present - [CII-DT-034] - unitCodeListID should not be present - [CII-DT-035] - unitCodeListAgencyID should not be present - [CII-DT-036] - unitCodeListAgencyName should not be present - - - [CII-DT-037] - TypeCode shall be 'VAT' - [CII-DT-038] - CalculatedRate should not be present - [CII-DT-039] - CalculationSequenceNumeric should not be present - [CII-DT-040] - BasisQuantity should not be present - [CII-DT-041] - BasisAmount should not be present - [CII-DT-042] - UnitBasisAmount should not be present - [CII-DT-043] - LineTotalBasisAmount should not be present - [CII-DT-044] - AllowanceChargeBasisAmount should not be present - [CII-DT-049] - CurrencyCode should not be present - [CII-DT-050] - Jurisdiction should not be present - [CII-DT-051] - CustomsDutyIndicator should not be present - [CII-DT-052] - ExemptionReasonCode should not be present - [CII-DT-098] - ExemptionReason should not be present - [CII-DT-053] - TaxBasisAllowanceRate should not be present - [CII-DT-054] - TaxPointDate should not be present - [CII-DT-055] - Type should not be present - [CII-DT-056] - InformationAmount should not be present - [CII-DT-057] - CategoryName should not be present - [CII-DT-058] - DueDateTypeCode should not be present - [CII-DT-059] - @format should not be present - [CII-DT-060] - SpecifiedTradeAccountingAccount should not be present - [CII-DT-061] - ServiceSupplyTradeCountry should not be present - [CII-DT-062] - BuyerRepayableTaxSpecifiedTradeAccountingAccount should not be present - [CII-DT-063] - SellerPayableTaxSpecifiedTradeAccountingAccount should not be present - [CII-DT-064] - SellerRefundableTaxSpecifiedTradeAccountingAccount should not be present - [CII-DT-065] - BuyerDeductibleTaxSpecifiedTradeAccountingAccount should not be present - [CII-DT-066] - BuyerNonDeductibleTaxSpecifiedTradeAccountingAccount should not be present - [CII-DT-067] - PlaceApplicableTradeLocation should not be present - - - [CII-DT-068] - DateTime shall not be used. - [CII-DT-069] - DurationMeasure shall not be used. - [CII-DT-070] - InclusiveIndicator shall not be used. - [CII-DT-071] - Description shall not be used. - [CII-DT-072] - DateTime shall not be used. - [CII-DT-073] - CompleteDateTime shall not be used. - [CII-DT-074] - OpenIndicator shall not be used. - [CII-DT-075] - SeasonCode shall not be used. - [CII-DT-076] - ID shall not be used. - [CII-DT-077] - Name shall not be used. - [CII-DT-078] - SequenceNumeric shall not be used. - [CII-DT-079] - StartDateFlexibilityCode shall not be used. - [CII-DT-080] - ContinuousIndicator shall not be used. - [CII-DT-081] - PurposeCode shall not be used. - - - [CII-DT-082] - ID shall not be used. - [CII-DT-083] - PostOfficeBox shall not be used. - [CII-DT-084] - BuildingName shall not be used. - [CII-DT-086] - LineFour shall not be used. - [CII-DT-087] - LineFive shall not be used. - [CII-DT-088] - StreetName shall not be used. - [CII-DT-089] - CitySubDivisionName shall not be used. - [CII-DT-090] - CountryName shall not be used. - [CII-DT-091] - CountrySubDivisionID shall not be used. - [CII-DT-092] - AttentionOf shall not be used. - [CII-DT-093] - CareOf shall not be used. - [CII-DT-094] - BuildingNumber shall not be used. - [CII-DT-095] - DepartmentName shall not be used. - [CII-DT-096] - AdditionalStreetName shall not be used. - - - [CII-DT-097] - Date time string with format attribute 102 shall be YYYYMMDD. - - - - - [BR-CL-01]-The document type code MUST be coded by the invoice and credit note related code lists of UNTDID 1001. - - - [BR-CL-03]-currencyID MUST be coded using ISO code list 4217 alpha-3 - - - [BR-CL-04]-Invoice currency code MUST be coded using ISO code list 4217 alpha-3 - - - [BR-CL-05]-Tax currency code MUST be coded using ISO code list 4217 alpha-3 - - - [BR-CL-06]-Value added tax point date code MUST be coded using a restriction of UNTDID 2475. - - - [BR-CL-07]-Object identifier identification scheme identifier MUST be coded using a restriction of UNTDID 1153. - - - [BR-CL-08]-Subject Code MUST be coded using a restriction of UNTDID 4451. - - - [BR-CL-10]-Any identifier identification scheme identifier MUST be coded using one of the ISO 6523 ICD list. - - - [BR-CL-11]-Any registration identifier identification scheme identifier MUST be coded using one of the ISO 6523 ICD list. - - - [BR-CL-13]-Item classification identifier identification scheme identifier MUST be coded using one of the UNTDID 7143 list. - - - [BR-CL-14]-Country codes in an invoice MUST be coded using ISO code list 3166-1 - - - [BR-CL-15]-Country codes in an invoice MUST be coded using ISO code list 3166-1 - - - [BR-CL-16]-Payment means in an invoice MUST be coded using UNTDID 4461 code list - - - [BR-CL-17]-Invoice tax categories MUST be coded using UNCL 5305 code list - - - [BR-CL-18]-Invoice tax categories MUST be coded using UNCL 5305 code list - - - [BR-CL-19]-Coded allowance reasons MUST belong to the UNCL 5189 code list - - - [BR-CL-20]-Coded charge reasons MUST belong to the UNCL 7161 code list - - - [BR-CL-21]-Item standard identifier scheme identifier MUST belong to the ISO 6523 ICD - code list - - - [BR-CL-22]-Tax exemption reason code identifier scheme identifier MUST belong to the CEF VATEX code list - - - [BR-CL-23]-Unit code MUST be coded according to the UN/ECE Recommendation 20 with Rec 21 extension - - - [BR-CL-24]-For Mime code in attribute use MIMEMediaType. - - - [BR-CL-25]-Endpoint identifier scheme identifier MUST belong to the CEF EAS code list - - - [BR-CL-26]-Delivery location identifier scheme identifier MUST belong to the ISO 6523 ICD - code list - - - diff --git a/schematron/si-ubl-2.0/CenPC434/UBL/EN16931-UBL-model.sch b/schematron/si-ubl-2.0/CenPC434/UBL/EN16931-UBL-model.sch index 07590b2..7811488 100644 --- a/schematron/si-ubl-2.0/CenPC434/UBL/EN16931-UBL-model.sch +++ b/schematron/si-ubl-2.0/CenPC434/UBL/EN16931-UBL-model.sch @@ -5,31 +5,31 @@ --> - - - - - - - + + + + + + + - + - + - + - - + + - + @@ -50,9 +50,9 @@ - + - + diff --git a/xsl/nlcius-cii-1.0.xsl b/xsl/nlcius-cii-1.0.xsl index 9c93d7f..1338ad6 100644 --- a/xsl/nlcius-cii-1.0.xsl +++ b/xsl/nlcius-cii-1.0.xsl @@ -242,10 +242,10 @@ - + + test="exists(ram:IssuerAssignedID) and (every $node in (ram:IssuerAssignedID) satisfies (normalize-space($node) != ''))"> BR-52 fatal @@ -920,10 +920,10 @@ - + + test="exists(rsm:ExchangedDocumentContext/ram:GuidelineSpecifiedDocumentContextParameter/ram:ID) and (every $node in (rsm:ExchangedDocumentContext/ram:GuidelineSpecifiedDocumentContextParameter/ram:ID) satisfies (normalize-space($node) != ''))"> BR-01 fatal @@ -936,10 +936,10 @@ - + + test="exists(rsm:ExchangedDocument/ram:ID) and (every $node in (rsm:ExchangedDocument/ram:ID) satisfies (normalize-space($node) != ''))"> BR-02 fatal @@ -952,10 +952,10 @@ - + + test="exists(rsm:ExchangedDocument/ram:IssueDateTime/udt:DateTimeString[@format='102']) and (every $node in (rsm:ExchangedDocument/ram:IssueDateTime/udt:DateTimeString[@format='102']) satisfies (normalize-space($node) != ''))"> BR-03 fatal @@ -968,10 +968,10 @@ - + + test="exists(rsm:ExchangedDocument/ram:TypeCode) and (every $node in (rsm:ExchangedDocument/ram:TypeCode) satisfies (normalize-space($node) != ''))"> BR-04 fatal @@ -984,10 +984,10 @@ - + + test="exists(rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:InvoiceCurrencyCode) and (every $node in (rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:InvoiceCurrencyCode) satisfies (normalize-space($node) != ''))"> BR-05 fatal @@ -1000,10 +1000,10 @@ - + + test="exists(rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:SellerTradeParty/ram:Name) and (every $node in (rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:SellerTradeParty/ram:Name) satisfies (normalize-space($node) != ''))"> BR-06 fatal @@ -1016,10 +1016,10 @@ - + + test="exists(rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:BuyerTradeParty/ram:Name) and (every $node in (rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:BuyerTradeParty/ram:Name) satisfies (normalize-space($node) != ''))"> BR-07 fatal @@ -1048,10 +1048,10 @@ - + + test="exists(rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:SellerTradeParty/ram:PostalTradeAddress/ram:CountryID) and (every $node in (rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:SellerTradeParty/ram:PostalTradeAddress/ram:CountryID) satisfies (normalize-space($node) != ''))"> BR-09 fatal @@ -1080,10 +1080,10 @@ - + + test="exists(rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:BuyerTradeParty/ram:PostalTradeAddress/ram:CountryID) and (every $node in (rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:BuyerTradeParty/ram:PostalTradeAddress/ram:CountryID) satisfies (normalize-space($node) != ''))"> BR-11 fatal @@ -1112,10 +1112,10 @@ - + + test="(exists(rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:SellerTradeParty/ram:URIUniversalCommunication/ram:URIID/@schemeID) and (every $node in (rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:SellerTradeParty/ram:URIUniversalCommunication/ram:URIID/@schemeID) satisfies (normalize-space($node) != ''))) or not (rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:SellerTradeParty/ram:URIUniversalCommunication)"> BR-62 fatal @@ -1128,10 +1128,10 @@ - + + test="(exists(rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:BuyerTradeParty/ram:URIUniversalCommunication/ram:URIID/@schemeID) and (every $node in (rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:BuyerTradeParty/ram:URIUniversalCommunication/ram:URIID/@schemeID) satisfies (normalize-space($node) != ''))) or not (rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:BuyerTradeParty/ram:URIUniversalCommunication)"> BR-63 fatal @@ -1361,10 +1361,10 @@ - + + test="exists(ram:AssociatedDocumentLineDocument/ram:LineID) and (every $node in (ram:AssociatedDocumentLineDocument/ram:LineID) satisfies (normalize-space($node) != ''))"> BR-21 fatal @@ -1425,10 +1425,10 @@ - + + test="exists(ram:SpecifiedTradeProduct/ram:Name) and (every $node in (ram:SpecifiedTradeProduct/ram:Name) satisfies (normalize-space($node) != ''))"> BR-25 fatal @@ -1489,10 +1489,10 @@ - + + test="(exists(ram:SpecifiedTradeProduct/ram:GlobalID/@schemeID) and (every $node in (ram:SpecifiedTradeProduct/ram:GlobalID/@schemeID) satisfies (normalize-space($node) != ''))) or not (ram:SpecifiedTradeProduct/ram:GlobalID)"> BR-64 fatal @@ -1505,10 +1505,10 @@ - + + test="(exists(ram:SpecifiedTradeProduct/ram:DesignatedProductClassification/ram:ClassCode/@listID) and (every $node in (ram:SpecifiedTradeProduct/ram:DesignatedProductClassification/ram:ClassCode/@listID) satisfies (normalize-space($node) != ''))) or not (ram:SpecifiedTradeProduct/ram:DesignatedProductClassification)"> BR-65 fatal @@ -1953,10 +1953,10 @@ - + + test="exists(ram:IssuerAssignedID) and (every $node in (ram:IssuerAssignedID) satisfies (normalize-space($node) != ''))"> BR-55 fatal @@ -2047,10 +2047,10 @@ - + + test="exists(ram:SpecifiedTaxRegistration/ram:ID[@schemeID='VA']) and (every $node in (ram:SpecifiedTaxRegistration/ram:ID[@schemeID='VA']) satisfies (normalize-space($node) != ''))"> BR-56 fatal diff --git a/xsl/si-ubl-2.0-ext-gaccount.xsl b/xsl/si-ubl-2.0-ext-gaccount.xsl index de95f8b..53743f7 100644 --- a/xsl/si-ubl-2.0-ext-gaccount.xsl +++ b/xsl/si-ubl-2.0-ext-gaccount.xsl @@ -1907,10 +1907,10 @@ - + + test="exists(cbc:ID) and (every $node in (cbc:ID) satisfies (normalize-space($node) != ''))"> BR-52 fatal @@ -1981,10 +1981,10 @@ - + + test="exists(cac:Country/cbc:IdentificationCode) and (every $node in (cac:Country/cbc:IdentificationCode) satisfies (normalize-space($node) != ''))"> BR-11 fatal @@ -2569,10 +2569,10 @@ - + + test="exists(cbc:CustomizationID) and (every $node in (cbc:CustomizationID) satisfies (normalize-space($node) != ''))"> BR-01 fatal @@ -2585,10 +2585,10 @@ - + + test="exists(cbc:ID) and (every $node in (cbc:ID) satisfies (normalize-space($node) != ''))"> BR-02 fatal @@ -2601,10 +2601,10 @@ - + + test="exists(cbc:IssueDate) and (every $node in (cbc:IssueDate) satisfies (normalize-space($node) != ''))"> BR-03 fatal @@ -2617,10 +2617,10 @@ - + + test="(exists(cbc:InvoiceTypeCode) and (every $node in (cbc:InvoiceTypeCode) satisfies (normalize-space($node) != '')) or exists(cbc:CreditNoteTypeCode) and (every $node in (cbc:CreditNoteTypeCode) satisfies (normalize-space($node) != '')))"> BR-04 fatal @@ -2633,10 +2633,10 @@ - + + test="exists(cbc:DocumentCurrencyCode) and (every $node in (cbc:DocumentCurrencyCode) satisfies (normalize-space($node) != ''))"> BR-05 fatal @@ -2649,10 +2649,10 @@ - + + test="exists(cac:AccountingSupplierParty/cac:Party/cac:PartyLegalEntity/cbc:RegistrationName) and (every $node in (cac:AccountingSupplierParty/cac:Party/cac:PartyLegalEntity/cbc:RegistrationName) satisfies (normalize-space($node) != ''))"> BR-06 fatal @@ -2665,10 +2665,10 @@ - + + test="exists(cac:AccountingCustomerParty/cac:Party/cac:PartyLegalEntity/cbc:RegistrationName) and (every $node in (cac:AccountingCustomerParty/cac:Party/cac:PartyLegalEntity/cbc:RegistrationName) satisfies (normalize-space($node) != ''))"> BR-07 fatal @@ -3570,10 +3570,10 @@ - + + test="exists(cbc:ID) and (every $node in (cbc:ID) satisfies (normalize-space($node) != ''))"> BR-21 fatal @@ -3634,10 +3634,10 @@ - + + test="exists(cac:Item/cbc:Name) and (every $node in (cac:Item/cbc:Name) satisfies (normalize-space($node) != ''))"> BR-25 fatal @@ -4142,10 +4142,10 @@ - + + test="exists(cbc:ID) and (every $node in (cbc:ID) satisfies (normalize-space($node) != ''))"> BR-50 fatal @@ -4274,10 +4274,10 @@ - + + test="exists(cac:Country/cbc:IdentificationCode) and (every $node in (cac:Country/cbc:IdentificationCode) satisfies (normalize-space($node) != ''))"> BR-09 fatal @@ -4297,10 +4297,10 @@ - + + test="exists(cac:PartyName/cbc:Name) and (every $node in (cac:PartyName/cbc:Name) satisfies (normalize-space($node) != ''))"> BR-18 fatal @@ -4354,10 +4354,10 @@ - + + test="exists(cac:Country/cbc:IdentificationCode) and (every $node in (cac:Country/cbc:IdentificationCode) satisfies (normalize-space($node) != ''))"> BR-20 fatal diff --git a/xsl/si-ubl-2.0.xsl b/xsl/si-ubl-2.0.xsl index 7ae07e2..afd7677 100644 --- a/xsl/si-ubl-2.0.xsl +++ b/xsl/si-ubl-2.0.xsl @@ -891,10 +891,10 @@ - + + test="exists(cbc:ID) and (every $node in (cbc:ID) satisfies (normalize-space($node) != ''))"> BR-52 fatal @@ -965,10 +965,10 @@ - + + test="exists(cac:Country/cbc:IdentificationCode) and (every $node in (cac:Country/cbc:IdentificationCode) satisfies (normalize-space($node) != ''))"> BR-11 fatal @@ -1553,10 +1553,10 @@ - + + test="exists(cbc:CustomizationID) and (every $node in (cbc:CustomizationID) satisfies (normalize-space($node) != ''))"> BR-01 fatal @@ -1569,10 +1569,10 @@ - + + test="exists(cbc:ID) and (every $node in (cbc:ID) satisfies (normalize-space($node) != ''))"> BR-02 fatal @@ -1585,10 +1585,10 @@ - + + test="exists(cbc:IssueDate) and (every $node in (cbc:IssueDate) satisfies (normalize-space($node) != ''))"> BR-03 fatal @@ -1601,10 +1601,10 @@ - + + test="(exists(cbc:InvoiceTypeCode) and (every $node in (cbc:InvoiceTypeCode) satisfies (normalize-space($node) != '')) or exists(cbc:CreditNoteTypeCode) and (every $node in (cbc:CreditNoteTypeCode) satisfies (normalize-space($node) != '')))"> BR-04 fatal @@ -1617,10 +1617,10 @@ - + + test="exists(cbc:DocumentCurrencyCode) and (every $node in (cbc:DocumentCurrencyCode) satisfies (normalize-space($node) != ''))"> BR-05 fatal @@ -1633,10 +1633,10 @@ - + + test="exists(cac:AccountingSupplierParty/cac:Party/cac:PartyLegalEntity/cbc:RegistrationName) and (every $node in (cac:AccountingSupplierParty/cac:Party/cac:PartyLegalEntity/cbc:RegistrationName) satisfies (normalize-space($node) != ''))"> BR-06 fatal @@ -1649,10 +1649,10 @@ - + + test="exists(cac:AccountingCustomerParty/cac:Party/cac:PartyLegalEntity/cbc:RegistrationName) and (every $node in (cac:AccountingCustomerParty/cac:Party/cac:PartyLegalEntity/cbc:RegistrationName) satisfies (normalize-space($node) != ''))"> BR-07 fatal @@ -2554,10 +2554,10 @@ - + + test="exists(cbc:ID) and (every $node in (cbc:ID) satisfies (normalize-space($node) != ''))"> BR-21 fatal @@ -2618,10 +2618,10 @@ - + + test="exists(cac:Item/cbc:Name) and (every $node in (cac:Item/cbc:Name) satisfies (normalize-space($node) != ''))"> BR-25 fatal @@ -3126,10 +3126,10 @@ - + + test="exists(cbc:ID) and (every $node in (cbc:ID) satisfies (normalize-space($node) != ''))"> BR-50 fatal @@ -3258,10 +3258,10 @@ - + + test="exists(cac:Country/cbc:IdentificationCode) and (every $node in (cac:Country/cbc:IdentificationCode) satisfies (normalize-space($node) != ''))"> BR-09 fatal @@ -3281,10 +3281,10 @@ - + + test="exists(cac:PartyName/cbc:Name) and (every $node in (cac:PartyName/cbc:Name) satisfies (normalize-space($node) != ''))"> BR-18 fatal @@ -3338,10 +3338,10 @@ - + + test="exists(cac:Country/cbc:IdentificationCode) and (every $node in (cac:Country/cbc:IdentificationCode) satisfies (normalize-space($node) != ''))"> BR-20 fatal