diff --git a/.gitignore b/.gitignore
index b323d516..5aede1a3 100644
--- a/.gitignore
+++ b/.gitignore
@@ -9,3 +9,5 @@ tmp*
.idea
/.settings/
/.project
+vagrant/.vagrant/machines/dev/virtualbox/private_key
+*.xpr
diff --git a/README.adoc b/README.adoc
index a21da4c4..db7169a5 100644
--- a/README.adoc
+++ b/README.adoc
@@ -2,5 +2,5 @@
This repository contains the resources making up PEPPOL BIS Billing 3.0.
-Please use our link:https://openpeppol.atlassian.net/servicedesk/customer/portal/1[Service desk] to report any issues related to the specifiction.
-.
\ No newline at end of file
+Please use our link:https://openpeppol.atlassian.net/servicedesk/customer/portal/1[Service desk] to report any issues related to the specification.
+.
diff --git a/build.sh b/build.sh
index 25090bc9..4804233d 100755
--- a/build.sh
+++ b/build.sh
@@ -3,14 +3,14 @@
PROJECT=$(dirname $(readlink -f "$0"))
if [ -e $PROJECT/target ]; then
- docker run --rm -i -v $PROJECT:/src alpine:3.6 rm -rf /src/target
+ docker run --rm -i -v $PROJECT:/src alpine:3.11 rm -rf /src/target
fi
# Structure
docker run --rm -i \
-v $PROJECT:/src \
-v $PROJECT/target:/target \
- difi/vefa-structure:0.6
+ difi/vefa-structure:0.7
# Validator
@@ -37,4 +37,4 @@ docker run --rm -i -v $PROJECT:/documents -v $PROJECT/target:/target difi/asciid
# Fix ownership
-docker run --rm -i -v $PROJECT:/src alpine:3.6 chown -R $(id -g $USER).$(id -g $USER) /src/target
+docker run --rm -i -v $PROJECT:/src alpine:3.11 chown -R $(id -g $USER).$(id -g $USER) /src/target
diff --git a/guide/compliance/main.adoc b/guide/compliance/main.adoc
new file mode 100644
index 00000000..1ace72b0
--- /dev/null
+++ b/guide/compliance/main.adoc
@@ -0,0 +1,24 @@
+= Compliance to BIS
+openPEPPOL AISBL
+:icons: font
+:source-highlighter: coderay
+:toc: left
+:toclevels: 2
+:sourcedir: .
+:imagesdir: images
+:title-logo-image: peppol.png
+
+This section provides an overview of rules that receivers and/or senders of documents must fulfil to be compliant to a BIS. This is not a complete or normative listing of applicable rules.
+
+A message is considered compliant to this BIS if no fatal errors are detected when validating with the current validation artefacts.
+
+A message is also considered compliant to this BIS if only warnings (and no fatal errors) are detected when validating with the current validation artefacts.
+
+
+:leveloffset: +1
+
+include::sender.adoc[]
+
+include::receiver.adoc[]
+
+:leveloffset: -1
diff --git a/guide/compliance/receiver.adoc b/guide/compliance/receiver.adoc
new file mode 100644
index 00000000..e98a0538
--- /dev/null
+++ b/guide/compliance/receiver.adoc
@@ -0,0 +1,9 @@
+= Receivers compliance to BIS
+[horizontal]
+
+== Processing of rules
+* A receiver SHALL NOT reject receiving messages which are compliant to the BIS.
+
+* A receiver MAY reject receiving messages which are not compliant to the BIS.
+
+
diff --git a/guide/compliance/sender.adoc b/guide/compliance/sender.adoc
new file mode 100644
index 00000000..be1eac6f
--- /dev/null
+++ b/guide/compliance/sender.adoc
@@ -0,0 +1,5 @@
+= Senders compliance to BIS
+[horizontal]
+
+== Processing of rules
+* A sender SHALL NOT send messages that are not compliant to the BIS.
\ No newline at end of file
diff --git a/guide/release-notes/main.adoc b/guide/release-notes/main.adoc
index 8c9e5d78..9233cefa 100644
--- a/guide/release-notes/main.adoc
+++ b/guide/release-notes/main.adoc
@@ -14,6 +14,8 @@ IMPORTANT: Changes in code lists are also reflected by changes in the validation
:leveloffset: +1
+include::v3.0.8.adoc[]
+
include::v3.0.7-hotfix.adoc[]
include::v3.0.6.adoc[]
diff --git a/guide/release-notes/v3.0.7.adoc b/guide/release-notes/v3.0.7.adoc
new file mode 100644
index 00000000..d456f9bf
--- /dev/null
+++ b/guide/release-notes/v3.0.7.adoc
@@ -0,0 +1,17 @@
+= Version 3.0.8
+[horizontal]
+Release date:: 2020-11-01
+
+== Changes to BIS document
+
+
+== Changes to support documents
+
+
+== Changes to code lists and validation artefacts
+* Rule PEPPOL-COMMON-R040: "GLN must have a valid format according to GS1 rules". Changed from severity "warning" to "fatal". (The rule was introduced in fall 2019 with severity "warning" to avoid disruptions but with the intention to be changed to severity "fatal" after 6-12 months). Issue: [POACC-333] and [POACC-341]
+* EAS code list, added code 0209, removed code 9958. Rule updated accordingly.
+* ICD code list, added code 0209. Rule updated accordingly. Names and descriptions added where missing.
+* VATEX code list, added code VATEX-EU-79C for repayment of expenditure. Codes put in upper case.
+* Duplicate currency codes removed from ISO4217 code list. Issue: [POACC-339]
+
diff --git a/guide/release-notes/v3.0.8.adoc b/guide/release-notes/v3.0.8.adoc
new file mode 100644
index 00000000..4b3bbdb9
--- /dev/null
+++ b/guide/release-notes/v3.0.8.adoc
@@ -0,0 +1,21 @@
+= Version 3.0.8
+[horizontal]
+Release date:: 2020-11-01
+
+== Changes to BIS document
+* Definitions for EndPoint identifiers BT-34 and BT-49 aligned with defintion in EN16931. Issue: [POACC-331]
+* Migration plan from BIS2 to BIS3 removed. Is completed.
+* Use GLN as the only examlpe in section 10.2. Delivery Details (Date and Location). Removed reference to GSRN from the description text. [POACC-332]
+* Updating rule references in the Bis Syntax document to align with the schematron rules in use. Issue: [POACC-334]
+
+== Changes to support documents
+
+
+== Changes to code lists and validation artefacts
+* Rule PEPPOL-COMMON-R040: "GLN must have a valid format according to GS1 rules". Changed from severity "warning" to "fatal". (The rule was introduced in fall 2019 with severity "warning" to avoid disruptions but with the intention to be changed to severity "fatal" after 6-12 months). Issue: [POACC-333] and [POACC-341]
+* EAS code list, added code 0209, removed code 9958. Rule updated accordingly.
+* ICD code list, added code 0209. Rule updated accordingly. Names and descriptions added where missing.
+* VATEX code list, added code VATEX-EU-79C for repayment of expenditure. Rule updated accordingly.
+* Duplicate currency codes removed from ISO4217 code list. Issue: [POACC-339]
+* New national Swedish validation rule (SE-R-012) which gives warning on use of payment means code (31) which is often incorrectly used between Swedish suppliers and buyers. The rule only triggers if both buyer and supplier are Swedish.
+* Added Greek PA National Rules
\ No newline at end of file
diff --git a/guide/transaction-spec/descriptions/delivery-details.adoc b/guide/transaction-spec/descriptions/delivery-details.adoc
index 6860e0a8..b449131b 100644
--- a/guide/transaction-spec/descriptions/delivery-details.adoc
+++ b/guide/transaction-spec/descriptions/delivery-details.adoc
@@ -5,6 +5,6 @@ Delivery details may be given at document level.
Place and date of delivery is recommended, and should be sent unless this does not affect the ability to ensure the correctness of the invoice.
-The delivery element contains information on name, address and delivery location identifier (`cac:Delivery/cac:DeliveryLocation/cbc:ID`) which may be used if the place of delivery is defined through an identifier. Examples are GLN (Global Location Number) or GSRN (Global Service Relationship Number) both issued by GS1.
+The delivery element contains information on name, address and delivery location identifier (`cac:Delivery/cac:DeliveryLocation/cbc:ID`) which may be used if the place of delivery is defined through an identifier. For example GLN (Global Location Number)issued by GS1.
include::../../syntax/delivery.adoc[]
diff --git a/project.xml b/project.xml
index 5b750f66..5adf7280 100644
--- a/project.xml
+++ b/project.xml
@@ -4,9 +4,26 @@
PEPPOL BIS Billing 3.0
Business Interoperability Specifications (BIS)
- Migration plan
+ BIS compliance
Release notes
+
+
+ Doc-1
+ bis/
+ Business Interoperability Specifications (BIS)
+
+
+ Doc-1
+ compliance/
+ BIS compliance
+
+
+ Doc-1
+ release-notes/
+ Release notes
+
+
Structure-1
@@ -69,7 +86,7 @@
CodeList-1
structure/codelist/UNCL1001-inv.xml
-
+
CodeList-1
structure/codelist/UNCL1001-cn.xml
diff --git a/rules/buildconfig.xml b/rules/buildconfig.xml
index c014ca88..a024785c 100644
--- a/rules/buildconfig.xml
+++ b/rules/buildconfig.xml
@@ -1,82 +1,83 @@
-
-
-
- PEPPOL BIS Billing 3.0
-
- examples
- snippets
- unit-CII-PEPPOL
- unit-CII-NO
- unit-CII-IT
- unit-CII-DK
- unit-CII-SE
- unit-UBL-PEPPOL
- unit-UBL-NO
- unit-UBL-IT
- unit-UBL-DK
- unit-UBL-SE
-
-
-
-
- peppolbis-en16931-cen-cii
- CEN TC434 UBL
-
-
-
-
- peppolbis-en16931-base-3.0-cii
- PEPPOL BIS Billing 3.0 (Base)
-
-
-
-
- peppolbis-en16931-01-3.0-cii
- PEPPOL BIS Billing 3.0 (Profile 01)
- CrossIndustryInvoice::urn:fdc:peppol.eu:2017:poacc:billing:01:1.0::urn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:billing:3.0
- uncefact-d16b-cii-uncoupled
- peppolbis-en16931-cen-cii
- peppolbis-en16931-base-3.0-cii
-
-
-
-
-
- peppolbis-en16931-cen-ubl
- CEN TC434 UBL
-
-
-
-
- peppolbis-en16931-base-3.0-ubl
- PEPPOL BIS Billing 3.0 (Base)
-
-
-
-
- peppolbis-en16931-stylesheet-3.0-ubl
- PEPPOL BIS Billing 3.0 Stylesheet
-
-
-
-
- peppolbis-en16931-01-3.0-ubl-invoice
- PEPPOL BIS Billing 3.0 (Profile 01)
- Invoice::urn:fdc:peppol.eu:2017:poacc:billing:01:1.0#urn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:billing:3.0
- ubl-invoice-2.1
- peppolbis-en16931-cen-ubl
- peppolbis-en16931-base-3.0-ubl
- peppolbis-en16931-stylesheet-3.0-ubl
-
-
-
- peppolbis-en16931-01-3.0-ubl-creditnote
- PEPPOL BIS Billing 3.0 (Profile 01)
- CreditNote::urn:fdc:peppol.eu:2017:poacc:billing:01:1.0#urn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:billing:3.0
- ubl-creditnote-2.1
- peppolbis-en16931-cen-ubl
- peppolbis-en16931-base-3.0-ubl
- peppolbis-en16931-stylesheet-3.0-ubl
-
-
-
+
+
+
+ PEPPOL BIS Billing 3.0
+
+ examples
+ snippets
+ unit-CII-PEPPOL
+ unit-CII-NO
+ unit-CII-IT
+ unit-CII-DK
+ unit-CII-SE
+ unit-UBL-PEPPOL
+ unit-UBL-NO
+ unit-UBL-IT
+ unit-UBL-DK
+ unit-UBL-SE
+ unit-UBL-GR
+
+
+
+
+ peppolbis-en16931-cen-cii
+ CEN TC434 UBL
+
+
+
+
+ peppolbis-en16931-base-3.0-cii
+ PEPPOL BIS Billing 3.0 (Base)
+
+
+
+
+ peppolbis-en16931-01-3.0-cii
+ PEPPOL BIS Billing 3.0 (Profile 01)
+ CrossIndustryInvoice::urn:fdc:peppol.eu:2017:poacc:billing:01:1.0::urn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:billing:3.0
+ uncefact-d16b-cii-uncoupled
+ peppolbis-en16931-cen-cii
+ peppolbis-en16931-base-3.0-cii
+
+
+
+
+
+ peppolbis-en16931-cen-ubl
+ CEN TC434 UBL
+
+
+
+
+ peppolbis-en16931-base-3.0-ubl
+ PEPPOL BIS Billing 3.0 (Base)
+
+
+
+
+ peppolbis-en16931-stylesheet-3.0-ubl
+ PEPPOL BIS Billing 3.0 Stylesheet
+
+
+
+
+ peppolbis-en16931-01-3.0-ubl-invoice
+ PEPPOL BIS Billing 3.0 (Profile 01)
+ Invoice::urn:fdc:peppol.eu:2017:poacc:billing:01:1.0#urn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:billing:3.0
+ ubl-invoice-2.1
+ peppolbis-en16931-cen-ubl
+ peppolbis-en16931-base-3.0-ubl
+ peppolbis-en16931-stylesheet-3.0-ubl
+
+
+
+ peppolbis-en16931-01-3.0-ubl-creditnote
+ PEPPOL BIS Billing 3.0 (Profile 01)
+ CreditNote::urn:fdc:peppol.eu:2017:poacc:billing:01:1.0#urn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:billing:3.0
+ ubl-creditnote-2.1
+ peppolbis-en16931-cen-ubl
+ peppolbis-en16931-base-3.0-ubl
+ peppolbis-en16931-stylesheet-3.0-ubl
+
+
+
diff --git a/rules/national-examples/GR/GR-base-example-TaxRepresentative.xml b/rules/national-examples/GR/GR-base-example-TaxRepresentative.xml
new file mode 100644
index 00000000..48b4cfb9
--- /dev/null
+++ b/rules/national-examples/GR/GR-base-example-TaxRepresentative.xml
@@ -0,0 +1,265 @@
+
+
+ urn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:billing:3.0
+ urn:fdc:peppol.eu:2017:poacc:billing:01:1.0
+ 061828591|01/10/2020|0|1.1|0|1
+ 2020-10-01
+ 2020-12-01
+ 380
+ EUR
+ 4025:123:4343
+ 0150abc
+
+
+ 801399030
+
+ 155988103000
+
+
+ SupplierTradingName Ltd.
+
+
+ Main street 1
+ Postbox 123
+ Athens
+ 163 44
+
+ GR
+
+
+
+ SupplierOfficialName Ltd
+ EL801399030
+
+
+
+
+
+
+ 061828591
+
+ FR23342
+
+
+ BuyerTradingName AS
+
+
+
+ Hovedgatan 32
+ Po box 878
+ Stockholm
+ 456 34
+
+ GR
+
+
+
+
+ EL061828591
+
+ VAT
+
+
+
+
+ Buyer Official Name
+ 39937423947
+
+
+ Lisa Johnson
+ 23434234
+ lj@buyer.se
+
+
+
+
+
+
+ 1123
+ ##M.AR.K##
+
+
+
+
+ 1123
+ ##INVOICE-URL##
+
+
+ http://url
+
+
+
+
+
+ TaxRepresentative Name
+
+
+ Regent street 32
+ Building 23
+ London
+ 23W 45H
+ Subentity
+
+ Back door
+
+
+ GR
+
+
+
+ EL061828591
+
+ VAT
+
+
+
+
+ 2017-11-01
+
+ 7300010000001
+
+ Delivery street 2
+ Building 56
+ Stockholm
+ 21234
+
+ SE
+
+
+
+
+
+ Delivery party Name
+
+
+
+
+ 30
+ Snippet1
+
+ IBAN32423940
+ AccountName
+
+ BIC324098
+
+
+
+
+ Payment within 10 days, 2% discount
+
+
+
+
+ true
+ Insurance
+ 25
+
+ S
+ 25.0
+
+ VAT
+
+
+
+
+
+ 331.25
+
+ 1325
+ 331.25
+
+ S
+ 25.0
+
+ VAT
+
+
+
+
+
+
+
+ 1300
+ 1325
+ 1656.25
+ 25
+ 1656.25
+
+
+
+
+ 1
+ 7
+ 2800
+
+ Konteringsstreng
+
+ 123
+
+
+ Description of item
+ item name
+
+ 7300010000001
+
+
+ NO
+
+
+ 09348023
+
+
+ S
+ 25.0
+
+ VAT
+
+
+
+
+
+
+ 400
+
+
+
+
+
+ 2
+ -3
+ -1500
+
+
+ 123
+
+
+ Description 2
+ item name 2
+
+ 7300010000001
+
+
+ NO
+
+
+ 09348023
+
+
+ S
+ 25.0
+
+ VAT
+
+
+
+
+
+
+ 500
+
+
+
+
diff --git a/rules/national-examples/GR/GR-base-example-correct.xml b/rules/national-examples/GR/GR-base-example-correct.xml
new file mode 100644
index 00000000..510b0910
--- /dev/null
+++ b/rules/national-examples/GR/GR-base-example-correct.xml
@@ -0,0 +1,246 @@
+
+
+ urn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:billing:3.0
+ urn:fdc:peppol.eu:2017:poacc:billing:01:1.0
+ 061828591|01/10/2020|0|1.1|0|1
+ 2020-10-01
+ 2020-12-01
+ 380
+ EUR
+ 4025:123:4343
+ 0150abc
+
+
+ 801399030
+
+ 155988103000
+
+
+ SupplierTradingName Ltd.
+
+
+ Main street 1
+ Postbox 123
+ Athens
+ 163 44
+
+ GR
+
+
+
+ EL0618285912
+
+ VAT
+
+
+
+ SupplierOfficialName Ltd
+ EL801399030
+
+
+
+
+
+ 061828591
+
+ FR23342
+
+
+ BuyerTradingName AS
+
+
+
+ Hovedgatan 32
+ Po box 878
+ Stockholm
+ 456 34
+
+ GR
+
+
+
+
+ EL061828591
+
+ VAT
+
+
+
+
+ Buyer Official Name
+ 39937423947
+
+
+ Lisa Johnson
+ 23434234
+ lj@buyer.se
+
+
+
+
+
+
+ 1123
+ ##M.AR.K##
+
+
+
+
+ 1123
+ ##INVOICE-URL##
+
+
+ http://url
+
+
+
+
+ 2017-11-01
+
+ 7300010000001
+
+ Delivery street 2
+ Building 56
+ Stockholm
+ 21234
+
+ SE
+
+
+
+
+
+ Delivery party Name
+
+
+
+
+ 30
+ Snippet1
+
+ IBAN32423940
+ AccountName
+
+ BIC324098
+
+
+
+
+ Payment within 10 days, 2% discount
+
+
+
+
+ true
+ Insurance
+ 25
+
+ S
+ 25.0
+
+ VAT
+
+
+
+
+
+ 331.25
+
+ 1325
+ 331.25
+
+ S
+ 25.0
+
+ VAT
+
+
+
+
+
+
+
+ 1300
+ 1325
+ 1656.25
+ 25
+ 1656.25
+
+
+
+
+ 1
+ 7
+ 2800
+
+ Konteringsstreng
+
+ 123
+
+
+ Description of item
+ item name
+
+ 7300010000001
+
+
+ NO
+
+
+ 09348023
+
+
+ S
+ 25.0
+
+ VAT
+
+
+
+
+
+
+ 400
+
+
+
+
+
+ 2
+ -3
+ -1500
+
+
+ 123
+
+
+ Description 2
+ item name 2
+
+ 7300010000001
+
+
+ NO
+
+
+ 09348023
+
+
+ S
+ 25.0
+
+ VAT
+
+
+
+
+
+
+ 500
+
+
+
+
diff --git a/rules/sch/CEN-EN16931-CII.sch b/rules/sch/CEN-EN16931-CII.sch
index 58cdacdc..27b863b9 100644
--- a/rules/sch/CEN-EN16931-CII.sch
+++ b/rules/sch/CEN-EN16931-CII.sch
@@ -99,6 +99,8 @@
[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-IG-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-IP-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).
@@ -930,14 +932,14 @@
[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-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-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-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.
@@ -948,14 +950,14 @@
[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-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-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-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
@@ -967,10 +969,10 @@
[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-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-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
@@ -978,21 +980,25 @@
[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
+
+ [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-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-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-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-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/rules/sch/CEN-EN16931-UBL.sch b/rules/sch/CEN-EN16931-UBL.sch
index 19de97ab..fd2eea5a 100644
--- a/rules/sch/CEN-EN16931-UBL.sch
+++ b/rules/sch/CEN-EN16931-UBL.sch
@@ -20,13 +20,13 @@
- [BR-52]-Each Additional supporting document (BG-24) shall contain a Supporting document reference (BT-122).
+ [BR-52]-Each Additional supporting document (BG-24) shall contain a Supporting document reference (BT-122).
[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-63]-The Buyer electronic address (BT-49) shall have a Scheme identifier.
+ [BR-63]-The Buyer electronic address (BT-49) shall have a Scheme identifier.
[BR-11]-The Buyer postal address shall contain a Buyer country code (BT-55).
@@ -44,16 +44,16 @@
[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-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-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-99) is 2.
- [BR-DEC-06]-The allowed maximum number of decimals for the Document level charge base amount (BT-100) is 2.
+ [BR-DEC-06]-The allowed maximum number of decimals for the Document level charge base amount (BT-100) is 2.
[BR-12]-An Invoice shall have the Sum of Invoice line net amount (BT-106).
@@ -64,11 +64,11 @@
[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-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-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-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.
@@ -123,18 +123,20 @@
[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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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).
@@ -146,7 +148,7 @@
[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-CO-04]-Each Invoice line (BG-25) shall be categorized with an Invoiced item VAT category code (BT-151).
- [BR-DEC-23]-The allowed maximum number of decimals for the Invoice line net amount (BT-131) is 2.
+ [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).
@@ -154,7 +156,7 @@
[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-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).
@@ -162,7 +164,7 @@
[BR-CO-08]-Invoice line charge reason code (BT-145) and Invoice line charge reason (BT144) 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-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).
@@ -170,7 +172,7 @@
[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-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).
@@ -209,12 +211,12 @@
[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-56]-Each Seller tax representative party (BG-11) shall have a Seller tax representative VAT identifier (BT-63).
+ [BR-56]-Each Seller tax representative party (BG-11) shall have a Seller tax representative VAT identifier (BT-63).
[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-CO-14]-Invoice total VAT amount (BT-110) = Σ VAT category tax amount (BT-117).
@@ -229,93 +231,93 @@
[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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-IG-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-IG-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-IG-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-IG-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-IG-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-IG-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-IG-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-IG-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-IG-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 0 (zero) or greater than zero.
+ [BR-IG-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 0 (zero) or greater than zero.
-
+
[BR-IP-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-IP-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-IP-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-IP-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-IP-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-IP-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-IP-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-IP-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-IP-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-IP-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-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-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).
@@ -327,10 +329,10 @@
[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-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-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.
@@ -339,30 +341,30 @@
[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-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-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-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-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-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-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-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-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-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-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).
- [UBL-SR-42]-Party tax scheme shall occur maximum twice in accounting supplier party
+ [UBL-SR-42]-Party tax scheme shall occur maximum twice in accounting supplier party
- [UBL-SR-33]-Supporting document description shall occur maximum once
- [UBL-SR-43]-Scheme identifier shall only be used for invoiced object (document type code with value 130)
+ [UBL-SR-33]-Supporting document description shall occur maximum once
+ [UBL-SR-43]-Scheme identifier shall only be used for invoiced object (document type code with value 130)
[UBL-DT-01]-Amounts shall be decimal up to two fraction digits
@@ -372,13 +374,13 @@
[UBL-DT-07]-Binary object elements shall contain the file name attribute
- [UBL-SR-25]-Deliver to party name shall occur maximum once
+ [UBL-SR-25]-Deliver to party name shall occur maximum once
- [UBL-SR-30]-Document level allowance reason shall occur maximum once
+ [UBL-SR-30]-Document level allowance reason shall occur maximum once
- [UBL-SR-31]-Document level charge reason shall occur maximum once
+ [UBL-SR-31]-Document level charge reason shall occur maximum once
[UBL-CR-001]-A UBL invoice should not include extensions
@@ -674,7 +676,7 @@
[UBL-CR-292]-A UBL invoice should not include the PayeeParty PowerOfAttorney
[UBL-CR-293]-A UBL invoice should not include the PayeeParty FinancialAccount
[UBL-CR-294]-A UBL invoice should not include the BuyerCustomerParty
- [UBL-CR-295]-A UBL invoice should not include the SellerCustomerParty
+ [UBL-CR-295]-A UBL invoice should not include the SellerSupplierParty
[UBL-CR-296]-A UBL invoice should not include the TaxRepresentativeParty MarkCareIndicator
[UBL-CR-297]-A UBL invoice should not include the TaxRepresentativeParty MarkAttentionIndicator
[UBL-CR-298]-A UBL invoice should not include the TaxRepresentativeParty WebsiteURI
@@ -791,7 +793,7 @@
[UBL-CR-409]-A UBL invoice should not include the Delivery Shipment
[UBL-CR-410]-A UBL invoice should not include the DeliveryTerms
[UBL-CR-411]-A UBL invoice should not include the PaymentMeans ID
- [UBL-CR-412]-A UBL invoice should not include the PaymentMeans PaymentDueDate
+ [UBL-CR-412]-A UBL invoice should not include the PaymentMeans PaymentDueDate
[UBL-CR-413]-A UBL invoice should not include the PaymentMeans PaymentChannelCode
[UBL-CR-414]-A UBL invoice should not include the PaymentMeans InstructionID
[UBL-CR-415]-A UBL invoice should not include the PaymentMeans CardAccount CardTypeCode
@@ -906,7 +908,7 @@
[UBL-CR-525]-A UBL invoice should not include the InvoiceLine OrderLineReference SalesOrderLineID
[UBL-CR-526]-A UBL invoice should not include the InvoiceLine OrderLineReference UUID
[UBL-CR-527]-A UBL invoice should not include the InvoiceLine OrderLineReference LineStatusCode
- [UBL-CR-528]-A UBL invoice should not include the InvoiceLine OrderLineReference OrderReference
+ [UBL-CR-528]-A UBL invoice should not include the InvoiceLine OrderLineReference OrderReference
[UBL-CR-529]-A UBL invoice should not include the InvoiceLine DespatchLineReference
[UBL-CR-530]-A UBL invoice should not include the InvoiceLine ReceiptLineReference
[UBL-CR-531]-A UBL invoice should not include the InvoiceLine BillingReference
@@ -1042,21 +1044,22 @@
[UBL-CR-662]-A UBL invoice should not include the AllowanceChargeReasonCode listID
[UBL-CR-663]-A UBL invoice should not include the unitCodeListID
[UBL-CR-664]-A UBL invoice should not include the FinancialInstitutionBranch FinancialInstitution
- [UBL-CR-665]-A UBL invoice should not include the AdditonalDocumentReference ID schemeID unless the ID equals '130'
- [UBL-CR-666]-A UBL invoice should not include an AdditonalDocumentReference simultaneously referring an Invoice Object Identifier and an Attachment
+ [UBL-CR-665]-A UBL invoice should not include the AdditionalDocumentReference ID schemeID unless the ID equals '130'
+ [UBL-CR-666]-A UBL invoice shall not include an AdditionalDocumentReference simultaneously referring an Invoice Object Identifier and an Attachment
[UBL-CR-667]-A UBL invoice should not include a Buyer Item Identification schemeID
[UBL-CR-668]-A UBL invoice should not include a Sellers Item Identification schemeID
[UBL-CR-669]-A UBL invoice should not include a Price Allowance Reason Code
[UBL-CR-670]-A UBL invoice should not include a Price Allowance Reason
[UBL-CR-671]-A UBL invoice should not include a Price Allowance Multiplier Factor
[UBL-CR-672]-A UBL credit note should not include the CreditNoteTypeCode listID
- [UBL-CR-673]-A UBL invoice should not include an AdditonalDocumentReference simultaneously referring an Invoice Object Identifier and an Document Description
+ [UBL-CR-673]-A UBL invoice shall not include an AdditionalDocumentReference simultaneously referring an Invoice Object Identifier and an Document Description
[UBL-CR-674]-A UBL invoice should not include the PrimaryAccountNumber schemeID
[UBL-CR-675]-A UBL invoice should not include the NetworkID schemeID
[UBL-CR-676]-A UBL invoice should not include the PaymentMandate/ID schemeID
[UBL-CR-677]-A UBL invoice should not include the PayerFinancialAccount/ID schemeID
[UBL-CR-678]-A UBL invoice should not include the TaxCategory/ID schemeID
[UBL-CR-679]-A UBL invoice should not include the ClassifiedTaxCategory/ID schemeID
+ [UBL-CR-680]-A UBL invoice should not include the PaymentMeans/PayerFinancialAccount
[UBL-DT-08]-Scheme name attribute should not be present
[UBL-DT-09]-Scheme agency name attribute should not be present
[UBL-DT-10]-Scheme data uri attribute should not be present
@@ -1078,61 +1081,61 @@
[UBL-DT-26]-EncodingCode attribute should not be present
[UBL-DT-27]-Scheme Agency ID attribute should not be present
[UBL-DT-28]-List Agency ID attribute should not be present
- [UBL-SR-01]-Contract identifier shall occur maximum once.
- [UBL-SR-02]-Receive advice identifier shall occur maximum once
- [UBL-SR-03]-Despatch advice identifier shall occur maximum once
- [UBL-SR-04]-Invoice object identifier shall occur maximum once
- [UBL-SR-05]-Payment terms shall occur maximum once
- [UBL-SR-06]-Preceding invoice reference shall occur maximum once
- [UBL-SR-08]-Invoice period shall occur maximum once
- [UBL-SR-09]-Seller name shall occur maximum once
- [UBL-SR-10]-Seller trader name shall occur maximum once
- [UBL-SR-11]-Seller legal registration identifier shall occur maximum once
- [UBL-SR-12]-Seller VAT identifier shall occur maximum once
- [UBL-SR-13]-Seller tax registration shall occur maximum once
- [UBL-SR-14]-Seller additional legal information shall occur maximum once
- [UBL-SR-15]-Buyer name shall occur maximum once
- [UBL-SR-16]-Buyer identifier shall occur maximum once
- [UBL-SR-17]-Buyer legal registration identifier shall occur maximum once
- [UBL-SR-18]-Buyer VAT identifier shall occur maximum once
- [UBL-SR-24]-Deliver to information shall occur maximum once
- [UBL-SR-29]-Bank creditor reference shall occur maximum once
- [UBL-SR-39]-Project reference shall occur maximum once.
- [UBL-SR-40]-Buyer trade name shall occur maximum once
- [UBL-SR-44]-Payment ID shall occur maximum once
- [UBL-SR-45]-Due Date shall occur maximum once
- [UBL-SR-46]-Payment means text shall occur maximum once
- [UBL-SR-47]-When there are more than one payment means code, they shall be equal
- [UBL-SR-49]-Value tax point date shall occur maximum once
+ [UBL-SR-01]-Contract identifier shall occur maximum once.
+ [UBL-SR-02]-Receive advice identifier shall occur maximum once
+ [UBL-SR-03]-Despatch advice identifier shall occur maximum once
+ [UBL-SR-04]-Invoice object identifier shall occur maximum once
+ [UBL-SR-05]-Payment terms shall occur maximum once
+ [UBL-SR-06]-Preceding invoice reference shall occur maximum once
+ [UBL-SR-08]-Invoice period shall occur maximum once
+ [UBL-SR-09]-Seller name shall occur maximum once
+ [UBL-SR-10]-Seller trader name shall occur maximum once
+ [UBL-SR-11]-Seller legal registration identifier shall occur maximum once
+ [UBL-SR-12]-Seller VAT identifier shall occur maximum once
+ [UBL-SR-13]-Seller tax registration shall occur maximum once
+ [UBL-SR-14]-Seller additional legal information shall occur maximum once
+ [UBL-SR-15]-Buyer name shall occur maximum once
+ [UBL-SR-16]-Buyer identifier shall occur maximum once
+ [UBL-SR-17]-Buyer legal registration identifier shall occur maximum once
+ [UBL-SR-18]-Buyer VAT identifier shall occur maximum once
+ [UBL-SR-24]-Deliver to information shall occur maximum once
+ [UBL-SR-29]-Bank creditor reference shall occur maximum once
+ [UBL-SR-39]-Project reference shall occur maximum once.
+ [UBL-SR-40]-Buyer trade name shall occur maximum once
+ [UBL-SR-44]-Payment ID shall occur maximum once
+ [UBL-SR-45]-Due Date shall occur maximum once
+ [UBL-SR-46]-Payment means text shall occur maximum once
+ [UBL-SR-47]-When there are more than one payment means code, they shall be equal
+ [UBL-SR-49]-Value tax point date shall occur maximum once
- [UBL-SR-34]-Invoice line note shall occur maximum once
- [UBL-SR-35]-Referenced purchase order line identifier shall occur maximum once
- [UBL-SR-36]-Invoice line period shall occur maximum once
- [UBL-SR-37]-Item price discount shall occur maximum once
- [UBL-SR-38]-Invoiced item VAT exemption reason text shall occur maximum once
- [UBL-SR-48]-Invoice lines shall have one and only one classified tax category.
- [UBL-SR-50]-Item description shall occur maximum once
+ [UBL-SR-34]-Invoice line note shall occur maximum once
+ [UBL-SR-35]-Referenced purchase order line identifier shall occur maximum once
+ [UBL-SR-36]-Invoice line period shall occur maximum once
+ [UBL-SR-37]-Item price discount shall occur maximum once
+ [UBL-SR-38]-Invoiced item VAT exemption reason text shall occur maximum once
+ [UBL-SR-48]-Invoice lines shall have one and only one classified tax category.
+ [UBL-SR-50]-Item description shall occur maximum once
- [UBL-SR-19]-Payee name shall occur maximum once, if the Payee is different from the Seller
- [UBL-SR-20]-Payee identifier shall occur maximum once, if the Payee is different from the Seller
- [UBL-SR-21]-Payee legal registration identifier shall occur maximum once, if the Payee is different from the Seller
+ [UBL-SR-19]-Payee name shall occur maximum once, if the Payee is different from the Seller
+ [UBL-SR-20]-Payee identifier shall occur maximum once, if the Payee is different from the Seller
+ [UBL-SR-21]-Payee legal registration identifier shall occur maximum once, if the Payee is different from the Seller
- [UBL-SR-26]-Payment reference shall occur maximum once
- [UBL-SR-27]-Payment means text shall occur maximum once
- [UBL-SR-28]-Mandate reference identifier shall occur maximum once
+ [UBL-SR-26]-Payment reference shall occur maximum once
+ [UBL-SR-27]-Payment means text shall occur maximum once
+ [UBL-SR-28]-Mandate reference identifier shall occur maximum once
- [UBL-SR-07]-If there is a preceding invoice reference, the preceding invoice number shall be present
+ [UBL-SR-07]-If there is a preceding invoice reference, the preceding invoice number shall be present
- [UBL-SR-22]-Seller tax representative name shall occur maximum once, if the Seller has a tax representative
- [UBL-SR-23]-Seller tax representative VAT identifier shall occur maximum once, if the Seller has a tax representative
+ [UBL-SR-22]-Seller tax representative name shall occur maximum once, if the Seller has a tax representative
+ [UBL-SR-23]-Seller tax representative VAT identifier shall occur maximum once, if the Seller has a tax representative
- [UBL-SR-32]-VAT exemption reason text shall occur maximum once
+ [UBL-SR-32]-VAT exemption reason text shall occur maximum once
@@ -1140,13 +1143,13 @@
[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-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-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-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 2005.
@@ -1155,10 +1158,10 @@
[BR-CL-07]-Object identifier identification scheme identifier MUST be coded using a restriction of UNTDID 1153.
- [BR-CL-10]-Any identifier identification scheme identifier MUST be coded using one of the ISO 6523 ICD list.
+ [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-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
@@ -1174,10 +1177,10 @@
[BR-CL-16]-Payment means in an invoice MUST be coded using UNCL4461 code list
- [BR-CL-17]-Invoice tax categories MUST be coded using UNCL5305 code list
+ [BR-CL-17]-Invoice tax categories MUST be coded using UNCL5305 code list
- [BR-CL-18]-Invoice tax categories MUST be coded using UNCL5305 code list
+ [BR-CL-18]-Invoice tax categories MUST be coded using UNCL5305 code list
[BR-CL-19]-Coded allowance reasons MUST belong to the UNCL 5189 code list
@@ -1186,12 +1189,12 @@
[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-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-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
@@ -1199,7 +1202,10 @@
[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-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/rules/sch/PEPPOL-EN16931-CII.sch b/rules/sch/PEPPOL-EN16931-CII.sch
index 6c9d9307..dff0c5ae 100644
--- a/rules/sch/PEPPOL-EN16931-CII.sch
+++ b/rules/sch/PEPPOL-EN16931-CII.sch
@@ -1,22 +1,23 @@
+
- Rules for PEPPOL BIS 3.0 Billing
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Business process MUST be provided.
- Business process MUST be in the format 'urn:fdc:peppol.eu:2017:poacc:billing:NN:1.0' where NN indicates the process number.
- Specification identifier MUST have the value 'urn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:billing:3.0'.
-
-
- A buyer reference or purchase order reference MUST be provided.
- Only one invoiced object is allowed on document level
- Only one project reference is allowed on document level
-
-
- VAT accounting currency code MUST be different from invoice currency code when provided.
- Only one tax total with tax subtotals MUST be provided.
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Business process MUST be provided.
+ Business process MUST be in the format 'urn:fdc:peppol.eu:2017:poacc:billing:NN:1.0' where NN indicates the process number.
+ Specification identifier MUST have the value 'urn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:billing:3.0'.
+
+
+ A buyer reference or purchase order reference MUST be provided.
+ Only one invoiced object is allowed on document level
+ Only one project reference is allowed on document level
+
+
+ VAT accounting currency code MUST be different from invoice currency code when provided.
+ Only one tax total with tax subtotals MUST be provided.
+ Only one tax total without tax subtotals MUST be provided when tax currency code is provided.
- Invoice total VAT amount and Invoice total VAT amount in accounting currency MUST have the same operational sign
-
-
-
- No more than one note is allowed on document level.
-
-
- Buyer electronic address MUST be provided
-
-
- Seller electronic address MUST be provided
-
-
- Allowance/charge base
+ Invoice total VAT amount and Invoice total VAT amount in accounting currency MUST have the same operational sign
+
+
+
+ No more than one note is allowed on document level.
+
+
+ Buyer electronic address MUST be provided
+
+
+ Seller electronic address MUST be provided
+
+
+ Allowance/charge base
amount MUST be provided when allowance/charge percentage is provided.
-
-
- Allowance/charge percentage
+
+
+ Allowance/charge percentage
MUST be provided when allowance/charge base amount is provided.
-
-
-
+ Allowance/charge amount must equal base amount * percentage/100 if base amount and percentage exists
- Allowance/charge ChargeIndicator value MUST equal 'true' or 'false'
-
-
- Allowance/charge ChargeIndicator value MUST equal 'true' or 'false'
-
- Allowance/charge ChargeIndicator value MUST equal 'true' or 'false'
+
+
+ Allowance/charge ChargeIndicator value MUST equal 'true' or 'false'
+
+
- Mandate reference MUST be provided for direct debit.
-
-
- Start date of line period MUST be within invoice period.
-
-
- End date of line period MUST be within invoice period.
-
-
- Mandate reference MUST be provided for direct debit.
+
+
+ Start date of line period MUST be within invoice period.
+
+
+ End date of line period MUST be within invoice period.
+
+
+
-
-
-
-
-
- Invoice line net amount MUST equal (Invoiced quantity * (Item net price/item price base quantity) + Sum of invoice line charge amount - sum of invoice line allowance amount
- Only one invoiced object is allowed pr line
- Element Document reference can only be used for Invoice line object
-
-
- Base quantity MUST be a positive number above zero.
-
-
-
-
- Unit code of price base quantity MUST be same as invoiced quantity.
-
-
-
- GLN must have a valid format according to GS1 rules.
-
-
- Norwegian organization number MUST be stated in the correct format.
-
-
- Danish organization number (CVR) MUST be stated in the correct format.
-
-
-
-
-
-
- Most invoice issuers are required to append "Foretaksregisteret" to
+ Invoice line net amount MUST equal (Invoiced quantity * (Item net price/item price base quantity) + Sum of invoice line charge amount - sum of invoice line allowance amount
+ Only one invoiced object is allowed pr line
+ Element Document reference can only be used for Invoice line object
+
+
+ Base quantity MUST be a positive number above zero.
+
+
+
+
+ Unit code of price base quantity MUST be same as invoiced quantity.
+
+
+
+ GLN must have a valid format according to GS1 rules.
+
+
+ Norwegian organization number MUST be stated in the correct format.
+
+
+ Danish organization number (CVR) MUST be stated in the correct format.
+
+
+
+
+
+
+ Most invoice issuers are required to append "Foretaksregisteret" to
their invoice. "Dersom selger er aksjeselskap, allmennaksjeselskap eller filial av
utenlandsk selskap skal også ordet «Foretaksregisteret» fremgå av salgsdokumentet,
jf. foretaksregisterloven § 10-2."
- For Norwegian suppliers, a VAT number MUST be the country code prefix NO followed by a valid Norwegian organization number (nine numbers) followed by the letters MVA.
-
-
-
-
-
-
-
-
-
-
-
-
- Danish suppliers MUST provide legal entity.
-
-
-
+
+
+
+
+ Danish suppliers MUST provide legal entity.
+
+ When specifying non-VAT Taxes, Danish suppliers MUST use the SpecifiedTradeAllowanceCharge/ReasonCode="ZZZ" and the 4-digit Tax category MUST be specified as Reason
- When specifying non-VAT Taxes, Danish suppliers MUST use the SpecifiedTradeAllowanceCharge/ReasonCode="ZZZ" and the 4-digit Tax category MUST be specified as Reason
+ For Danish Suppliers it is mandatory to use schemeID when GlobalID is used for SellerTradeParty or BuyerTradeParty
-
- For Danish Suppliers it is mandatory to use schemeID when GlobalID is used for SellerTradeParty or BuyerTradeParty
+ For Danish Suppliers it is mandatory to specify schemeID as "0184" when SpecifiedLegalOrganization is used for SellerTradeParty
-
- For Danish Suppliers it is mandatory to specify schemeID as "0184" when SpecifiedLegalOrganization is used for SellerTradeParty
+ For Danish Suppliers, a Credit note cannot have a negative total (DuePayableAmount)
-
-
-
- For Danish Suppliers, a Credit note cannot have a negative total (DuePayableAmount)
+
+
+ For Danish Suppliers SellerTradeParty/SpecifiedTaxRegistration/ID must be specified with DK followed by 8 digits (eg. DK12345678) if used.
-
-
-
- For Danish suppliers the following Payment means type codes are allowed: 1, 10, 31, 42, 48, 49, 50, 58, 59, 93 and 97
-
- For Danish Suppliers SellerTradeParty/SpecifiedTaxRegistration/ID must be specified with DK followed by 8 digits (eg. DK12345678) if used.
+
+
+ For Danish suppliers the following Payment means type codes are allowed: 1, 10, 31, 42, 48, 49, 50, 58, 59, 93 and 97
+ For Danish suppliers, bank account and registration account are mandatory if payment means is 31 or 42
-
- For Danish suppliers, bank account and registration account are mandatory if payment means is 31 or 42
+ For Danish suppliers DirectDebitMandateID and CreditorReferenceID are mandatory when payment means is 49
-
- For Danish suppliers DirectDebitMandateID and CreditorReferenceID are mandatory when payment means is 49
+ For Danish Suppliers PaymentReference is mandatory and MUST start with 01#, 04# or 15# (kortartkode), and PayeePartyCreditorFinancialAccount/IBANID (Giro kontonummer) is mandatory and must be 7 characters long, when payment means equals 50 (Giro)
-
- For Danish Suppliers PaymentReference is mandatory and MUST start with 01#, 04# or 15# (kortartkode), and PayeePartyCreditorFinancialAccount/IBANID (Giro kontonummer) is mandatory and must be 7 characters long, when payment means equals 50 (Giro)
+ For Danish Suppliers if the PaymentReference is prefixed with 04# or 015# the 16 digits instruction Id must be added to the PaymentReference eg. "04#1234567890123456" when Payment means equals 50 (Giro)
-
- For Danish Suppliers if the PaymentReference is prefixed with 04# or 015# the 16 digits instruction Id must be added to the PaymentReference eg. "04#1234567890123456" when Payment means equals 50 (Giro)
+ For Danish Suppliers the PaymentReference is mandatory and MUST start with 71#, 73# or 75# (kortartkode) and and PayeePartyCreditorFinancialAccount/IBANID (Kreditornummer) is mandatory and must be exactly 8 characters long, when Payment means equals 93 (FIK)
-
- For Danish Suppliers the PaymentReference is mandatory and MUST start with 71#, 73# or 75# (kortartkode) and and PayeePartyCreditorFinancialAccount/IBANID (Kreditornummer) is mandatory and must be exactly 8 characters long, when Payment means equals 93 (FIK)
+ For Danish Suppliers if the PaymentReference is prefixed with 71# or 75# the 15-16 digits instruction Id must be added to the PaymentReference eg. "71#1234567890123456" when payment Method equals 93 (FIK)
-
-
-
-
- For Danish Suppliers if the PaymentReference is prefixed with 71# or 75# the 15-16 digits instruction Id must be added to the PaymentReference eg. "71#1234567890123456" when payment Method equals 93 (FIK)
+
+
+
+ If ItemClassification is provided from Danish suppliers, UNSPSC version 19.0501 should be used
-
-
-
-
-
-
- [IT-R-001] BT-32 (Seller tax registration identifier) - For Italian suppliers BT-32 minimum length 11 and maximum length shall be 16. Per i fornitori italiani il BT-32 deve avere una lunghezza tra 11 e 16 caratteri
-
-
- [IT-R-002] BT-35 (Seller address line 1) - Italian suppliers MUST provide the postal address line 1 - I fornitori italiani devono indicare l'indirizzo postale.
- [IT-R-003] BT-37 (Seller city) - Italian suppliers MUST provide the postal address city - I fornitori italiani devono indicare la città di residenza.
- [IT-R-004] BT-38 (Seller post code) - Italian suppliers MUST provide the postal address post code - I fornitori italiani devono indicare il CAP di residenza.
-
-
-
-
-
- For Swedish suppliers, Swedish VAT-numbers must consist of 14 characters.
- For Swedish suppliers, the Swedish VAT-numbers must have the trailing 12 characters in numeric form
-
-
- Swedish organisation numbers should be numeric.
- Swedish organisation numbers consist of 10 characters.
-
-
- For Swedish suppliers, when using Seller tax registration identifier, 'Godkänd för F-skatt' must be stated
-
-
- For Swedish suppliers, only standard VAT rate of 6, 12 or 25 are used
-
-
- For Swedish suppliers using Plusgiro, the Account ID must be numeric
- For Swedish suppliers using Plusgiro, the Account ID must have 2-8 characters
-
-
- For Swedish suppliers using Bankgiro, the Account ID must be numeric
- For Swedish suppliers using Bankgiro, the Account ID must have 7-8 characters
-
-
- For Swedish suppliers using Swedish Bankgiro or Plusgiro, the proper way to indicate this is to use Code 30 for PaymentMeans and FinancialInstitutionBranch ID with code SE:BANKGIRO or SE:PLUSGIRO
-
-
-
-
-
-
-
-
-
-
-
-
-
- If ItemClassification is provided from Danish suppliers, UNSPSC version 19.0501 should be used
+
+
+
+
+
+ [IT-R-001] BT-32 (Seller tax registration identifier) - For Italian suppliers BT-32 minimum length 11 and maximum length shall be 16. Per i fornitori italiani il BT-32 deve avere una lunghezza tra 11 e 16 caratteri
+
+
+ [IT-R-002] BT-35 (Seller address line 1) - Italian suppliers MUST provide the postal address line 1 - I fornitori italiani devono indicare l'indirizzo postale.
+ [IT-R-003] BT-37 (Seller city) - Italian suppliers MUST provide the postal address city - I fornitori italiani devono indicare la città di residenza.
+ [IT-R-004] BT-38 (Seller post code) - Italian suppliers MUST provide the postal address post code - I fornitori italiani devono indicare il CAP di residenza.
+
+
+
+
+
+ For Swedish suppliers, Swedish VAT-numbers must consist of 14 characters.
+ For Swedish suppliers, the Swedish VAT-numbers must have the trailing 12 characters in numeric form
+
+
+ Swedish organisation numbers should be numeric.
+ Swedish organisation numbers consist of 10 characters.
+
+
+ For Swedish suppliers, when using Seller tax registration identifier, 'Godkänd för F-skatt' must be stated
+
+
+ For Swedish suppliers, only standard VAT rate of 6, 12 or 25 are used
+
+
+ For Swedish suppliers using Plusgiro, the Account ID must be numeric
+ For Swedish suppliers using Plusgiro, the Account ID must have 2-8 characters
+
+
+ For Swedish suppliers using Bankgiro, the Account ID must be numeric
+ For Swedish suppliers using Bankgiro, the Account ID must have 7-8 characters
+
+
+ For Swedish suppliers using Swedish Bankgiro or Plusgiro, the proper way to indicate this is to use Code 30 for PaymentMeans and FinancialInstitutionBranch ID with code SE:BANKGIRO or SE:PLUSGIRO
+
+
+ For domestic transactions between Swedish trading partners, credit transfer should be indicated by PaymentMeansCode=”30”
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Mime code must be according to subset of IANA code list.
-
-
-
+ Reason code MUST be according to subset of UNCL 5189 D.16B.
-
-
-
+ Reason code MUST be according to UNCL 7161 D.16B.
-
-
-
-
+ Currency code must be according to ISO 4217:2005
-
-
-
+ Invoice type code MUST be set according to the profile.
-
-
-
- A date MUST be formatted YYYYMMDD.
-
-
-
+ A date MUST be formatted YYYYMMDD.
+
+
+ Electronic address identifier scheme must be from the codelist "Electronic Address Identifier Scheme"
-
-
+
+
diff --git a/rules/sch/PEPPOL-EN16931-UBL.sch b/rules/sch/PEPPOL-EN16931-UBL.sch
index f775bfb9..a7276007 100644
--- a/rules/sch/PEPPOL-EN16931-UBL.sch
+++ b/rules/sch/PEPPOL-EN16931-UBL.sch
@@ -3,20 +3,20 @@
This schematron uses business terms defined the CEN/EN16931-1 and is reproduced with permission from CEN. CEN bears no liability from the use of the content and implementation of this schematron and gives no warranties expressed or implied for any purpose.
-->
- Rules for PEPPOL BIS 3.0 Billing
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
-
+
@@ -69,71 +77,71 @@ This schematron uses business terms defined the CEN/EN16931-1 and is reproduced
R1XX - Line level
R11X - Invoice period
-->
-
-
-
- Business process MUST be provided.
- Business process MUST be in the format 'urn:fdc:peppol.eu:2017:poacc:billing:NN:1.0' where NN indicates the process number.
- No more than one note is allowed on document level.
- A buyer reference or purchase order reference MUST be provided.
- Specification identifier MUST have the value 'urn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:billing:3.0'.
- Only one tax total with tax subtotals MUST be provided.
- Only one tax total without tax subtotals MUST be provided when tax currency code is provided.
- Invoice total VAT amount and Invoice total VAT amount in accounting currency MUST have the same operational sign
- Only one invoiced object is allowed on document level
- Only one project reference is allowed on document level
-
-
- VAT accounting currency code MUST be different from invoice currency code when provided.
-
-
-
- Buyer electronic address MUST be provided
-
-
-
- Seller electronic address MUST be provided
-
-
-
- Allowance/charge base amount MUST be provided when allowance/charge percentage is provided.
-
-
- Allowance/charge percentage MUST be provided when allowance/charge base amount is provided.
-
-
-
+ Business process MUST be provided.
+ Business process MUST be in the format 'urn:fdc:peppol.eu:2017:poacc:billing:NN:1.0' where NN indicates the process number.
+ No more than one note is allowed on document level.
+ A buyer reference or purchase order reference MUST be provided.
+ Specification identifier MUST have the value 'urn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:billing:3.0'.
+ Only one tax total with tax subtotals MUST be provided.
+ Only one tax total without tax subtotals MUST be provided when tax currency code is provided.
+ Invoice total VAT amount and Invoice total VAT amount in accounting currency MUST have the same operational sign
+ Only one invoiced object is allowed on document level
+ Only one project reference is allowed on document level
+
+
+ VAT accounting currency code MUST be different from invoice currency code when provided.
+
+
+
+ Buyer electronic address MUST be provided
+
+
+
+ Seller electronic address MUST be provided
+
+
+
+ Allowance/charge base amount MUST be provided when allowance/charge percentage is provided.
+
+
+ Allowance/charge percentage MUST be provided when allowance/charge base amount is provided.
+
+
+ Allowance/charge amount must equal base amount * percentage/100 if base amount and percentage exists
- Allowance/charge ChargeIndicator value MUST equal 'true' or 'false'
-
-
- Allowance/charge ChargeIndicator value MUST equal 'true' or 'false'
+
+
+
- Mandate reference MUST be provided for direct debit.
-
-
-
- All currencyID attributes must have the same value as the invoice currency code (BT-5), except for the invoice total VAT amount in accounting currency (BT-111).
-
-
-
- Start date of line period MUST be within invoice period.
-
-
- End date of line period MUST be within invoice period.
-
-
-
- Mandate reference MUST be provided for direct debit.
+
+
+
+ All currencyID attributes must have the same value as the invoice currency code (BT-5), except for the invoice total VAT amount in accounting currency (BT-111).
+
+
+
+ Start date of line period MUST be within invoice period.
+
+
+ End date of line period MUST be within invoice period.
+
+
+
+
-
-
-
-
-
- Invoice line net amount MUST equal (Invoiced quantity * (Item net price/item price base quantity) + Sum of invoice line charge amount - sum of invoice line allowance amount
- Base quantity MUST be a positive number above zero.
- Only one invoiced object is allowed pr line
- Element Document reference can only be used for Invoice line object
-
-
-
- Charge on price level is NOT allowed. Only value 'false' allowed.
- Item net price MUST equal (Gross price - Allowance amount) when gross price is provided.
-
-
-
-
- Invoice line net amount MUST equal (Invoiced quantity * (Item net price/item price base quantity) + Sum of invoice line charge amount - sum of invoice line allowance amount
+ Base quantity MUST be a positive number above zero.
+ Only one invoiced object is allowed pr line
+ Element Document reference can only be used for Invoice line object
+
+
+
+ Charge on price level is NOT allowed. Only value 'false' allowed.
+ Item net price MUST equal (Gross price - Allowance amount) when gross price is provided.
+
+
+
+
+
- Unit code of price base quantity MUST be same as invoiced quantity.
-
-
-
- GLN must have a valid format according to GS1 rules.
-
-
- Norwegian organization number MUST be stated in the correct format.
-
-
- Danish organization number (CVR) MUST be stated in the correct format.
-
-
-
-
-
-
-
- For Norwegian suppliers, most invoice issuers are required to append "Foretaksregisteret" to their
+ Unit code of price base quantity MUST be same as invoiced quantity.
+
+
+
+ GLN must have a valid format according to GS1 rules.
+
+
+ Norwegian organization number MUST be stated in the correct format.
+
+
+ Danish organization number (CVR) MUST be stated in the correct format.
+
+
+
+
+
+
+ For Norwegian suppliers, most invoice issuers are required to append "Foretaksregisteret" to their
invoice. "Dersom selger er aksjeselskap, allmennaksjeselskap eller filial av utenlandsk
selskap skal også ordet «Foretaksregisteret» fremgå av salgsdokumentet, jf.
foretaksregisterloven § 10-2."
- For Norwegian suppliers, a VAT number MUST be the country code prefix NO followed by a valid Norwegian organization number (nine numbers) followed by the letters MVA.
-
-
-
-
-
-
-
-
-
-
- Danish suppliers MUST provide legal entity (CVR-number)
-
-
+
+
+
+ Danish suppliers MUST provide legal entity (CVR-number)
+ For Danish Suppliers it is mandatory to specify schemeID as "0184" (DK CVR-number) when PartyLegalEntity/CompanyID is used for AccountingSupplierParty
-
- For Danish Suppliers it is mandatory to specify schemeID as "0184" (DK CVR-number) when PartyLegalEntity/CompanyID is used for AccountingSupplierParty
+ For Danish Suppliers, if specified, AccountingSupplierParty/PartyTaxScheme/CompanyID (DK VAT number) must start with DK followed by 8 digits
-
- For Danish Suppliers, if specified, AccountingSupplierParty/PartyTaxScheme/CompanyID (DK VAT number) must start with DK followed by 8 digits
+ For Danish Suppliers, a Credit note cannot have a negative total (PayableAmount)
-
-
-
- For Danish Suppliers, a Credit note cannot have a negative total (PayableAmount)
+
+
+ For Danish Suppliers it is mandatory to use schemeID when PartyIdentification/ID is used for AccountingCustomerParty or AccountingSupplierParty
-
-
-
- For Danish suppliers the following Payment means codes are allowed: 1, 10, 31, 42, 48, 49, 50, 58, 59, 93 and 97
- For Danish Suppliers it is mandatory to use schemeID when PartyIdentification/ID is used for AccountingCustomerParty or AccountingSupplierParty
+
+
+ For Danish suppliers the following Payment means codes are allowed: 1, 10, 31, 42, 48, 49, 50, 58, 59, 93 and 97
+ For Danish suppliers bank account and registration account is mandatory if payment means is 31 or 42
- For Danish suppliers bank account and registration account is mandatory if payment means is 31 or 42
+ For Danish suppliers PaymentMandate/ID and PayerFinancialAccount/ID are mandatory when payment means is 49
- For Danish suppliers PaymentMandate/ID and PayerFinancialAccount/ID are mandatory when payment means is 49
+ For Danish Suppliers PaymentID is mandatory and MUST start with 01#, 04# or 15# (kortartkode), and PayeeFinancialAccount/ID (Giro kontonummer) is mandatory and must be 7 characters long, when payment means equals 50 (Giro)
- For Danish Suppliers PaymentID is mandatory and MUST start with 01#, 04# or 15# (kortartkode), and PayeeFinancialAccount/ID (Giro kontonummer) is mandatory and must be 7 characters long, when payment means equals 50 (Giro)
+ For Danish Suppliers if the PaymentID is prefixed with 04# or 15# the 16 digits instruction Id must be added to the PaymentID eg. "04#1234567890123456" when Payment means equals 50 (Giro)
- For Danish Suppliers if the PaymentID is prefixed with 04# or 15# the 16 digits instruction Id must be added to the PaymentID eg. "04#1234567890123456" when Payment means equals 50 (Giro)
+ For Danish Suppliers the PaymentID is mandatory and MUST start with 71#, 73# or 75# (kortartkode) and PayeeFinancialAccount/ID (Kreditornummer) is mandatory and must be exactly 8 characters long, when Payment means equals 93 (FIK)
- For Danish Suppliers the PaymentID is mandatory and MUST start with 71#, 73# or 75# (kortartkode) and PayeeFinancialAccount/ID (Kreditornummer) is mandatory and must be exactly 8 characters long, when Payment means equals 93 (FIK)
+ For Danish Suppliers if the PaymentID is prefixed with 71# or 75# the 15-16 digits instruction Id must be added to the PaymentID eg. "71#1234567890123456" when payment Method equals 93 (FIK)
-
-
-
-
- For Danish Suppliers if the PaymentID is prefixed with 71# or 75# the 15-16 digits instruction Id must be added to the PaymentID eg. "71#1234567890123456" when payment Method equals 93 (FIK)
+
+
+
+ If ItemClassification is provided from Danish suppliers, UNSPSC version 19.0501 should be used.
-
-
-
-
- If ItemClassification is provided from Danish suppliers, UNSPSC version 19.0501 should be used.
+
+
+
+ When specifying non-VAT Taxes, Danish suppliers MUST use the AllowanceChargeReasonCode="ZZZ" and the 4-digit Tax category MUST be specified in 'AllowanceChargeReason'
-
-
+ )" flag="fatal">When specifying non-VAT Taxes, Danish suppliers MUST use the AllowanceChargeReasonCode="ZZZ" and the 4-digit Tax category MUST be specified in 'AllowanceChargeReason'
+
+
+
+
+
+ [IT-R-001] BT-32 (Seller tax registration identifier) - For Italian suppliers BT-32 minimum length 11 and maximum length shall be 16. Per i fornitori italiani il BT-32 deve avere una lunghezza tra 11 e 16 caratteri
+
+
+ [IT-R-002] BT-35 (Seller address line 1) - Italian suppliers MUST provide the postal address line 1 - I fornitori italiani devono indicare l'indirizzo postale.
+ [IT-R-003] BT-37 (Seller city) - Italian suppliers MUST provide the postal address city - I fornitori italiani devono indicare la città di residenza.
+ "> [IT-R-004] BT-38 (Seller post code) - Italian suppliers MUST provide the postal address post code - I fornitori italiani devono indicare il CAP di residenza.
+
+
+
+
+
+ For Swedish suppliers, Swedish VAT-numbers must consist of 14 characters.
+ For Swedish suppliers, the Swedish VAT-numbers must have the trailing 12 characters in numeric form
+
+
+ Swedish organisation numbers should be numeric.
+ Swedish organisation numbers consist of 10 characters.
+
+
+ For Swedish suppliers, when using Seller tax registration identifier, 'Godkänd för F-skatt' must be stated
+
+
+ For Swedish suppliers, only standard VAT rate of 6, 12 or 25 are used
+
+
+ For Swedish suppliers using Plusgiro, the Account ID must be numeric
+ For Swedish suppliers using Plusgiro, the Account ID must have 2-8 characters
+
+
+ For Swedish suppliers using Bankgiro, the Account ID must be numeric
+ For Swedish suppliers using Bankgiro, the Account ID must have 7-8 characters
+
+
+ For Swedish suppliers using Swedish Bankgiro or Plusgiro, the proper way to indicate this is to use Code 30 for PaymentMeans and FinancialInstitutionBranch ID with code SE:BANKGIRO or SE:PLUSGIRO
+
+
+ For domestic transactions between Swedish trading partners, credit transfer should be indicated by PaymentMeansCode=”30”
+
+
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
- [IT-R-001] BT-32 (Seller tax registration identifier) - For Italian suppliers BT-32 minimum length 11 and maximum length shall be 16. Per i fornitori italiani il BT-32 deve avere una lunghezza tra 11 e 16 caratteri
+
+
+
+
+
+
+
+
+ When the Supplier is Greek, the Invoice Id should consist of 6 segments
+ When the Supplier is Greek, the Invoice Id first segment must be a valid TIN Number and match either the Supplier's or the Tax Representative's Tin Number
+
+ When the Supplier is Greek, the Invoice Id second segment must be a valid Date that matches the invoice Issue Date
+ When Supplier is Greek, the Invoice Id third segment must be a positive integer
+ When Supplier is Greek, the Invoice Id in the fourth segment must be a valid greek document type
+ When Supplier is Greek, the Invoice Id fifth segment must not be empty
+ When Supplier is Greek, the Invoice Id sixth segment must not be empty
+
-
- [IT-R-002] BT-35 (Seller address line 1) - Italian suppliers MUST provide the postal address line 1 - I fornitori italiani devono indicare l'indirizzo postale.
- [IT-R-003] BT-37 (Seller city) - Italian suppliers MUST provide the postal address city - I fornitori italiani devono indicare la città di residenza.
- "> [IT-R-004] BT-38 (Seller post code) - Italian suppliers MUST provide the postal address post code - I fornitori italiani devono indicare il CAP di residenza.
+
+
+
+ Greek Suppliers must provide their full name as they are registered in the Greek Business Registry (G.E.MH.) as a legal entity or in the Tax Registry as a natural person
+
+
+ When greek supplier does not have a VAT number, the tax representative must be present
-
-
-
-
- For Swedish suppliers, Swedish VAT-numbers must consist of 14 characters.
- For Swedish suppliers, the Swedish VAT-numbers must have the trailing 12 characters in numeric form
+
+
+
+ If the Greek Suppliers do not have Greek VAT they must provide the full name of their tax representative in Greece
+ If the Greek Suppliers do not have Greek VAT, they must provide the VAT number of their tax representative
-
- Swedish organisation numbers should be numeric.
- Swedish organisation numbers consist of 10 characters.
+
+
+
+
+ Bad VAT Number for Greek Supplier
-
- For Swedish suppliers, when using Seller tax registration identifier, 'Godkänd för F-skatt' must be stated
+
+
+
+
+ When Supplier is Greek, there must be one MARK Number
+ When Supplier is Greek, there should be one invoice url
+ When Supplier is Greek, there should be no more than one invoice url
-
- For Swedish suppliers, only standard VAT rate of 6, 12 or 25 are used
+
+
+
+ When Supplier is Greek, the MARK Number must be a positive integer
-
- For Swedish suppliers using Plusgiro, the Account ID must be numeric
- For Swedish suppliers using Plusgiro, the Account ID must have 2-8 characters
+
+
+
+ When Supplier is Greek and the INVOICE URL Document reference exists, the External Reference URI should be present
-
- For Swedish suppliers using Bankgiro, the Account ID must be numeric
- For Swedish suppliers using Bankgiro, the Account ID must have 7-8 characters
+
+
+
+ Greek Suppliers must provide the full name of the buyer
-
- For Swedish suppliers using Swedish Bankgiro or Plusgiro, the proper way to indicate this is to use Code 30 for PaymentMeans and FinancialInstitutionBranch ID with code SE:BANKGIRO or SE:PLUSGIRO
+
+
+
+ Greek suppliers that send an invoice through the PEPPOL network must use their TIN number as an electronic address according to PEPPOL Electronic Address Identifier scheme (schemeID 9933).
+
-
+
+
-
-
-
-
-
-
-
-
-
-
+ Greek Suppliers must provide the VAT number of the buyer, if the buyer is Greek
+
+
+
+
+ Greek Suppliers that send an invoice through the PEPPOL network to a greek buyer must use the buyer's TIN number as an electronic address according to PEPPOL Electronic Address Identifier scheme (SchemeID 9933)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Mime code must be according to subset of IANA code list.
-
-
-
+ Reason code MUST be according to subset of UNCL 5189 D.16B.
-
-
-
+ Reason code MUST be according to UNCL 7161 D.16B.
-
-
-
+ Invoice period description code must be according to UNCL 2005 D.16B.
-
-
-
+ Currency code must be according to ISO 4217:2005
-
-
-
+ Invoice type code MUST be set according to the profile.
-
-
-
+ Credit note type code MUST be set according to the profile.
-
-
- A date
+
+
+ A date
MUST be formatted YYYY-MM-DD.
-
-
-
+ Electronic address identifier scheme must be from the codelist "Electronic Address Identifier Scheme"
-
-
-
-
- Tax Category G MUST be used when exemption reason code is VATEX-EU-G
-
-
-
- Tax Category O MUST be used when exemption reason code is VATEX-EU-O
-
-
-
- Tax Category K MUST be used when exemption reason code is VATEX-EU-IC
-
-
-
- Tax Category AE MUST be used when exemption reason code is VATEX-EU-AE
-
-
-
- Tax Category E MUST be used when exemption reason code is VATEX-EU-D
-
-
-
- Tax Category E MUST be used when exemption reason code is VATEX-EU-F
-
-
-
- Tax Category E MUST be used when exemption reason code is VATEX-EU-I
-
-
-
- Tax Category E MUST be used when exemption reason code is VATEX-EU-J
-
-
+
+
+ Tax Category G MUST be used when exemption reason code is VATEX-EU-G
+
+
+ Tax Category O MUST be used when exemption reason code is VATEX-EU-O
+
+
+ Tax Category K MUST be used when exemption reason code is VATEX-EU-IC
+
+
+ Tax Category AE MUST be used when exemption reason code is VATEX-EU-AE
+
+
+ Tax Category E MUST be used when exemption reason code is VATEX-EU-D
+
+
+ Tax Category E MUST be used when exemption reason code is VATEX-EU-F
+
+
+ Tax Category E MUST be used when exemption reason code is VATEX-EU-I
+
+
+ Tax Category E MUST be used when exemption reason code is VATEX-EU-J
+
+
diff --git a/rules/unit-CII-SE/CII-IN_SE-R-005.xml b/rules/unit-CII-SE/CII-IN_SE-R-005.xml
index ed9172b3..cf872c89 100644
--- a/rules/unit-CII-SE/CII-IN_SE-R-005.xml
+++ b/rules/unit-CII-SE/CII-IN_SE-R-005.xml
@@ -16,8 +16,7 @@
xmlns:ram="urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:100"
xmlns:qdt="urn:un:unece:uncefact:data:Standard:QualifiedDataType:100"
xmlns:udt="urn:un:unece:uncefact:data:standard:UnqualifiedDataType:100"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="urn:un:unece:uncefact:data:standard:CrossIndustryInvoice_100pD16B.xsd">
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
@@ -260,8 +259,7 @@
xmlns:ram="urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:100"
xmlns:qdt="urn:un:unece:uncefact:data:Standard:QualifiedDataType:100"
xmlns:udt="urn:un:unece:uncefact:data:standard:UnqualifiedDataType:100"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="urn:un:unece:uncefact:data:standard:CrossIndustryInvoice_100pD16B.xsd">
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
diff --git a/rules/unit-CII-SE/CII-IN_SE-R-012.xml b/rules/unit-CII-SE/CII-IN_SE-R-012.xml
new file mode 100644
index 00000000..0c738039
--- /dev/null
+++ b/rules/unit-CII-SE/CII-IN_SE-R-012.xml
@@ -0,0 +1,471 @@
+
+
+
+ SE with payment code 31
+ SE-R-012
+
+
+
+ SE-R-012
+
+
+
+
+
+
+ urn:fdc:peppol.eu:2017:poacc:billing:01:1.0
+
+
+ urn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:billing:3.0
+
+
+
+
+ 2018210
+ 380
+
+ 20180208
+
+
+
+
+
+
+
+ 1
+
+
+ Printing paper
+
+
+
+ 1
+
+
+
+ 1000
+
+
+
+ VAT
+ S
+ 25
+
+
+ 1000
+
+
+
+
+
+
+ 2
+
+
+ Parker Pen
+
+
+
+ 5
+
+
+
+ 100
+
+
+
+ VAT
+ S
+ 25
+
+
+ 500
+
+
+
+
+
+
+ 3
+
+
+ Eraser P-97
+
+
+
+ 5
+
+
+
+ 500
+
+
+
+ VAT
+ S
+ 12
+
+
+ 2500
+
+
+
+
+
+ Ref 123
+
+ Allsälj AB
+
+ 1234567890
+
+
+ SE
+
+
+ 5566778899
+
+
+ SE123456789001
+
+
+ Godkänd för F-skatt
+
+
+
+
+ Buyercompany ltd
+
+ SE
+
+
+ 1234512345
+
+
+
+
+
+
+
+ 08/00355
+ SEK
+
+
+ 30
+
+ 123456
+
+
+ BANKSBIC
+
+
+
+ 30
+
+ 1234567
+
+
+ SE:BANKGIRO
+
+
+
+ 30
+
+ 12345678
+
+
+ SE:PLUSGIRO
+
+
+
+
+ 375
+ VAT
+ 1500
+ S
+ 25
+
+
+ 300
+ VAT
+ 2500
+ S
+ 12
+
+
+
+
+ false
+
+ 10
+ 0
+ 0
+ 95
+ Loyal customer
+
+ VAT
+ S
+ 25
+
+
+
+
+ true
+
+ 10
+ 0
+ 0
+ ABL
+ Packaging
+
+ VAT
+ S
+ 25
+
+
+
+
+
+ 20180307
+
+
+
+ 4000
+ 0
+ 0
+ 4000
+ 675
+ 4675
+ 4675
+
+
+
+
+
+
+
+
+
+ SE-R-012
+
+
+
+
+
+ urn:fdc:peppol.eu:2017:poacc:billing:01:1.0
+
+
+ urn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:billing:3.0
+
+
+
+
+ 2018210
+ 380
+
+ 20180208
+
+
+
+
+
+
+
+ 1
+
+
+ Printing paper
+
+
+
+ 1
+
+
+
+ 1000
+
+
+
+ VAT
+ S
+ 25
+
+
+ 1000
+
+
+
+
+
+
+ 2
+
+
+ Parker Pen
+
+
+
+ 5
+
+
+
+ 100
+
+
+
+ VAT
+ S
+ 25
+
+
+ 500
+
+
+
+
+
+
+ 3
+
+
+ Eraser P-97
+
+
+
+ 5
+
+
+
+ 500
+
+
+
+ VAT
+ S
+ 12
+
+
+ 2500
+
+
+
+
+
+ Ref 123
+
+ Allsälj AB
+
+ 1234567890
+
+
+ SE
+
+
+ 5566778899
+
+
+ SE123456789001
+
+
+
+
+ Buyercompany ltd
+
+ SE
+
+
+ 1234512345
+
+
+
+
+
+
+
+ 08/00355
+ SEK
+
+
+ 31
+
+ 123456
+
+
+
+
+ 375
+ VAT
+ 1500
+ S
+ 25
+
+
+ 300
+ VAT
+ 2500
+ S
+ 12
+
+
+
+
+ false
+
+ 10
+ 0
+ 0
+ 95
+ Loyal customer
+
+ VAT
+ S
+ 25
+
+
+
+
+ true
+
+ 10
+ 0
+ 0
+ ABL
+ Packaging
+
+ VAT
+ S
+ 25
+
+
+
+
+
+ 20180307
+
+
+
+ 4000
+ 0
+ 0
+ 4000
+ 675
+ 4675
+ 4675
+
+
+
+
+
+
+
+
+
diff --git a/rules/unit-UBL-GR/GR_Validation_GRR001.xml b/rules/unit-UBL-GR/GR_Validation_GRR001.xml
new file mode 100644
index 00000000..9456fcbd
--- /dev/null
+++ b/rules/unit-UBL-GR/GR_Validation_GRR001.xml
@@ -0,0 +1,384 @@
+
+
+
+ Greek suppliers MUST follow the proper Invoice ID Structure.
+ GR-R-001-1
+ GR-R-001-2
+ GR-R-001-3
+ GR-R-001-4
+ GR-R-001-5
+ GR-R-001-6
+ GR-R-001-7
+
+
+
+ GR-R-001-1
+
+
+ 061828591|01/10/2010|0|1.1|0|1
+ 2010-10-01
+
+
+
+
+ GR
+
+
+
+ EL0618285912
+
+ VAT
+
+
+
+
+
+
+
+
+ GR-R-001-1
+ GR-R-001-2
+ GR-R-001-3
+ GR-R-001-4
+ GR-R-001-5
+ GR-R-001-6
+ GR-R-001-7
+
+
+ 06182859
+ 2020-10-01
+
+
+
+
+ GR
+
+
+
+ EL0618285912
+
+ VAT
+
+
+
+
+
+
+
+
+ GR-R-001-2
+
+
+ 06182859|01/10/2010|0|1.1|0|1
+ 2010-10-01
+
+
+
+
+ GR
+
+
+
+ EL0618285912
+
+ VAT
+
+
+
+
+
+
+
+
+ GR-R-001-2
+
+
+ 061828591|01/10/2010|0|1.1|0|1
+ 2010-10-01
+
+
+
+
+ GR
+
+
+
+ EL061828592
+
+ VAT
+
+
+
+
+
+
+
+
+ GR-R-001-2
+
+
+ 061828591|01/10/2010|0|1.1|0|1
+ 2010-10-01
+
+
+
+
+ GR
+
+
+
+ EL061828591
+
+ VAT
+
+
+
+
+
+
+
+
+ GR-R-001-3
+
+
+ 061828591|41/20/2010|0|1.1|0|1
+ 2010-10-01
+
+
+
+
+ GR
+
+
+
+ EL0618285912
+
+ VAT
+
+
+
+
+
+
+
+
+ GR-R-001-3
+
+
+ 061828591|01/01/2010|0|1.1|0|1
+ 2020-10-01
+
+
+
+
+ GR
+
+
+
+ EL0618285912
+
+ VAT
+
+
+
+
+
+
+
+
+ GR-R-001-3
+
+
+ 061828591|01/01/2010|0|1.1|0|1
+ 2010-01-01
+
+
+
+
+ GR
+
+
+
+ EL0618285912
+
+ VAT
+
+
+
+
+
+
+
+
+ GR-R-001-4
+
+
+ 061828591|11/11/2010||1.1|0|1
+ 2010-11-11
+
+
+
+
+ GR
+
+
+
+ EL0618285912
+
+ VAT
+
+
+
+
+
+
+
+
+ GR-R-001-4
+
+
+ 061828591|11/11/2010|fgh|1.1|0|1
+ 2010-11-11
+
+
+
+
+ GR
+
+
+
+ EL0618285912
+
+ VAT
+
+
+
+
+
+
+
+
+ GR-R-001-5
+
+
+ 061828591|11/11/2010|0|33|0|1
+ 2010-11-11
+
+
+
+
+ GR
+
+
+
+ EL0618285912
+
+ VAT
+
+
+
+
+
+
+
+
+ GR-R-001-5
+
+
+ 061828591|11/11/2010|0||0|1
+ 2010-11-11
+
+
+
+
+ GR
+
+
+
+ EL0618285912
+
+ VAT
+
+
+
+
+
+
+
+
+ GR-R-001-6
+ GR-R-001-7
+
+
+ 061828591|11/11/2010|0|11.1||
+ 2010-11-11
+
+
+
+
+ GR
+
+
+
+ EL0618285912
+
+ VAT
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/rules/unit-UBL-GR/GR_Validation_GRR002.xml b/rules/unit-UBL-GR/GR_Validation_GRR002.xml
new file mode 100644
index 00000000..df10c350
--- /dev/null
+++ b/rules/unit-UBL-GR/GR_Validation_GRR002.xml
@@ -0,0 +1,66 @@
+
+
+
+ Greek suppliers MUST provide the Party Name of the Supplier.
+ GR-R-002
+
+
+
+ GR-R-002
+
+
+ 061828591|01/10/2010|0|1.1|0|1
+
+
+
+
+ GR
+
+
+
+ EL0618285912
+
+ VAT
+
+
+
+
+
+
+
+
+
+ GR-R-002
+
+
+ 061828591|01/10/2010|0|1.1|0|1
+
+
+
+ SupplierTradingName Ltd.
+
+
+
+ GR
+
+
+
+ EL0618285912
+
+ VAT
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/rules/unit-UBL-GR/GR_Validation_GRR003.xml b/rules/unit-UBL-GR/GR_Validation_GRR003.xml
new file mode 100644
index 00000000..f19f46a0
--- /dev/null
+++ b/rules/unit-UBL-GR/GR_Validation_GRR003.xml
@@ -0,0 +1,64 @@
+
+
+
+ Greek suppliers MUST follow the proper VAT Number structure.
+ GR-R-003
+
+
+
+ GR-R-003
+
+
+
+
+
+
+ GR
+
+
+
+ EL123123
+
+ VAT
+
+
+
+
+
+
+
+
+
+ GR-R-003
+
+
+
+
+
+ SupplierTradingName Ltd.
+
+
+
+ GR
+
+
+
+ EL061828591
+
+ VAT
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/rules/unit-UBL-GR/GR_Validation_GRR004.xml b/rules/unit-UBL-GR/GR_Validation_GRR004.xml
new file mode 100644
index 00000000..17a6974f
--- /dev/null
+++ b/rules/unit-UBL-GR/GR_Validation_GRR004.xml
@@ -0,0 +1,169 @@
+
+
+
+ Greek Suppliers must provide the Unique Invoice Registration Number (invoiceMark)
+ GR-R-004-1
+ GR-R-004-2
+
+
+
+ GR-R-004-1
+
+
+
+
+
+
+ GR
+
+
+
+ EL123123
+
+ VAT
+
+
+
+
+
+
+ 1123
+ ##M.AR.K##
+
+
+
+ 11234
+ ##M.AR.K##
+
+
+
+
+
+
+ GR-R-004-1
+
+
+
+
+
+
+ GR
+
+
+
+ EL123123
+
+ VAT
+
+
+
+
+
+
+
+
+
+ GR-R-004-2
+
+
+
+
+
+
+ GR
+
+
+
+ EL123123
+
+ VAT
+
+
+
+
+
+ dsfgsdf
+ ##M.AR.K##
+
+
+
+
+
+
+ GR-R-004-2
+
+
+
+
+
+
+ GR
+
+
+
+ EL123123
+
+ VAT
+
+
+
+
+
+ 00009
+ ##M.AR.K##
+
+
+
+
+
+
+ GR-R-004-1
+
+
+
+
+
+ SupplierTradingName Ltd.
+
+
+
+ GR
+
+
+
+ EL061828591
+
+ VAT
+
+
+
+
+
+
+ 1123
+ ##M.AR.K##
+
+
+
+
+
\ No newline at end of file
diff --git a/rules/unit-UBL-GR/GR_Validation_GRR005.xml b/rules/unit-UBL-GR/GR_Validation_GRR005.xml
new file mode 100644
index 00000000..82bd7429
--- /dev/null
+++ b/rules/unit-UBL-GR/GR_Validation_GRR005.xml
@@ -0,0 +1,80 @@
+
+
+
+ Greek Suppliers MUST provide the buyer's full name
+ GR-R-005
+
+
+
+ GR-R-005
+
+
+
+
+
+
+ GR
+
+
+
+ EL123123
+
+ VAT
+
+
+
+
+
+
+
+ SE
+
+
+
+
+
+
+
+
+ GR-R-005
+
+
+
+
+
+ SupplierTradingName Ltd.
+
+
+
+ GR
+
+
+
+ EL061828591
+
+ VAT
+
+
+
+
+
+
+ BuyerName
+
+ SE
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/rules/unit-UBL-GR/GR_Validation_GRR006.xml b/rules/unit-UBL-GR/GR_Validation_GRR006.xml
new file mode 100644
index 00000000..d573abf4
--- /dev/null
+++ b/rules/unit-UBL-GR/GR_Validation_GRR006.xml
@@ -0,0 +1,136 @@
+
+
+
+ Greek Suppliers must provide the VAT number of the buyer, if the buyer is Greek
+ GR-R-006
+
+
+
+ GR-R-006
+
+
+
+
+
+
+ GR
+
+
+
+ EL123123
+
+ VAT
+
+
+
+
+
+
+
+
+ GR
+
+
+
+
+
+
+
+
+
+ GR-R-006
+
+
+
+
+
+ SupplierTradingName Ltd.
+
+
+
+ GR
+
+
+
+ EL061828591
+
+ VAT
+
+
+
+
+
+
+ BuyerName
+
+
+ GR
+
+
+
+ EL061828591
+
+ VAT
+
+
+
+
+
+
+
+
+
+
+ GR-R-006
+
+
+
+
+
+ SupplierTradingName Ltd.
+
+
+
+ GR
+
+
+
+ EL061828591
+
+ VAT
+
+
+
+
+
+
+ BuyerName
+
+
+ GR
+
+
+
+ EL22222222
+
+ VAT
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/rules/unit-UBL-GR/GR_Validation_GRR007.xml b/rules/unit-UBL-GR/GR_Validation_GRR007.xml
new file mode 100644
index 00000000..db167f24
--- /dev/null
+++ b/rules/unit-UBL-GR/GR_Validation_GRR007.xml
@@ -0,0 +1,141 @@
+
+
+
+ If the Greek Suppliers do not have Greek VAT they must provide their tax representative Information in Greece
+ GR-R-007-1
+ GR-R-007-2
+ GR-R-007-3
+
+
+
+ GR-R-007-1
+ GR-R-007-2
+ GR-R-007-3
+
+
+
+
+
+
+ GR
+
+
+
+
+
+
+
+ TaxRepresentative Name
+
+
+
+ GR
+
+
+ EL061828591
+
+ VAT
+
+
+
+
+
+
+
+ GR-R-007-1
+ GR-R-007-2
+ GR-R-007-3
+
+
+
+
+
+
+ GR
+
+
+
+
+
+
+
+ TaxRepresentative Name
+
+
+
+ GR
+
+
+ EL061828592
+
+ VAT
+
+
+
+
+
+
+
+ GR-R-007-1
+ GR-R-007-2
+ GR-R-007-3
+
+
+
+
+
+
+ GR
+
+
+
+
+
+
+
+
+ GR
+
+
+ EL061828591
+
+ VAT
+
+
+
+
+
+
+
+ GR-R-007-1
+
+
+
+
+
+
+ GR
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/rules/unit-UBL-GR/GR_Validation_GRR009.xml b/rules/unit-UBL-GR/GR_Validation_GRR009.xml
new file mode 100644
index 00000000..218d3fd9
--- /dev/null
+++ b/rules/unit-UBL-GR/GR_Validation_GRR009.xml
@@ -0,0 +1,74 @@
+
+
+
+ Greek suppliers MUST use only 9933 as scheme ID in endoint.
+ GR-R-009
+
+
+
+ GR-R-009
+
+
+
+
+ 123123
+
+
+ GR
+
+
+
+
+
+
+
+
+
+ GR-R-009
+
+
+
+
+ 123123123
+
+
+ GR
+
+
+
+
+
+
+
+
+
+ GR-R-009
+
+
+ 061828591|01/10/2010|0|1.1|0|1
+
+
+ 061828591
+
+
+ GR
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/rules/unit-UBL-GR/GR_Validation_GRR010.xml b/rules/unit-UBL-GR/GR_Validation_GRR010.xml
new file mode 100644
index 00000000..b5ac8043
--- /dev/null
+++ b/rules/unit-UBL-GR/GR_Validation_GRR010.xml
@@ -0,0 +1,131 @@
+
+
+
+ Greek suppliers MUST use only 9933 as scheme ID in endoint when the customer is also greek.
+ GR-R-010
+
+
+
+ GR-R-010
+
+
+
+
+
+
+ GR
+
+
+
+
+
+
+ 123123
+
+
+ GR
+
+
+
+
+
+
+
+
+
+ GR-R-010
+
+
+
+
+
+
+ GR
+
+
+
+
+
+
+ 123123
+
+
+ GR
+
+
+
+
+
+
+
+
+
+ GR-R-010
+
+
+
+
+
+
+ GR
+
+
+
+
+
+
+ 061828591
+
+
+ GR
+
+
+
+
+
+
+
+
+
+ GR-R-010
+
+
+
+
+
+
+ SE
+
+
+
+
+
+
+ sfsdffsd
+
+
+ GR
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/rules/unit-UBL-GR/GR_Validation_GRS008.xml b/rules/unit-UBL-GR/GR_Validation_GRS008.xml
new file mode 100644
index 00000000..f90a8508
--- /dev/null
+++ b/rules/unit-UBL-GR/GR_Validation_GRS008.xml
@@ -0,0 +1,67 @@
+
+
+
+ Greek Suppliers SHOULD provide the Invoice Verification URL
+ GR-S-008-1
+ GR-R-008-2
+ GR-R-008-3
+
+
+
+ GR-S-008-1
+ GR-R-008-2
+ GR-R-008-3
+
+
+
+
+
+
+ GR
+
+
+
+
+
+
+ 1123
+ ##INVOICE-URL##
+
+
+ http://url
+
+
+
+
+
+ 11234
+ ##INVOICE-URL##
+
+
+
+
+
+
+ GR-S-008-1
+
+
+
+
+
+
+ GR
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/rules/unit-UBL-PEPPOL/PEPPOL-COMMON-R040.xml b/rules/unit-UBL-PEPPOL/PEPPOL-COMMON-R040.xml
index 03abd5c5..56a1a825 100644
--- a/rules/unit-UBL-PEPPOL/PEPPOL-COMMON-R040.xml
+++ b/rules/unit-UBL-PEPPOL/PEPPOL-COMMON-R040.xml
@@ -19,7 +19,7 @@
- PEPPOL-COMMON-R040
+ PEPPOL-COMMON-R040
+
+
+
+ PEPPOL-EN16931-CL008
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ PEPPOL-EN16931-CL008
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/rules/unit-UBL-SE/UBL-IN_SE-R-012.xml b/rules/unit-UBL-SE/UBL-IN_SE-R-012.xml
new file mode 100644
index 00000000..25eff887
--- /dev/null
+++ b/rules/unit-UBL-SE/UBL-IN_SE-R-012.xml
@@ -0,0 +1,220 @@
+
+
+
+ SE with payment code 31
+ SE-R-012
+
+
+
+ SE-R-012
+
+
+
+ urn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:billing:3.0
+ urn:fdc:peppol.eu:2017:poacc:billing:01:1.0
+ 2018210
+ 2018-02-08
+ 2018-03-07
+ 380
+ Testfil för kontroll av svenska valideringsregler
+ SEK
+ BuyerRef 123
+
+
+
+ 5566778899
+
+ Storgatan 1
+ Stockholm
+ 11122
+
+ SE
+
+
+
+ Godkänd för F-skatt
+
+ TAX
+
+
+
+ SE123456789001
+
+ VAT
+
+
+
+ Allsälj AB
+ 1234567890
+ Säte: Stockholm
+
+
+
+
+
+
+ 1234512345
+
+ Kommunteknisk service
+
+
+ Lilla gränd 9
+ Stockholm
+ 10203
+
+ SE
+
+
+
+ Kommunens Tekniska Bolag AB
+ 1234512345
+
+
+
+
+
+ 30
+ 08/00355
+
+ 1234567
+ Account name
+
+ 9999
+
+
+
+
+
+ false
+ Rabatt
+ 11
+
+ S
+ 25
+
+ VAT
+
+
+
+
+ true
+ Förvaring
+ 11
+
+ S
+ 25
+
+ VAT
+
+
+
+
+
+ 25
+
+ 100
+ 25
+
+ S
+ 25
+
+ VAT
+
+
+
+
+
+
+ 100
+ 100
+ 125
+
+ 11
+ 11
+ 125
+
+
+
+ 1
+ 5
+ 100
+
+ Utbytesstol
+
+ S
+ 25
+
+ VAT
+
+
+
+
+ 20
+
+
+
+
+
+
+
+
+
+ SE-R-012
+
+
+
+
+
+
+ SE
+
+
+
+ SE123456789001
+
+ VAT
+
+
+
+
+
+
+
+
+ 1234512345
+
+ Kommunteknisk service
+
+
+ Lilla gränd 9
+ Stockholm
+ 10203
+
+ SE
+
+
+
+ Kommunens Tekniska Bolag AB
+ 1234512345
+
+
+
+
+
+ 31
+ Meddelande
+
+ 123456
+
+
+
+
+
+
+
diff --git a/structure/codelist/ISO4217_2015.xml b/structure/codelist/ISO4217_2015.xml
index 2bc940bd..18ab09fa 100644
--- a/structure/codelist/ISO4217_2015.xml
+++ b/structure/codelist/ISO4217_2015.xml
@@ -24,10 +24,6 @@
ANG
Netherlands Antillean Guilder
-
- ANG
- Netherlands Antillean Guilder
-
AOA
Kwanza
@@ -40,34 +36,6 @@
AUD
Australian Dollar
-
- AUD
- Australian Dollar
-
-
- AUD
- Australian Dollar
-
-
- AUD
- Australian Dollar
-
-
- AUD
- Australian Dollar
-
-
- AUD
- Australian Dollar
-
-
- AUD
- Australian Dollar
-
-
- AUD
- Australian Dollar
-
AWG
Aruban Florin
@@ -156,10 +124,6 @@
CHF
Swiss Franc
-
- CHF
- Swiss Franc
-
CHW
WIR Franc
@@ -212,14 +176,6 @@
DKK
Danish Krone
-
- DKK
- Danish Krone
-
-
- DKK
- Danish Krone
-
DOP
Dominican Peso
@@ -244,142 +200,6 @@
EUR
Euro
-
- EUR
- Euro
-
-
- EUR
- Euro
-
-
- EUR
- Euro
-
-
- EUR
- Euro
-
-
- EUR
- Euro
-
-
- EUR
- Euro
-
-
- EUR
- Euro
-
-
- EUR
- Euro
-
-
- EUR
- Euro
-
-
- EUR
- Euro
-
-
- EUR
- Euro
-
-
- EUR
- Euro
-
-
- EUR
- Euro
-
-
- EUR
- Euro
-
-
- EUR
- Euro
-
-
- EUR
- Euro
-
-
- EUR
- Euro
-
-
- EUR
- Euro
-
-
- EUR
- Euro
-
-
- EUR
- Euro
-
-
- EUR
- Euro
-
-
- EUR
- Euro
-
-
- EUR
- Euro
-
-
- EUR
- Euro
-
-
- EUR
- Euro
-
-
- EUR
- Euro
-
-
- EUR
- Euro
-
-
- EUR
- Euro
-
-
- EUR
- Euro
-
-
- EUR
- Euro
-
-
- EUR
- Euro
-
-
- EUR
- Euro
-
-
- EUR
- Euro
-
-
- EUR
- Euro
-
FJD
Fiji Dollar
@@ -392,18 +212,6 @@
GBP
Pound Sterling
-
- GBP
- Pound Sterling
-
-
- GBP
- Pound Sterling
-
-
- GBP
- Pound Sterling
-
GEL
Lari
@@ -464,10 +272,6 @@
INR
Indian Rupee
-
- INR
- Indian Rupee
-
IQD
Iraqi Dinar
@@ -556,10 +360,6 @@
MAD
Moroccan Dirham
-
- MAD
- Moroccan Dirham
-
MDL
Moldovan Leu
@@ -632,14 +432,6 @@
NOK
Norwegian Krone
-
- NOK
- Norwegian Krone
-
-
- NOK
- Norwegian Krone
-
NPR
Nepalese Rupee
@@ -648,22 +440,6 @@
NZD
New Zealand Dollar
-
- NZD
- New Zealand Dollar
-
-
- NZD
- New Zealand Dollar
-
-
- NZD
- New Zealand Dollar
-
-
- NZD
- New Zealand Dollar
-
OMR
Rial Omani
@@ -824,78 +600,6 @@
USD
US Dollar
-
- USD
- US Dollar
-
-
- USD
- US Dollar
-
-
- USD
- US Dollar
-
-
- USD
- US Dollar
-
-
- USD
- US Dollar
-
-
- USD
- US Dollar
-
-
- USD
- US Dollar
-
-
- USD
- US Dollar
-
-
- USD
- US Dollar
-
-
- USD
- US Dollar
-
-
- USD
- US Dollar
-
-
- USD
- US Dollar
-
-
- USD
- US Dollar
-
-
- USD
- US Dollar
-
-
- USD
- US Dollar
-
-
- USD
- US Dollar
-
-
- USD
- US Dollar
-
-
- USD
- US Dollar
-
USN
US Dollar (Next day)
@@ -932,26 +636,6 @@
XAF
CFA Franc BEAC
-
- XAF
- CFA Franc BEAC
-
-
- XAF
- CFA Franc BEAC
-
-
- XAF
- CFA Franc BEAC
-
-
- XAF
- CFA Franc BEAC
-
-
- XAF
- CFA Franc BEAC
-
XAG
Silver
@@ -980,34 +664,6 @@
XCD
East Caribbean Dollar
-
- XCD
- East Caribbean Dollar
-
-
- XCD
- East Caribbean Dollar
-
-
- XCD
- East Caribbean Dollar
-
-
- XCD
- East Caribbean Dollar
-
-
- XCD
- East Caribbean Dollar
-
-
- XCD
- East Caribbean Dollar
-
-
- XCD
- East Caribbean Dollar
-
XDR
SDR (Special Drawing Right)
@@ -1016,34 +672,6 @@
XOF
CFA Franc BCEAO
-
- XOF
- CFA Franc BCEAO
-
-
- XOF
- CFA Franc BCEAO
-
-
- XOF
- CFA Franc BCEAO
-
-
- XOF
- CFA Franc BCEAO
-
-
- XOF
- CFA Franc BCEAO
-
-
- XOF
- CFA Franc BCEAO
-
-
- XOF
- CFA Franc BCEAO
-
XPD
Palladium
@@ -1052,14 +680,6 @@
XPF
CFP Franc
-
- XPF
- CFP Franc
-
-
- XPF
- CFP Franc
-
XPT
Platinum
@@ -1076,7 +696,6 @@
XUA
ADB Unit of Account
-
YER
Yemeni Rial
@@ -1085,14 +704,6 @@
ZAR
Rand
-
- ZAR
- Rand
-
-
- ZAR
- Rand
-
ZMW
Zambian Kwacha
diff --git a/structure/codelist/VATEX.xml b/structure/codelist/VATEX.xml
index 00fd872d..426dd40d 100644
--- a/structure/codelist/VATEX.xml
+++ b/structure/codelist/VATEX.xml
@@ -5,19 +5,24 @@
CEF
- vatex-eu-132
+ VATEX-EU-79-C
+ Exempt based on article 79, point c of Council Directive 2006/112/EC
+ Exemptions relating to repayment of expenditures. Remark, Repayment of expenditure is not an exemption in the sense of the VAT Directive but may be handled as such in the context of the EN16931.
+
+
+ VATEX-EU-132
Exempt based on article 132 of Council Directive 2006/112/EC
Exemptions for certain activities in public interest.
- vatex-eu-132-1a
+ VATEX-EU-132-1A
Exempt based on article 132, section 1 (a) of Council Directive 2006/112/EC
The supply by the public postal services of services other than passenger
transport and telecommunications services, and the supply of goods incidental
thereto.
- vatex-eu-132-1b
+ VATEX-EU-132-1B
Exempt based on article 132, section 1 (b) of Council Directive 2006/112/EC
Hospital and medical care and closely related activities undertaken by bodies
governed by public law or, under social conditions comparable with those applicable to
@@ -25,24 +30,24 @@
and other duly recognised establishments of a similar nature
- vatex-eu-132-1c
+ VATEX-EU-132-1C
Exempt based on article 132, section 1 (c) of Council Directive 2006/112/EC
The provision of medical care in the exercise of the medical and paramedical
professions as defined by the Member State concerned.
- vatex-eu-132-1d
+ VATEX-EU-132-1D
Exempt based on article 132, section 1 (d) of Council Directive 2006/112/EC
The supply of human organs, blood and milk.
- vatex-eu-132-1e
+ VATEX-EU-132-1E
Exempt based on article 132, section 1 (e) of Council Directive 2006/112/EC
The supply of services by dental technicians in their professional capacity and
the supply of dental prostheses by dentists and dental technicians.
- vatex-eu-132-1f
+ VATEX-EU-132-1F
Exempt based on article 132, section 1 (f) of Council Directive 2006/112/EC
The supply of services by independent groups of persons, who are carrying on an
activity which is exempt from VAT or in relation to which they are not taxable persons,
@@ -52,7 +57,7 @@
likely to cause distortion of competition.
- vatex-eu-132-1g
+ VATEX-EU-132-1G
Exempt based on article 132, section 1 (g) of Council Directive 2006/112/EC
The supply of services and of goods closely linked to welfare and social
security work, including those supplied by old people's homes, by bodies governed by
@@ -60,7 +65,7 @@
to social wellbeing.
- vatex-eu-132-1h
+ VATEX-EU-132-1H
Exempt based on article 132, section 1 (h) of Council Directive 2006/112/EC
"The supply of services and of goods closely linked to the protection of
children and young persons by bodies governed by public law or by other organisations
@@ -68,7 +73,7 @@
wellbeing"
- vatex-eu-132-1i
+ VATEX-EU-132-1I
Exempt based on article 132, section 1 (i) of Council Directive 2006/112/EC
" The provision of children's or young people's education, school or university
education, vocational training or retraining, including the supply of services and of
@@ -77,20 +82,20 @@
objects."
- vatex-eu-132-1j
+ VATEX-EU-132-1J
Exempt based on article 132, section 1 (j) of Council Directive 2006/112/EC
Tuition given privately by teachers and covering school or university
education.
- vatex-eu-132-1k
+ VATEX-EU-132-1K
Exempt based on article 132, section 1 (k) of Council Directive 2006/112/EC
The supply of staff by religious or philosophical institutions for the purpose
of the activities referred to in points (b), (g), (h) and (i) and with a view to
spiritual welfare.
- vatex-eu-132-1l
+ VATEX-EU-132-1L
Exempt based on article 132, section 1 (l) of Council Directive 2006/112/EC
The supply of services, and the supply of goods closely linked thereto, to
their members in their common interest in return for a subscription fixed in accordance
@@ -100,21 +105,21 @@
competition.
- vatex-eu-132-1m
+ VATEX-EU-132-1M
Exempt based on article 132, section 1 (m) of Council Directive 2006/112/EC
The supply of certain services closely linked to sport or physical education by
non-profit-making organisations to persons taking part in sport or physical
education.
- vatex-eu-132-1n
+ VATEX-EU-132-1N
Exempt based on article 132, section 1 (n) of Council Directive 2006/112/EC
The supply of certain cultural services, and the supply of goods closely linked
thereto, by bodies governed by public law or by other cultural bodies recognised by the
Member State concerned.
- vatex-eu-132-1o
+ VATEX-EU-132-1O
Exempt based on article 132, section 1 (o) of Council Directive 2006/112/EC
"The supply of services and goods, by organisations whose activities are exempt
pursuant to points (b), (g), (h), (i), (l), (m) and (n), in connection with fund-raising
@@ -122,36 +127,36 @@
likely to cause distortion of competition."
- vatex-eu-132-1p
+ VATEX-EU-132-1P
Exempt based on article 132, section 1 (p) of Council Directive 2006/112/EC
The supply of transport services for sick or injured persons in vehicles
specially designed for the purpose, by duly authorised bodies.
- vatex-eu-132-1q
+ VATEX-EU-132-1Q
Exempt based on article 132, section 1 (q) of Council Directive 2006/112/EC
The activities, other than those of a commercial nature, carried out by public
radio and television bodies.
- vatex-eu-143
+ VATEX-EU-143
Exempt based on article 143 of Council Directive 2006/112/EC
Exemptions on importation.
- vatex-eu-143-1a
+ VATEX-EU-143-1A
Exempt based on article 143, section 1 (a) of Council Directive 2006/112/EC
The final importation of goods of which the supply by a taxable person would in
all circumstances be exempt within their respective territory.
- vatex-eu-143-1b
+ VATEX-EU-143-1B
Exempt based on article 143, section 1 (b) of Council Directive 2006/112/EC
The final importation of goods governed by Council Directives 69/169/EEC (1),
83/181/EEC (2) and 2006/79/EC (3).
- vatex-eu-143-1c
+ VATEX-EU-143-1C
Exempt based on article 143, section 1 (c) of Council Directive 2006/112/EC
The final importation of goods, in free circulation from a third territory
forming part of the Community customs territory, which would be entitled to exemption
@@ -159,7 +164,7 @@
Article 30
- vatex-eu-143-1d
+ VATEX-EU-143-1D
Exempt based on article 143, section 1 (d) of Council Directive 2006/112/EC
The importation of goods dispatched or transported from a third territory or a
third country into a Member State other than that in which the dispatch or transport of
@@ -168,20 +173,20 @@
138.
- vatex-eu-143-1e
+ VATEX-EU-143-1E
Exempt based on article 143, section 1 (e) of Council Directive 2006/112/EC
The reimportation, by the person who exported them, of goods in the state in
which they were exported, where those goods are exempt from customs
duties.
- vatex-eu-143-1f
+ VATEX-EU-143-1F
Exempt based on article 143, section 1 (f) of Council Directive 2006/112/EC
The importation, under diplomatic and consular arrangements, of goods which are
exempt from customs duties.
- vatex-eu-143-1fa
+ VATEX-EU-143-1FA
Exempt based on article 143, section 1 (fa) of Council Directive 2006/112/EC
"The importation of goods by the European Community, the European Atomic Energy
Community, the European Central Bank or the European Investment Bank, or by the bodies
@@ -192,7 +197,7 @@
competition"
- vatex-eu-143-1g
+ VATEX-EU-143-1G
Exempt based on article 143, section 1 (g) of Council Directive 2006/112/EC
" The importation of goods by international bodies, other than those referred
to in point (fa), recognised as such by the public authorities of the host Member State,
@@ -201,7 +206,7 @@
agreements"
- vatex-eu-143-1h
+ VATEX-EU-143-1H
Exempt based on article 143, section 1 (h) of Council Directive 2006/112/EC
The importation of goods, into Member States party to the North Atlantic
Treaty, by the armed forces of other States party to that Treaty for the use of those
@@ -209,7 +214,7 @@
where such forces take part in the common defence effort.
- vatex-eu-143-1i
+ VATEX-EU-143-1I
Exempt based on article 143, section 1 (i) of Council Directive 2006/112/EC
The importation of goods by the armed forces of the United Kingdom stationed in
the island of Cyprus pursuant to the Treaty of Establishment concerning the Republic of
@@ -217,19 +222,19 @@
staff accompanying them or for supplying their messes or canteens.
- vatex-eu-143-1j
+ VATEX-EU-143-1J
Exempt based on article 143, section 1 (j) of Council Directive 2006/112/EC
The importation into ports, by sea fishing undertakings, of their catches,
unprocessed or after undergoing preservation for marketing but before being
supplied.
- vatex-eu-143-1k
+ VATEX-EU-143-1K
Exempt based on article 143, section 1 (k) of Council Directive 2006/112/EC
The importation of gold by central banks.
- vatex-eu-143-1l
+ VATEX-EU-143-1L
Exempt based on article 143, section 1 (l) of Council Directive 2006/112/EC
The importation of gas through a natural gas system or any network connected to
such a system or fed in from a vessel transporting gas into a natural gas system or any
@@ -237,61 +242,61 @@
or cooling networks.
- vatex-eu-148
+ VATEX-EU-148
Exempt based on article 148 of Council Directive 2006/112/EC
Exemptions related to international transport.
- vatex-eu-148-a
+ VATEX-EU-148-A
Exempt based on article 148, section (a) of Council Directive 2006/112/EC
Fuel supplies for commercial international transport vessels
- vatex-eu-148-b
+ VATEX-EU-148-B
Exempt based on article 148, section (b) of Council Directive 2006/112/EC
Fuel supplies for fighting ships in international transport.
- vatex-eu-148-c
+ VATEX-EU-148-C
Exempt based on article 148, section (c) of Council Directive 2006/112/EC
Maintenance, modification, chartering and hiring of international transport
vessels.
- vatex-eu-148-d
+ VATEX-EU-148-D
Exempt based on article 148, section (d) of Council Directive 2006/112/EC
Supply to of other services to commercial international transport
vessels.
- vatex-eu-148-e
+ VATEX-EU-148-E
Exempt based on article 148, section (e) of Council Directive 2006/112/EC
Fuel supplies for aircraft on international routes.
- vatex-eu-148-f
+ VATEX-EU-148-F
Exempt based on article 148, section (f) of Council Directive 2006/112/EC
Maintenance, modification, chartering and hiring of aircraft on international
routes.
- vatex-eu-148-g
+ VATEX-EU-148-G
Exempt based on article 148, section (g) of Council Directive 2006/112/EC
Supply to of other services to aircraft on international routes.
- vatex-eu-151
+ VATEX-EU-151
Exempt based on article 151 of Council Directive 2006/112/EC
Exemptions relating to certain Transactions treated as exports.
- vatex-eu-151-1a
+ VATEX-EU-151-1A
Exempt based on article 151, section 1 (a) of Council Directive 2006/112/EC
The supply of goods or services under diplomatic and consular
arrangements.
- vatex-eu-151-1aa
+ VATEX-EU-151-1AA
Exempt based on article 151, section 1 (aa) of Council Directive 2006/112/EC
The supply of goods or services to the European Community, the European Atomic
Energy Community, the European Central Bank or the European Investment Bank, or to the
@@ -302,7 +307,7 @@
competition.
- vatex-eu-151-1b
+ VATEX-EU-151-1B
Exempt based on article 151, section 1 (b) of Council Directive 2006/112/EC
The supply of goods or services to international bodies, other than those
referred to in point (aa), recognised as such by the public authorities of the host
@@ -311,7 +316,7 @@
agreements.
- vatex-eu-151-1c
+ VATEX-EU-151-1C
Exempt based on article 151, section 1 (c) of Council Directive 2006/112/EC
The supply of goods or services within a Member State which is a party to the
North Atlantic Treaty, intended either for the armed forces of other States party to
@@ -320,7 +325,7 @@
effort.
- vatex-eu-151-1d
+ VATEX-EU-151-1D
Exempt based on article 151, section 1 (d) of Council Directive 2006/112/EC
The supply of goods or services to another Member State, intended for the armed
forces of any State which is a party to the North Atlantic Treaty, other than the Member
@@ -329,7 +334,7 @@
in the common defence effort.
- vatex-eu-151-1e
+ VATEX-EU-151-1E
Exempt based on article 151, section 1 (e) of Council Directive 2006/112/EC
The supply of goods or services to the armed forces of the United Kingdom
stationed in the island of Cyprus pursuant to the Treaty of Establishment concerning the
@@ -338,54 +343,50 @@
canteens.
- vatex-eu-309
+ VATEX-EU-309
Exempt based on article 309 of Council Directive 2006/112/EC
Travel agents performed outside of EU.
- vatex-eu-g
- Export outside the EU
- Supports EN 16931-1 rule BR-G-10 - Only use with VAT category code
- G
-
-
- vatex-eu-o
- Not subject to VAT
- Supports EN 16931-1 rule BR-O-10 - Only use with VAT category code
- O
-
-
- vatex-eu-ic
- Intra-Community supply
- Supports EN 16931-1 rule BR-IC-10 - Only use with VAT category code
- K
-
-
- vatex-eu-ae
+ VATEX-EU-AE
Reverse charge
Supports EN 16931-1 rule BR-AE-10 - Only use with VAT category code
AE
- vatex-eu-d
+ VATEX-EU-D
Intra-Community acquisition from second hand means of transport
Second-hand means of transport - Indication that VAT has been paid according to
the relevant transitional arrangements - Only use with VAT category code E
- vatex-eu-f
+ VATEX-EU-F
Intra-Community acquisition of second hand goods
Second-hand goods - Indication that the VAT margin scheme for second-hand goods
has been applied. - Only use with VAT category code E
- vatex-eu-i
+ VATEX-EU-G
+ Export outside the EU
+ Supports EN 16931-1 rule BR-G-10 - Only use with VAT category code G
+
+
+ VATEX-EU-I
Intra-Community acquisition of works of art
- Works of art - Indication that the VAT margin scheme for works of art has been
- applied. - Only use with VAT category code E
+ Works of art - Indication that the VAT margin scheme for works of art has been applied. - Only use with VAT category code E
+
+
+ VATEX-EU-IC
+ Intra-Community supply
+ Supports EN 16931-1 rule BR-IC-10 - Only use with VAT category code K
+
+
+ VATEX-EU-O
+ Not subject to VAT
+ Supports EN 16931-1 rule BR-O-10 - Only use with VAT category code O
- vatex-eu-j
+ VATEX-EU-J
Intra-Community acquisition of collectors items and antiques
Collectors' items and antiques - Indication that the VAT margin scheme for
collector’s items and antiques has been applied. - Only use with VAT category code
diff --git a/structure/codelist/eas.xml b/structure/codelist/eas.xml
index 7ee32359..13224193 100644
--- a/structure/codelist/eas.xml
+++ b/structure/codelist/eas.xml
@@ -118,6 +118,10 @@
0208
Numero d'entreprise / ondernemingsnummer / Unternehmensnummer
+
+
+ 0209
+ GS1 identification keys
9901
@@ -299,9 +303,5 @@
9957
French VAT number
-
- 9958
- German Leitweg ID
-
diff --git a/structure/codelist/icd.xml b/structure/codelist/icd.xml
index c9dd404a..8439204a 100644
--- a/structure/codelist/icd.xml
+++ b/structure/codelist/icd.xml
@@ -1655,22 +1655,27 @@
0205
- Name not known
- Description unknown
+ CODDEST
+ Electronic Invoicing trough Sdl, the Exchange System used in Italy where the electronic invoices are transmitted to the Public Administration (Article 1, paragraph 211, of Italian Law no. 244 of 24 December 2007) or to private entities (Article 1, paragraph 2, of Legislative Decree 127/2015)
0206
- Name not known
- Description unknown
+ Registre du Commerce et de l’Industrie : RCI
+ To provide identifiers for organizations at national level in Monaco.
0207
- Name not known
- Description unknown
+ PiLog Ontology Codification Identifier (POCI)
+ A repository of concepts pertaining to any entity such as products, services, business partners, assets, organizations, locations, persons, addresses, languages, records etc along with the terminologies to describe each entity using class, characteristics, values, JoMs, QoMs, groups, definitions, guidelines, images, drawings, pictures. codes and any classification thereof. The codification will help exchange/integrate the data between operational, ERP, CRM, SRM or any other systems without any human interpretation and interaction without losing the meaning of the information in multiple languages, this will help organizations achieve their digital transformation goals more precisely in order to assess the real value-proposition of the underlying data that is driving their businesses.
0208
Numero d'entreprise / ondernemingsnummer / Unternehmensnummer
- Identification number attributed by the BCE/KBO/ZDU (the Belgian register) to identify entities and establishment units operating in Belgiu
+ Identification number attributed by the BCE/KBO/ZDU (the Belgian register) to identify entities and establishment units operating in Belgium.
+
+
+ 0209
+ GS1 identification keys
+ GS1 identification keys and key qualifiers may be used by an information system to refer unambiguously to an entity such as a trade item, logistics unit, physical location, document, or service relationship.
diff --git a/structure/syntax/part/additional-docs.xml b/structure/syntax/part/additional-docs.xml
index 709acc5d..219e137c 100644
--- a/structure/syntax/part/additional-docs.xml
+++ b/structure/syntax/part/additional-docs.xml
@@ -7,7 +7,9 @@
The additional supporting documents can be used for both referencing a document number which is expected to be known by the receiver,
an external document (referenced by a URL) or as an embedded document, Base64 encoded (such as a time report).
BG-24
-
+ PEPPOL-EN16931-R006
+ PEPPOL-EN16931-R080
+
cbc:ID
Invoiced object identifier, Supporting document reference
@@ -65,6 +67,7 @@
The mime code of the attached document.
PEPPOL-EN16931-CL001
UBL-DT-06
+ BR-CL-24
MimeCode
text/csv
diff --git a/structure/syntax/part/allowance-charge.xml b/structure/syntax/part/allowance-charge.xml
index f403e3c1..770ce3fa 100644
--- a/structure/syntax/part/allowance-charge.xml
+++ b/structure/syntax/part/allowance-charge.xml
@@ -16,6 +16,8 @@
Allowances.
false
+ PEPPOL-EN16931-R043
+
@@ -36,6 +38,8 @@
UNCL7161
PEPPOL-EN16931-CL002
DK-R-004
+ BR-CL-19
+ BR-CL-20
95
@@ -78,6 +82,7 @@
BT-92,BT-99
BR-31
BR-36
+ BR-CL-03
PEPPOL-EN16931-R040
BR-DEC-01
BR-DEC-05
@@ -106,6 +111,7 @@
BR-DEC-02
BR-DEC-06
UBL-DT-01
+ BR-CL-03
@@ -134,6 +140,7 @@
BR-37
BR-O-13
BR-O-14
+ BR-CL-17
UNCL5305
S
diff --git a/structure/syntax/part/card-payment.xml b/structure/syntax/part/card-payment.xml
index 573bd71a..3c3cd912 100644
--- a/structure/syntax/part/card-payment.xml
+++ b/structure/syntax/part/card-payment.xml
@@ -8,6 +8,7 @@
invoice issuance.
BG-18
+ BR-66
cbc:PrimaryAccountNumberID
diff --git a/structure/syntax/part/customer-party.xml b/structure/syntax/part/customer-party.xml
index 17b20dc9..5aa04d40 100644
--- a/structure/syntax/part/customer-party.xml
+++ b/structure/syntax/part/customer-party.xml
@@ -13,10 +13,16 @@
cbc:EndpointID
Buyer electronic address
- Identifies the Buyer's electronic address to which a business document should be delivered.
+ Identifies the Buyer's electronic address to which the invoice is delivered.
Identifier
BT-49
BR-63
+ BR-CL-25
+ PEPPOL-EN16931-R010
+ PEPPOL-COMMON-R040
+ PEPPOL-COMMON-R041
+ PEPPOL-COMMON-R042
+ PEPPOL-EN16931-CL008
@@ -35,12 +41,16 @@
cac:PartyIdentification
PARTY IDENTIFICATION
+
cbc:ID
Buyer identifier
An identifier of the Buyer.
Identifier
BT-46
+ PEPPOL-COMMON-R040
+ PEPPOL-COMMON-R041
+ PEPPOL-COMMON-R042
@@ -180,6 +190,10 @@
BR-O-02
BR-O-03
BR-O-04
+ BR-CL-11
+ PEPPOL-COMMON-R040
+ PEPPOL-COMMON-R041
+ PEPPOL-COMMON-R042
SE8765456787
diff --git a/structure/syntax/part/item.xml b/structure/syntax/part/item.xml
index 1be20763..6eeecbd0 100644
--- a/structure/syntax/part/item.xml
+++ b/structure/syntax/part/item.xml
@@ -65,6 +65,7 @@
Identifier
BT-157
BR-64
+ BR-CL-21
schemeID
@@ -146,6 +147,7 @@
BT-151
BR-CO-04
BR-O-12
+ BR-CL-18
UNCL5305
S
diff --git a/structure/syntax/part/line-allowance-charge.xml b/structure/syntax/part/line-allowance-charge.xml
index f8c738de..b09012ba 100644
--- a/structure/syntax/part/line-allowance-charge.xml
+++ b/structure/syntax/part/line-allowance-charge.xml
@@ -7,6 +7,8 @@
Invoice line.
BG-27, BG-28
+ BR-CO-23
+ BR-CO-24
cbc:ChargeIndicator
@@ -14,6 +16,8 @@
Allowances
false
+ PEPPOL-EN16931-R043
+ PEPPOL-EN16931-R043
@@ -32,6 +36,8 @@
UNCL7161
PEPPOL-EN16931-CL002
DK-R-004
+ BR-CL-19
+ BR-CL-20
95
@@ -70,6 +76,7 @@
BT-136,BT-141
BR-41
BR-43
+ BR-CL-03
PEPPOL-EN16931-R040
BR-DEC-24
BR-DEC-27
@@ -99,6 +106,8 @@
BR-DEC-25
BR-DEC-28
UBL-DT-01
+ BR-CL-03
+
diff --git a/structure/syntax/part/monetary-totals.xml b/structure/syntax/part/monetary-totals.xml
index 32b92a4f..6c7cdf38 100644
--- a/structure/syntax/part/monetary-totals.xml
+++ b/structure/syntax/part/monetary-totals.xml
@@ -17,6 +17,7 @@
BR-CO-10
BR-DEC-09
UBL-DT-01
+ BR-CL-03
@@ -41,6 +42,7 @@
BR-CO-13
BR-DEC-12
UBL-DT-01
+ BR-CL-03
currencyID
Mandatory attribute. Use BT-5
@@ -62,6 +64,7 @@
BR-CO-15
BR-DEC-14
UBL-DT-01
+ BR-CL-03
currencyID
Mandatory attribute. Use BT-5
@@ -82,6 +85,7 @@
BR-CO-11
BR-DEC-10
UBL-DT-01
+ BR-CL-03
currencyID
Mandatory attribute. Use BT-5
@@ -102,6 +106,7 @@
BR-CO-12
BR-DEC-11
UBL-DT-01
+ BR-CL-03
currencyID
Mandatory attribute. Use BT-5
@@ -120,6 +125,7 @@
Amount
BT-113
UBL-DT-01
+ BR-CL-03
currencyID
@@ -141,6 +147,7 @@
BT-114
BR-DEC-17
UBL-DT-01
+ BR-CL-03
currencyID
Mandatory attribute. Use BT-5
@@ -162,6 +169,7 @@
BR-CO-16
BR-DEC-18
UBL-DT-01
+ BR-CL-03
currencyID
diff --git a/structure/syntax/part/payee-party.xml b/structure/syntax/part/payee-party.xml
index cc7d8f92..ab41cd8c 100644
--- a/structure/syntax/part/payee-party.xml
+++ b/structure/syntax/part/payee-party.xml
@@ -62,6 +62,7 @@
Identifier
BT-61
+ BR-CL-11
diff --git a/structure/syntax/part/payment-mandate.xml b/structure/syntax/part/payment-mandate.xml
index de28c982..a85e9906 100644
--- a/structure/syntax/part/payment-mandate.xml
+++ b/structure/syntax/part/payment-mandate.xml
@@ -5,6 +5,7 @@
DIRECT DEBIT
A group of business terms to specify a direct debit.
BG-19
+ BR-67
cbc:ID
diff --git a/structure/syntax/part/payment.xml b/structure/syntax/part/payment.xml
index b999371b..bdcb36a5 100644
--- a/structure/syntax/part/payment.xml
+++ b/structure/syntax/part/payment.xml
@@ -16,7 +16,6 @@
BR-49
BR-CL-16
DK-R-005
- DK-R-012
SE-R-011
UNCL4461
diff --git a/structure/syntax/part/price.xml b/structure/syntax/part/price.xml
index 36192dbe..52149943 100644
--- a/structure/syntax/part/price.xml
+++ b/structure/syntax/part/price.xml
@@ -18,6 +18,7 @@
BT-146
BR-26
BR-27
+ BR-CL-03
PEPPOL-EN16931-R046
@@ -40,6 +41,7 @@
Quantity
BT-149
PEPPOL-EN16931-R121
+ BR-CL-23
@@ -81,6 +83,7 @@
Mandatory attribute. Use BT-5
PEPPOL-EN16931-CL007
PEPPOL-EN16931-R051
+ BR-CL-03
ISO4217
EUR
@@ -95,6 +98,7 @@
Amount
BT-148
BR-28
+ BR-CL-03
currencyID
diff --git a/structure/syntax/part/supplier-party.xml b/structure/syntax/part/supplier-party.xml
index 897700ee..9bce17e0 100644
--- a/structure/syntax/part/supplier-party.xml
+++ b/structure/syntax/part/supplier-party.xml
@@ -13,13 +13,20 @@
cbc:EndpointID
Seller electronic address
- Identifies the Seller's electronic address to which a business document may be delivered.
+ Identifies the Seller's electronic address to which the application level response to the invoice may be delivered.
Identifier
BT-34
BR-62
+ BR-CL-25
+ PEPPOL-EN16931-R020
+ PEPPOL-COMMON-R040
+ PEPPOL-COMMON-R041
+ PEPPOL-COMMON-R042
+ PEPPOL-EN16931-CL008
+
schemeID
Seller electronic address identification scheme identifier
The identification scheme identifier of the Seller electronic address
@@ -34,6 +41,7 @@
cac:PartyIdentification
PARTY IDENTIFICATION
+
cbc:ID
Seller identifier or bank assigned creditor identifier
@@ -42,6 +50,9 @@
Identifier
BT-29, BT-90
BR-CO-26
+ PEPPOL-COMMON-R040
+ PEPPOL-COMMON-R041
+ PEPPOL-COMMON-R042
schemeID
@@ -212,6 +223,11 @@
SE-R-001
SE-R-002
SE-R-005
+ DK-R-015
+ BR-CL-11
+ PEPPOL-COMMON-R040
+ PEPPOL-COMMON-R041
+ PEPPOL-COMMON-R042
NO999888777
diff --git a/structure/syntax/part/tax-total.xml b/structure/syntax/part/tax-total.xml
index 6c6b5aac..55658c31 100644
--- a/structure/syntax/part/tax-total.xml
+++ b/structure/syntax/part/tax-total.xml
@@ -18,6 +18,7 @@
BR-DEC-13
BR-DEC-15
UBL-DT-01
+ BR-CL-03
currencyID
Mandatory attribute. Use BT-5 or BT-6.
@@ -64,6 +65,7 @@
BR-IP-08
BR-DEC-19
UBL-DT-01
+ BR-CL-03
@@ -131,6 +133,7 @@
BR-O-10
BR-IG-01
BR-IP-01
+ BR-CL-17
S
@@ -161,6 +164,14 @@
BR-O-10
BR-IG-10
BR-IP-10
+ PEPPOL-EN16931-P0104
+ PEPPOL-EN16931-P0105
+ PEPPOL-EN16931-P0106
+ PEPPOL-EN16931-P0107
+ PEPPOL-EN16931-P0108
+ PEPPOL-EN16931-P0109
+ PEPPOL-EN16931-P0110
+ PEPPOL-EN16931-P0111
diff --git a/structure/syntax/ubl-creditnote.xml b/structure/syntax/ubl-creditnote.xml
index 144306bd..9e8ec517 100755
--- a/structure/syntax/ubl-creditnote.xml
+++ b/structure/syntax/ubl-creditnote.xml
@@ -39,6 +39,7 @@
Text
BT-23
PEPPOL-EN16931-R001
+ PEPPOL-EN16931-R007
urn:fdc:peppol.eu:2017:poacc:billing:01:1.0
@@ -84,6 +85,7 @@
Code
BT-3
BR-04
+ BR-CL-01
PEPPOL-EN16931-P0101
UNCL1001-cn
381
@@ -98,6 +100,7 @@
Text
BT-22
PEPPOL-EN16931-R002
+ BR-CL-08
Please note our new phone number 33 44 55 66
@@ -140,7 +143,6 @@
Text
BT-19
- DK-R-001
4217:2323:2323
@@ -193,6 +195,7 @@
BT-8
BR-CO-03
BR-CL-06
+ PEPPOL-EN16931-CL006
UNCL2005
35
@@ -304,6 +307,10 @@
The additional supporting documents can be used for both referencing a document number which is expected to be known by the receiver,
an external document (referenced by a URL) or as an embedded document, Base64 encoded (such as a time report).
BG-24
+ PEPPOL-EN16931-R006
+ PEPPOL-EN16931-R080
+
+
cbc:ID
@@ -356,6 +363,7 @@
BT-125
+
mimeCode
Attached document Mime code
@@ -363,6 +371,7 @@
PEPPOL-EN16931-CL001
UBL-DT-06
MimeCode
+ BR-CL-24
text/csv
@@ -522,6 +531,7 @@
A group of business terms providing information on individual Invoice lines.
BG-25
BR-16
+
@@ -581,6 +591,7 @@
PEPPOL-EN16931-R120
BR-DEC-23
UBL-DT-01
+ BR-CL-03
currencyID
Mandatory attribute. Use BT-5
@@ -625,6 +636,8 @@
cac:DocumentReference
LINE OBJECT IDENTIFIER
+ PEPPOL-EN16931-R100
+ PEPPOL-EN16931-R101
cbc:ID
diff --git a/structure/syntax/ubl-invoice.xml b/structure/syntax/ubl-invoice.xml
index 9b0329d2..8b6c2ed3 100755
--- a/structure/syntax/ubl-invoice.xml
+++ b/structure/syntax/ubl-invoice.xml
@@ -36,6 +36,7 @@
Text
BT-23
PEPPOL-EN16931-R001
+ PEPPOL-EN16931-R007
urn:fdc:peppol.eu:2017:poacc:billing:01:1.0
@@ -79,6 +80,7 @@
Code
BT-3
BR-04
+ BR-CL-01
PEPPOL-EN16931-P0100
UNCL1001-inv
380
@@ -93,6 +95,7 @@
Text
BT-22
PEPPOL-EN16931-R002
+ BR-CL-08
Please note our new phone number 33 44 55 66
@@ -133,6 +136,7 @@
BT-6
BR-CL-05
PEPPOL-EN16931-R005
+ PEPPOL-EN16931-R055
ISO4217
SEK
@@ -145,7 +149,6 @@
Text
BT-19
- DK-R-001
4217:2323:2323
@@ -198,6 +201,7 @@
BT-8
BR-CO-03
BR-CL-06
+ PEPPOL-EN16931-CL006
UNCL2005
35
@@ -431,6 +435,8 @@
A group of business terms providing information on individual Invoice lines.
BG-25
BR-16
+
+
@@ -460,6 +466,7 @@
Quantity
BT-129
BR-22
+ BR-CL-23
unitCode
@@ -490,6 +497,7 @@
PEPPOL-EN16931-R120
BR-DEC-23
UBL-DT-01
+ BR-CL-03
currencyID
@@ -535,6 +543,8 @@
cac:DocumentReference
LINE OBJECT IDENTIFIER
+ PEPPOL-EN16931-R100
+ PEPPOL-EN16931-R101
cbc:ID