check_peppol_ready
Before you send an e-invoice: will the Peppol network accept it? Checks the invoice against 21 published Peppol BIS Billing 3.0 rules — the ones that actually fail in practice: a missing buyer or order reference, a missing electronic address for either party, an address stated under a scheme code that does not exist, totals that do not add up, a date in the wrong format. Every finding names the official rule (PEPPOL-EN16931-R003, BR-CO-15 …), quotes its text and says what to change. Offline and free. It checks a listed subset of a much larger rule set and is not the official validator: a clean result means nothing among these rules is wrong, never that the network will accept the document.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lines | No | The invoice lines. | |
| currency | No | Three-letter currency code (BT-5), e.g. EUR. | |
| customer | No | The customer, the receiver. | |
| supplier | No | You, the sender. | |
| totalVat | No | Total VAT (BT-110). | |
| issueDate | No | The issue date (BT-2). Peppol requires YYYY-MM-DD. | |
| totalWithVat | No | Invoice total including VAT (BT-112). | |
| invoiceNumber | No | The invoice number (BT-1). | |
| buyerReference | No | The reference the customer asked you to put on the invoice (BT-10). Peppol requires this OR an order reference. | |
| orderReference | No | The purchase order number (BT-13). The alternative to a buyer reference. | |
| totalWithoutVat | No | Invoice total excluding VAT (BT-109). Supply it and the arithmetic rules are checked. |