Test Mode
Test mode lets you build and test your Avatcado integration without making real VIES/HMRC/BFS/Bronnysund calls or consuming your monthly quota. Use aavat_test_ API key instead of a avat_live_ key.
How it works
- No upstream calls: Requests never reach VIES, HMRC, BFS, or Bronnysund
- No quota usage: Test requests don’t count toward your monthly limit
- No burst limit: Test keys are exempt from the per-minute burst limit
- No rate limit headers: Since there’s no quota or burst limit, rate limit headers are omitted
- Async endpoints reject test keys:
/v1/validate/asyncand/v1/validate/async/batchreturn403 forbiddenforavat_test_keys. Use aavat_live_key for async testing - No caching: Every request returns a fresh response
- Format validation still applies: Invalid VAT formats return
invalid_vat_formatjust like in live mode meta.mode: "test": Every test response includes this field so you can distinguish test from live
Magic VAT numbers
Use these specific VAT numbers to trigger predictable scenarios:
Any other properly formatted VAT number returns
valid: true with a generic “Test Company” / “Test Address”.
Examples
Valid response
Error response
Behavior notes
- Consultation numbers are included for all tiers when a matching
requester_vat_numberis provided - Input normalization works the same as live mode.
"de 111.111.111"becomesDE111111111 - Non-magic numbers return a generic valid result, so any integration test with valid-format VAT numbers will succeed