Quickstart
Validate your first invoice in about 5 minutes.
1. Get a key
Create a free account and API key in the dashboard. Test keys (eiv_test_…) don't count against quota.
2. Validate an invoice
curl -s -X POST 'https://einvoicecheck.eu/v1/validate' \ -H 'Authorization: Bearer eiv_live_your_key' \ -H 'Content-Type: application/xml' \ --data-binary @invoice.xml
Node:
const res = await fetch('https://einvoicecheck.eu/v1/validate', {
method: 'POST',
headers: { 'Authorization': 'Bearer ' + process.env.EIV_KEY, 'Content-Type': 'application/xml' },
body: invoiceXml,
});
const result = await res.json();
console.log(result.valid, result.errors);
3. Check a VAT number
curl -s 'https://einvoicecheck.eu/v1/vat/SI/12345678' -H 'Authorization: Bearer eiv_live_your_key'
4. List formats
curl -s 'https://einvoicecheck.eu/v1/formats'
Full reference: OpenAPI. Every validation error includes a docsUrl linking to that rule's page.