Prerequisites
- AFAS Online environment with Financial module
- Dutch government supplier registration
- Customer OIN (Organisatie Identificatie Nummer) for government recipients
- Administrator access to e-invoicing configuration
Step-by-Step Setup
Enable SI-UBL output format
In AFAS Profit, navigate to the e-invoicing configuration. Enable SI-UBL 2.0 as the output format for government customers. SI-UBL extends standard UBL 2.1 with Dutch government-specific requirements.
Configure government customer records
For each government customer, enter the OIN (Organisatie Identificatie Nummer) in the designated identifier field. Add the buyer reference (bestellnummer or contractnummer) that the government entity requires on invoices.
Set up Digipoort delivery
Configure Digipoort as the delivery channel for government invoices. AFAS supports direct Digipoort integration—enable it in the e-invoicing settings and provide your PKI certificate credentials.
Validate SI-UBL compliance
Generate a test invoice and validate it against SI-UBL 2.0 requirements using Invoice Navigator. Check that the CustomizationID references the correct SI-UBL specification and all required Dutch-specific fields are present.
Common AFAS Errors
Why this happens in AFAS
AFAS organisation settings may use a short trading name. Dutch government portals require the full legal entity name as registered at KvK.
How to fix it
Enter the exact KvK-registered company name in Organisation settings. This must match your official registration.
Why this happens in AFAS
Government customer OIN entered with incorrect format. OIN must be a valid 20-digit identifier from the Dutch OIN register.
How to fix it
Verify the customer OIN at the Logius OIN register. Enter the full 20-digit OIN with scheme ID 0190 in the customer record.
Why this happens in AFAS
Draft invoices in AFAS may not have an invoice number assigned until posting. Exporting before posting produces an incomplete SI-UBL file.
How to fix it
Always post the invoice before exporting or sending via Digipoort. AFAS assigns the invoice number during the posting process.
Pre-Export Checklist for AFAS
Before exporting SI-UBL 2.0 from AFAS, verify these items:
- 1Verify company KvK number matches official registration
- 2Confirm government customer OIN is a valid 20-digit identifier
- 3Check that buyer reference (bestellnummer) is populated
- 4Ensure invoice is posted (not draft) before export
- 5Verify VAT number format: NL + 9 digits + B + 2 digits
Validate Your Output
Validate your SI-UBL invoices with Invoice Navigator before submitting to Dutch government portals. The validator checks both EN 16931 core rules and SI-UBL specific requirements.
Validate SI-UBL 2.0FAQ
What is the difference between UBL and SI-UBL?
Do I need Digipoort for all government invoices?
Related Guides
Ready to Test Your AFAS Export?
Upload your SI-UBL 2.0 invoice and get instant compliance feedback with AFAS-specific recommendations.
Validate SI-UBL 2.0 Invoice