All error codes › PEPPOL-EN16931-P0100
PEPPOL-EN16931-P0100 – Invoice type code MUST be set according to the profile
ErrorpeppolPeppol only
What the rule says
Invoice type code MUST be set according to the profile.
How to fix it
Fill in or correct the fields named in the rule (the BT/BG codes tell you which). The test below shows exactly what is checked in the XML. Quickest: validate the invoice to get the exact location and, for amounts, the correct value.
Paste the XML and see every error with the exact fix and the correct amounts.
Where it is checked in the XML
Context: cbc:InvoiceTypeCode
Test (XPath):
$profile != '01' or (some $code in tokenize('71 80 82 84 102 218 219 326 331 380 382 383 384 386 388 393 395 553 575 623 780 817 870 875 876 877', '\s') satisfies normalize-space(text()) = $code)Related rules
PEPPOL-EN16931-P0101Credit note type code MUST be set according to the profilePEPPOL-EN16931-P0104Tax Category G MUST be used when exemption reason code is VATEX-EU-GPEPPOL-EN16931-P0105Tax Category O MUST be used when exemption reason code is VATEX-EU-OPEPPOL-EN16931-P0106Tax Category K MUST be used when exemption reason code is VATEX-EU-ICPEPPOL-EN16931-P0107Tax Category AE MUST be used when exemption reason code is VATEX-EU-AEPEPPOL-EN16931-P0108Tax Category E MUST be used when exemption reason code is VATEX-EU-DPEPPOL-EN16931-P0109Tax Category E MUST be used when exemption reason code is VATEX-EU-FPEPPOL-EN16931-P0110Tax Category E MUST be used when exemption reason code is VATEX-EU-IPEPPOL-EN16931-P0111Tax Category E MUST be used when exemption reason code is VATEX-EU-JPEPPOL-EN16931-P0112Invoice type code 326 or 384 are only allowed when both buyer and seller are German…