XML_UBL
Overview
The module provides support for XML/UBL 2.0/2.1/2.2 invoices export. It requires PHP 7.4 or higher.
Warning: This is initial implementation, please verify exported files with your accountant
Activating the module
The plugin is free and available to all HostBill users. In order to activate the plugin go to Settings→ Modules→ Plugins → Inactive, find and activate UBL Invoices plugin.
Once the plugin is activated you will be directed to Settings→ Modules→ Plugins to configure the module.
Module configuration
Fill in the standard configuration fields:
Choose module display name
Select if you want the plugin to be accessible for all staff members or only selected staff members
Configure UBL settings:
UBL Version - select UBL document version, from 2.0, 2.1, 2.2
Country - select your company's country from the dropdown list
Company Name - your company name
Tax ID - your company Tax ID
Legal ID - your company legal registration number
Street - your company street address
Building number - your company building number
City - your company city
Postal Code - your company post code
Bank/Sepa: IBAN - if the payment method is sepa dd or bank transfer, this number will be used in Payee Financial Account
Bank/Sepa: account name - if the payment method is sepa dd or bank transfer, this number will be used in Payee Financial Account
Invoice item: Unit code - entry item unit code appearing on exported invoice, default to C62
VAT Registration field - client registration field name, used for storing customer VAT number
Auto-validate - auto-validate each newly generated XML invoice. Use for testing only as it will significantly slow down xml generation.
Attach PDF file - once enabled HostBill-generaed PDF invoice file will be attached to UBL/XML file
Use issue date - once enabled HostBill's invoice creation date would be used even for paid invoices
Add due date - once enabled due date information will be added to generated XML - note that it may break some UBL validators
Use Peppol format - once enabled genreated document will use UBL 2.1 with peppol customization
Peppol EndpointID Scheme - when peppol format is used enter your endpoint scheme id - ie for Belgium's peppol its 0208
Peppol: Buyer EndpointID Scheme: - when peppol format is used enter buyer's endpoint scheme id - ie for Belgium's peppol its 9925