A base invoice model contains all fields required for a valid electronic invoice that can be processed automatically via the Peppol network. The example below uses the Peppol BIS Billing 3.0 format and shows the data structure in JSON and XML.
Example scenario
In this example, an invoice is created with number INV-2024-001, issue date 13 November 2017 and due date 1 December 2017. The invoice is in euros with payment terms "Payment within 10 days, 2% discount". Accounting cost code 4025:123:4343, customer reference PO-2024-0150.
The invoice is issued by TechSolutions GmbH (trading name TechSolutions). Supplier: Friedrichstraße 45, Berlin, 10117, Germany. VAT ID DE123456789, registration number HRB 98765 B (Amtsgericht Berlin-Charlottenburg), Peppol endpoint DE123456789 (scheme 9930). Supplier identifier 98765432.
The recipient is Digital Services NV (Digital Services), Rue de la Loi 200, Brussels, 1040, Belgium. Buyer VAT ID BE0123456789, registration number 2301147529 (scheme 0208), Peppol endpoint 9121155354532 (scheme 0088). Contact: Contact Person, +32 2 000 00 00, contact@example.com.
Delivery: Digital Services NV, Avenue Louise 250, Brussels, 1050, Belgium, 1 November 2017. Delivery location identifier 541234567891 (scheme 0088).
One line item: "Software License - Annual Subscription" — annual license for enterprise management system including support and updates. Quantity 1, price 5000 EUR, line amount 5000 EUR. Order line reference PO-2024-0150-001, accounting cost "Software Licenses", country of origin Germany. VAT 19%, code S, scheme VAT.
A charge of 100 EUR for setup and configuration, also VAT 19%, code S, scheme VAT.
Payment: SEPA credit transfer (code 58), account DE99 9999 9999 9999 9999 99, bank EXMPDE00XXX. Payee TechSolutions GmbH, remittance information "INV-2024-001".
{"format":"peppol_bis_billing.invoice.3_0.xml_ubl","document":{"number":"INV-2024-001","type_code":"380","issue_date":"2017-11-13","due_date":"2017-12-01","currency_code":"EUR","terms":"Payment within 10 days, 2% discount","accounting_cost":"4025:123:4343","customer_reference":"PO-2024-0150"},"supplier":{"address_line_1":"Friedrichstraße 45","address_line_2":null,"city":"Berlin","zip":"10117","country":"DE","ids":[{"value":"98765432","scheme":null}],"name":"TechSolutions GmbH","trading_name":"TechSolutions","vat_id":"DE123456789","endpoint_id":{"value":"DE123456789","scheme":"9930"},"legal_registration_id":{"value":"HRB 98765 B","scheme":null}},"customer":{"address_line_1":"Rue de la Loi 200","address_line_2":null,"city":"Brussels","zip":"1040","country":"BE","id":{"value":"9121155354532","scheme":"0088"},"name":"Digital Services NV","trading_name":"Digital Services","vat_id":"BE0123456789","endpoint_id":{"value":"9121155354532","scheme":"0088"},"legal_registration_id":{"value":"2301147529","scheme":"0208"},"contact_name":"Contact Person","contact_phone":"+32 2 000 00 00","contact_email":"contact@example.com"},"delivery":{"address_line_1":"Avenue Louise 250","address_line_2":null,"city":"Brussels","zip":"1050","country":"BE","id":{"value":"541234567891","scheme":"0088"},"name":"Digital Services NV","date":"2017-11-01"},"discounts_charges":[{"sign":"+","amount":"100","tax_code":"S","tax_scheme":"VAT","tax_percent":"19.0","reason":"Setup and Configuration"}],"payment_details":[{"method_code":"58","method_name":"SEPA credit transfer","iban":"DE99999999999999999999","bic":"EXMPDE00XXX","account_name":"TechSolutions GmbH","remittance_information":"INV-2024-001"}],"taxes":[{"taxable_amount":"5100","currency_code":"EUR","amount":"969","percent":"19.0","code":"S","scheme":"VAT"}],"totals":{"item_subtotal":"5000","subtotal":"5100","total":"6069","charge":"100","payable":"6069","tax_total":"969"},"items":[{"subtotal":"5000","position":"1","name":"Software License - Annual Subscription","description":"Annual software license for enterprise management system including support and updates","quantity":"1","unit_code":"C62","price":"5000","order_position_reference":"PO-2024-0150-001","tax_percent":"19.0","tax_code":"S","tax_scheme":"VAT","accounting_cost":"Software Licenses","origin_country":"DE"}]}