This is a sample e-invoice XML template that you can use as a e-invoice starting point in RISE. You can customize it by replacing or adding variables, adjusting the structure to match your required format, and saving it as a new template in Settings > Sales & Prospects > Invoices > e-Invoice Templates.
Peppol UBL Invoice 2.1 – BIS Billing 3.0 (EN 16931)
This template contains following custom fields. Instead of adding company-related fields as custom fields, you can directly set those values inside the e-invoice XML template.
{COMPANY_ELECTRONIC_ADDRESS} | Seller electronic address |
{COMPANY_STREET_NAME} | Seller address line 1 |
{COMPANY_CITY_NAME} | Seller city |
{COMPANY_ZIP} | Seller post code |
{COMPANY_COUNTRY_CODE} | Seller country code (2 Digits) |
{COMPANY_IBAN} | Seller Bank IBAN |
{COMPANY_SWIFT} | Seller Bank SWIFT |
{CLIENT_ELECTRONIC_ADDRESS} | Client electronic address |
When creating custom fields in RISE for use in e-invoice templates, ensure that each Template variable name is unique. You can assign any name, but it must exactly match the variable used in your XML template (e.g., {COMPANY_ELECTRONIC_ADDRESS}). This ensures your custom data is correctly inserted into the final XML output. Duplicate variable names may cause conflicts or incorrect values in the generated e-invoice.
For more details and structure guidelines, refer to the official Peppol documentation.
Validation
After generating the e-invoice XML, you can test and validate it using this website. Rule set: