external.schematron.2023-02.xslt.forward-billing-3.0.FORWARD-BILLING-PEPPOL-EN16931-UBL.xslt Maven / Gradle / Ivy
ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz
/
*:
[namespace-uri()='
']
[
]
/
@
@*[local-name()='
' and namespace-uri()='
']
/
[
]
/@
/
[
]
/@
.
U
U
U.
n
U.
_
_
Rules for PEPPOL BIS 3.0 Billing
PEPPOL-EN16931-R008
fatal
Document MUST not contain empty elements.
PEPPOL-EN16931-R080
fatal
Only one project reference is allowed on document level
PEPPOL-EN16931-R001
fatal
Business process MUST be provided.
PEPPOL-EN16931-R002
fatal
No more than one note is allowed on document level.
PEPPOL-EN16931-R003
fatal
A buyer reference or purchase order reference MUST be provided.
PEPPOL-EN16931-R004
fatal
Specification identifier MUST have the value 'urn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:billing:3.0'.
PEPPOL-EN16931-R053
fatal
Only one tax total with tax subtotals MUST be provided.
PEPPOL-EN16931-R054
fatal
Only one tax total without tax subtotals MUST be provided when tax currency code is provided.
PEPPOL-EN16931-R055
fatal
Invoice total VAT amount and Invoice total VAT amount in accounting currency MUST have the same operational sign
PEPPOL-EN16931-R006
fatal
Only one invoiced object is allowed on document level
PEPPOL-EN16931-R005
fatal
VAT accounting currency code MUST be different from invoice currency code when provided.
PEPPOL-EN16931-R010
fatal
Buyer electronic address MUST be provided
PEPPOL-EN16931-R020
fatal
Seller electronic address MUST be provided
PEPPOL-EN16931-R041
fatal
Allowance/charge base amount MUST be provided when allowance/charge percentage is provided.
PEPPOL-EN16931-R042
fatal
Allowance/charge percentage MUST be provided when allowance/charge base amount is provided.
PEPPOL-EN16931-R040
fatal
Allowance/charge amount must equal base amount * percentage/100 if base amount and percentage exists
PEPPOL-EN16931-R043
fatal
Allowance/charge ChargeIndicator value MUST equal 'true' or 'false'
PEPPOL-EN16931-R061
fatal
Mandate reference MUST be provided for direct debit.
PEPPOL-EN16931-R051
fatal
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).
PEPPOL-EN16931-R110
fatal
Start date of line period MUST be within invoice period.
PEPPOL-EN16931-R111
fatal
End date of line period MUST be within invoice period.
PEPPOL-EN16931-R120
fatal
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
PEPPOL-EN16931-R121
fatal
Base quantity MUST be a positive number above zero.
PEPPOL-EN16931-R100
fatal
Only one invoiced object is allowed pr line
PEPPOL-EN16931-R101
fatal
Element Document reference can only be used for Invoice line object
PEPPOL-EN16931-R044
fatal
Charge on price level is NOT allowed. Only value 'false' allowed.
PEPPOL-EN16931-R046
fatal
Item net price MUST equal (Gross price - Allowance amount) when gross price is provided.
PEPPOL-EN16931-R130
fatal
Unit code of price base quantity MUST be same as invoiced quantity.
PEPPOL-COMMON-R040
fatal
GLN must have a valid format according to GS1 rules.
PEPPOL-COMMON-R041
fatal
Norwegian organization number MUST be stated in the correct format.
PEPPOL-COMMON-R042
fatal
Danish organization number (CVR) MUST be stated in the correct format.
PEPPOL-COMMON-R043
fatal
Belgian enterprise number MUST be stated in the correct format.
PEPPOL-COMMON-R044
warning
IPA Code (Codice Univoco Unità Organizzativa) must be stated in the correct format
PEPPOL-COMMON-R045
warning
Tax Code (Codice Fiscale) must be stated in the correct format
PEPPOL-COMMON-R046
warning
Tax Code (Codice Fiscale) must be stated in the correct format
PEPPOL-COMMON-R047
warning
Italian VAT Code (Partita Iva) must be stated in the correct format
PEPPOL-COMMON-R048
warning
Italian VAT Code (Partita Iva) must be stated in the correct format
PEPPOL-COMMON-R049
warning
Swedish organization number MUST be stated in the correct format.
PEPPOL-COMMON-R050
warning
Australian Business Number (ABN) MUST be stated in the correct format.
NO-R-002
warning
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."
NO-R-001
fatal
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.
DK-R-002
fatal
Danish suppliers MUST provide legal entity (CVR-number)
DK-R-014
fatal
For Danish Suppliers it is mandatory to specify schemeID as "0184" (DK CVR-number) when PartyLegalEntity/CompanyID is used for AccountingSupplierParty
DK-R-015
fatal
For Danish Suppliers, if specified, AccountingSupplierParty/PartyTaxScheme/CompanyID (DK VAT number) must start with DK followed by 8 digits
DK-R-016
fatal
For Danish Suppliers, a Credit note cannot have a negative total (PayableAmount)
DK-R-013
fatal
For Danish Suppliers it is mandatory to use schemeID when PartyIdentification/ID is used for AccountingCustomerParty or AccountingSupplierParty
DK-R-005
fatal
For Danish suppliers the following Payment means codes are allowed: 1, 10, 31, 42, 48, 49, 50, 58, 59, 93 and 97
DK-R-006
fatal
For Danish suppliers bank account and registration account is mandatory if payment means is 31 or 42
DK-R-007
fatal
For Danish suppliers PaymentMandate/ID and PayerFinancialAccount/ID are mandatory when payment means is 49
DK-R-008
fatal
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)
DK-R-009
fatal
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)
DK-R-010
fatal
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)
DK-R-011
fatal
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)
DK-R-003
warning
If ItemClassification is provided from Danish suppliers, UNSPSC version 19.0501 should be used.
DK-R-004
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
fatal
[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
fatal
[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
fatal
[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
fatal
">[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.
SE-R-001
fatal
For Swedish suppliers, Swedish VAT-numbers must consist of 14 characters.
SE-R-002
fatal
For Swedish suppliers, the Swedish VAT-numbers must have the trailing 12 characters in numeric form
SE-R-003
warning
Swedish organisation numbers should be numeric.
SE-R-004
warning
Swedish organisation numbers consist of 10 characters.
SE-R-005
fatal
For Swedish suppliers, when using Seller tax registration identifier, 'Godkänd för F-skatt' must be stated
SE-R-006
fatal
For Swedish suppliers, only standard VAT rate of 6, 12 or 25 are used
SE-R-007
warning
For Swedish suppliers using Plusgiro, the Account ID must be numeric
SE-R-010
warning
For Swedish suppliers using Plusgiro, the Account ID must have 2-8 characters
SE-R-008
warning
For Swedish suppliers using Bankgiro, the Account ID must be numeric
SE-R-009
warning
For Swedish suppliers using Bankgiro, the Account ID must have 7-8 characters
SE-R-011
warning
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
SE-R-012
warning
For domestic transactions between Swedish trading partners, credit transfer should be indicated by PaymentMeansCode="30"
GR-R-001-1
fatal
When the Supplier is Greek, the Invoice Id should consist of 6 segments
GR-R-001-2
fatal
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
GR-R-001-3
fatal
When the Supplier is Greek, the Invoice Id second segment must be a valid Date that matches the invoice Issue Date
GR-R-001-4
fatal
When Supplier is Greek, the Invoice Id third segment must be a positive integer
GR-R-001-5
fatal
When Supplier is Greek, the Invoice Id in the fourth segment must be a valid greek document type
GR-R-001-6
fatal
When Supplier is Greek, the Invoice Id fifth segment must not be empty
GR-R-001-7
fatal
When Supplier is Greek, the Invoice Id sixth segment must not be empty
GR-R-002
fatal
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
GR-R-007-1
fatal
When greek supplier does not have a VAT number, the tax representative must be present
GR-R-007-2
fatal
If the Greek Suppliers do not have Greek VAT they must provide the full name of their tax representative in Greece
GR-R-007-3
fatal
If the Greek Suppliers do not have Greek VAT, they must provide the VAT number of their tax representative
GR-R-003
fatal
For the Greek Suppliers, the VAT must start with 'EL' and must be a valid TIN number
GR-R-004-1
fatal
When Supplier is Greek, there must be one MARK Number
GR-S-008-1
warning
When Supplier is Greek, there should be one invoice url
GR-R-008-2
fatal
When Supplier is Greek, there should be no more than one invoice url
GR-R-004-2
fatal
When Supplier is Greek, the MARK Number must be a positive integer
GR-R-008-3
fatal
When Supplier is Greek and the INVOICE URL Document reference exists, the External Reference URI should be present
GR-R-005
fatal
Greek Suppliers must provide the full name of the buyer
GR-R-009
fatal
Greek suppliers that send an invoice through the PEPPOL network must use a correct TIN number as an electronic address according to PEPPOL Electronic Address Identifier scheme (schemeID 9933).
GR-R-006
fatal
Greek Suppliers must provide the VAT number of the buyer, if the buyer is Greek
GR-R-010
fatal
Greek Suppliers that send an invoice through the PEPPOL network to a greek buyer must use a correct TIN number as an electronic address according to PEPPOL Electronic Address Identifier scheme (SchemeID 9933)
IS-R-001
warning
[IS-R-001]-If seller is icelandic then invoice type should be 380 or 381 — Ef seljandi er íslenskur þá ætti gerð reiknings (BT-3) að vera sölureikningur (380) eða kreditreikningur (381).
IS-R-002
fatal
[IS-R-002]-If seller is icelandic then it shall contain sellers legal id — Ef seljandi er íslenskur þá skal reikningur innihalda íslenska kennitölu seljanda (BT-30).
IS-R-003
fatal
[IS-R-003]-If seller is icelandic then it shall contain his address with street name and zip code — Ef seljandi er íslenskur þá skal heimilisfang seljanda innihalda götuheiti og póstnúmer (BT-35 og BT-38).
IS-R-006
fatal
[IS-R-006]-If seller is icelandic and payment means code is 9 then a 12 digit account id must exist — Ef seljandi er íslenskur og greiðslumáti (BT-81) er krafa (kóti 9) þá skal koma fram 12 stafa númer (bankanúmer, höfuðbók 66 og reikningsnúmer) (BT-84)
IS-R-007
fatal
[IS-R-007]-If seller is icelandic and payment means code is 42 then a 12 digit account id must exist — Ef seljandi er íslenskur og greiðslumáti (BT-81) er millifærsla (kóti 42) þá skal koma fram 12 stafa reikningnúmer (BT-84)
IS-R-008
fatal
[IS-R-008]-If seller is icelandic and invoice contains supporting description EINDAGI then the id form must be YYYY-MM-DD — Ef seljandi er íslenskur þá skal eindagi (BT-122, DocumentDescription = EINDAGI) vera á forminu YYYY-MM-DD.
IS-R-009
fatal
[IS-R-009]-If seller is icelandic and invoice contains supporting description EINDAGI invoice must have due date — Ef seljandi er íslenskur þá skal reikningur sem inniheldur eindaga (BT-122, DocumentDescription = EINDAGI) einnig hafa gjalddaga (BT-9).
IS-R-010
fatal
[IS-R-010]-If seller is icelandic and invoice contains supporting description EINDAGI the id date must be same or later than due date — Ef seljandi er íslenskur þá skal eindagi (BT-122, DocumentDescription = EINDAGI) skal vera sami eða síðar en gjalddagi (BT-9) ef eindagi er til staðar.
IS-R-004
fatal
[IS-R-004]-If seller and buyer are icelandic then the invoice shall contain the buyers icelandic legal identifier — Ef seljandi og kaupandi eru íslenskir þá skal reikningurinn innihalda íslenska kennitölu kaupanda (BT-47).
IS-R-005
fatal
[IS-R-005]-If seller and buyer are icelandic then the invoice shall contain the buyers address with street name and zip code — Ef seljandi og kaupandi eru íslenskir þá skal heimilisfang kaupanda innihalda götuheiti og póstnúmer (BT-50 og BT-53)
NL-R-001
fatal
[NL-R-001] For suppliers in the Netherlands, if the document is a creditnote, the document MUST contain an invoice reference (cac:BillingReference/cac:InvoiceDocumentReference/cbc:ID)
NL-R-002
fatal
[NL-R-002] For suppliers in the Netherlands the supplier's address (cac:AccountingSupplierParty/cac:Party/cac:PostalAddress) MUST contain street name (cbc:StreetName), city (cbc:CityName) and post code (cbc:PostalZone)
NL-R-003
fatal
[NL-R-003] For suppliers in the Netherlands, the legal entity identifier MUST be either a KVK or OIN number (schemeID 0106 or 0190)
NL-R-004
fatal
[NL-R-004] For suppliers in the Netherlands, if the customer is in the Netherlands, the customer address (cac:AccountingCustomerParty/cac:Party/cac:PostalAddress) MUST contain the street name (cbc:StreetName), the city (cbc:CityName) and post code (cbc:PostalZone)
NL-R-005
fatal
[NL-R-005] For suppliers in the Netherlands, if the customer is in the Netherlands, the customer's legal entity identifier MUST be either a KVK or OIN number (schemeID 0106 or 0190)
NL-R-006
fatal
[NL-R-006] For suppliers in the Netherlands, if the fiscal representative is in the Netherlands, the representative's address (cac:TaxRepresentativeParty/cac:PostalAddress) MUST contain street name (cbc:StreetName), city (cbc:CityName) and post code (cbc:PostalZone)
NL-R-007
fatal
[NL-R-007] For suppliers in the Netherlands, the supplier MUST provide a means of payment (cac:PaymentMeans) if the payment is from customer to supplier
NL-R-008
fatal
[NL-R-008] For suppliers in the Netherlands, the payment means code (cac:PaymentMeans/cbc:PaymentMeansCode) MUST be one of 30, 48, 49, 57, 58 or 59
NL-R-009
fatal
[NL-R-009] For suppliers in the Netherlands, if an order line reference (cac:OrderLineReference/cbc:LineID) is used, there must be an order reference on the document level (cac:OrderReference/cbc:ID)
PEPPOL-EN16931-CL001
fatal
Mime code must be according to subset of IANA code list.
PEPPOL-EN16931-CL002
fatal
Reason code MUST be according to subset of UNCL 5189 D.16B.
PEPPOL-EN16931-CL003
fatal
Reason code MUST be according to UNCL 7161 D.16B.
PEPPOL-EN16931-CL006
fatal
Invoice period description code must be according to UNCL 2005 D.16B.
PEPPOL-EN16931-CL007
fatal
Currency code must be according to ISO 4217:2005
PEPPOL-EN16931-P0100
fatal
Invoice type code MUST be set according to the profile.
PEPPOL-EN16931-P0101
fatal
Credit note type code MUST be set according to the profile.
PEPPOL-EN16931-F001
fatal
A date
MUST be formatted YYYY-MM-DD.
PEPPOL-EN16931-CL008
fatal
Electronic address identifier scheme must be from the codelist "Electronic Address Identifier Scheme"
PEPPOL-EN16931-P0104
fatal
Tax Category G MUST be used when exemption reason code is VATEX-EU-G
PEPPOL-EN16931-P0105
fatal
Tax Category O MUST be used when exemption reason code is VATEX-EU-O
PEPPOL-EN16931-P0106
fatal
Tax Category K MUST be used when exemption reason code is VATEX-EU-IC
PEPPOL-EN16931-P0107
fatal
Tax Category AE MUST be used when exemption reason code is VATEX-EU-AE
PEPPOL-EN16931-P0108
fatal
Tax Category E MUST be used when exemption reason code is VATEX-EU-D
PEPPOL-EN16931-P0109
fatal
Tax Category E MUST be used when exemption reason code is VATEX-EU-F
PEPPOL-EN16931-P0110
fatal
Tax Category E MUST be used when exemption reason code is VATEX-EU-I
PEPPOL-EN16931-P0111
fatal
Tax Category E MUST be used when exemption reason code is VATEX-EU-J
© 2015 - 2024 Weber Informatics LLC | Privacy Policy