Business rules for Peppol Order transaction 3.0
Identifier/Error message | Flag |
---|---|
PEPPOL-T01-CL001 Reason code MUST be according to subset of UNCL 5189 D.16B. |
fatal |
PEPPOL-T01-CL002 Reason code MUST be according to UNCL 7161 D.16B. |
fatal |
PEPPOL-T01-R001 Each order line SHALL have a document line identifier that is unique within the order. |
fatal |
PEPPOL-T01-R002 An order SHOULD provide information about its validity end date. |
warning |
PEPPOL-T01-R003 An order SHALL be stated in a single currency |
fatal |
PEPPOL-T01-R004 Each order line ordered quantity SHALL not be negative |
fatal |
PEPPOL-T01-R005 Each order line item net price SHALL not be negative |
fatal |
PEPPOL-T01-R006 Expected total amount for payment SHALL NOT be negative |
fatal |
PEPPOL-T01-R007 Expected total sum of line amounts SHALL NOT be negative |
fatal |
PEPPOL-T01-R008 Expected total sum of line amounts SHALL equal the sum of the order line amounts at order line level |
fatal |
PEPPOL-T01-R009 Expected total sum of allowance at document level SHALL be equal to the sum of allowance amounts at document level |
fatal |
PEPPOL-T01-R010 Expected total sum of charges at document level SHALL be equal to the sum of charge amounts at document level |
fatal |
PEPPOL-T01-R011 Expected total amount without TAX = Expected total sum of line amounts - Sum of allowances on document level + Sum of charges on document level |
fatal |
PEPPOL-T01-R013 Each order line SHOULD have an ordered quantity |
warning |
PEPPOL-T01-R014 An order SHALL have the originator party name or an identifier |
fatal |
PEPPOL-T01-R016 Amount due for payment = Invoice total amount with TAX - Paid amount + Rounding amount. |
fatal |
PEPPOL-T01-R017 Expected total amount with TAX = Expected total amount without TAX + Order total TAX amount. |
fatal |
PEPPOL-T01-R019 Item net price SHALL equal (Gross price - Allowance amount) when gross price is provided. |
fatal |
PEPPOL-T01-R020 Allowance/charge base amount SHALL be provided when allowance/charge percentage is provided. |
fatal |
PEPPOL-T01-R021 Allowance/charge percentage SHALL be provided when allowance/charge base amount is provided. |
fatal |
PEPPOL-T01-R022 Allowance/charge amount SHALL equal base amount * percentage/100 if base amount and percentage exists |
fatal |
PEPPOL-T01-R023 Each document or line level allowance SHALL have an allowance reason text or an allowance reason code. |
fatal |
PEPPOL-T01-R024 Order line net amount SHALL equal (Ordered quantity * (Item net price/item price base quantity) + Order line charge amount - Order line allowance amount |
fatal |
PEPPOL-T01-R025 Base quantity SHALL be a positive number above zero. |
fatal |
PEPPOL-T01-R026 When TAX is VAT then Party VAT identifiers 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’. |
fatal |
PEPPOL-T01-R027 The Item gross price SHALL NOT be negative. |
fatal |
PEPPOL-T01-R028 Elements of data type amount cannot have more than 2 decimals (I.e. all amounts except unit price amounts) |
fatal |
PEPPOL-T01-R029 Each Tax Category SHALL have a TAX category rate, except if the order is not subject to TAX. |
fatal |
PEPPOL-T01-R030 When TAX category code is "Standard rated" (S) the TAX rate SHALL be greater than zero. |
fatal |
PEPPOL-T01-R031 An order transaction SHALL use profile order only, ordering or advanced_ordering. |
fatal |
PEPPOL-T01-R032 Allowance or charge amounts SHALL NOT be negative. |
fatal |
PEPPOL-T01-R033 Allowance or charge amounts SHALL NOT be negative. |
fatal |
PEPPOL-T01-R034 Specification identifier SHALL start with the value 'urn:fdc:peppol.eu:poacc:trns:order:3'. |
fatal |