A sound test strategy covers four layers: local validation of generated XML against the published PINT AE rules, sandbox submission through your Accredited Service Provider to exercise its API and status handling, end-to-end exchange with at least one trading partner's test environment, and operational rehearsal of rejections, credit notes and outages. Each in-scope invoice scenario your business issues should have a documented test case, and go-live should depend on explicit exit criteria rather than a date.
Key facts at a glance
- Layer 1: local schematron validation of every scenario.
- Layer 2: ASP sandbox submissions with test identifiers and provider-issued credentials.
- Layer 3: partner exchange with a customer or supplier test endpoint.
- Layer 4: operational rehearsal of rejections, corrections and outages.
- Sandbox onboarding often requires the provider to link a test entity; plan for lead time.
Build the scenario catalogue first
List every kind of document you issue: standard-rated goods, standard-rated services, zero-rated exports, exempt supplies, mixed-rate orders, reverse-charge supplies, foreign-currency invoices, advance-payment invoices, progress invoices with retention, credit notes for returns, full-reversal credit notes, invoices with document discounts, invoices with delivery charges. Each becomes a test case with expected XML characteristics. Businesses typically find 15 to 30 scenarios; each must pass before go-live.
Sandbox realities
End-to-end with a partner
Ask a cooperative customer whose provider offers a test endpoint to exchange documents with you. This catches issues that provider-only testing misses: how their system renders your references, whether your unit codes match their catalogue, and how quickly delivery status returns. Reverse the exercise for inbound: receive a supplier's test invoice and process it through your purchase ledger.
Exit criteria for go-live
| Criterion | Target |
|---|---|
| Scenario pass rate in sandbox | 100% of catalogue |
| Local validation in CI | All scenarios green on every build |
| Rejection handling | Owner, procedure and SLA documented and rehearsed |
| Credit-note workflow | Tested for partial and full reversals |
| Outage drill | Queue, notification draft and backfill tested |
| Reconciliation | Daily report matches provider's report for a full test week |
Where Zaini Developers fits in
We maintain a reusable scenario suite built from certification test cases and run it against each client's build and sandbox before any live document is sent.
Book a free consultation →Frequently asked questions
Can I test without appointing an ASP in EmaraTax?
Provider sandboxes are separate from EmaraTax; many allow testing before formal appointment, though some require a linked test entity.
How long does testing take?
With clean data and a scenario catalogue, two to four weeks is typical; poor master data extends it.
Should I test with real customers?
Use partners' test endpoints, not production, until exit criteria are met.
Do I need to retest after a Peppol rule update?
Yes. Re-run the catalogue against the new rule set, locally and in sandbox.
