Reads a European electronic invoice from a direct link (a PDF with embedded XML or the XML file) and returns parties, lines, VAT breakdown, totals and payment data in one normalized JSON shape, whatever the source standard.
A validation block checks mandatory fields and the arithmetic (net + VAT = gross, lines sum to totals, VAT breakdown) and adds the main XRechnung rules. Fully deterministic: XML parsing, no OCR and no AI.
What it is for
- Accounting firms: ingest supplier e-invoices from Germany, Italy, Spain and the Peppol network into one format.
- Accounting and ERP software: a reader for the e-invoicing mandates (Germany receiving since 2025, Belgium 2026, France 2026).
- SMEs: check that a received invoice is structurally correct before booking it.
- Developers: normalize CII, UBL, FatturaPA and Facturae without writing four parsers.
- AI agents: invoice data as compact JSON.
Input
The input is a small flat JSON. Only channels, or the first field, is required.
| Field | Type | Description |
|---|---|---|
invoiceUrls | array | Direct links to PDF (with embedded XML) or XML invoice files. |
validate | boolean | Add mandatory-field and arithmetic checks. |
{
"invoiceUrls": [
"https://raw.githubusercontent.com/ZUGFeRD/mustangproject/master/library/src/test/resources/EN16931_Einfach.pdf"
],
"validate": true
}Output
One dataset item per result. This is real output from a real run.
{
"source": "https://raw.githubusercontent.com/ZUGFeRD/mustangproject/master/library/src/test/resources/EN16931_Einfach.pdf",
"fileType": "pdf",
"syntax": "CII",
"profileId": "EN 16931",
"standard": "Factur-X / ZUGFeRD",
"number": "471102",
"typeCode": "380",
"issueDate": "2024-11-15",
"currency": "EUR",
"seller": {
"name": "Lieferant GmbH",
"vatId": "DE123456789",
"street": "Lieferantenstraße 20",
"city": "München",
"postalCode": "80333",
"country": "DE"
},
"buyer": {
"name": "Kunden AG Mitte",
"street": "Kundenstraße 15",
"city": "Frankfurt",
"postalCode": "69876",
"country": "DE"
},
"lines": [
{
"id": "1",
"name": "Trennblätter A4",
"quantity": 20,
"unit": "H87",
"unitPrice": 9.9,
"lineTotal": 198,
"vatCategory": "S",
"vatRate": 19
},
{
"id": "2",
"name": "Joghurt Banane",
"quantity": 50,
"unit": "H87",
"unitPrice": 5.5,
"lineTotal": 275,
"vatCategory": "S",
"vatRate": 7
}
],
"vatBreakdown": [
{
"category": "S",
"rate": 7,
"taxableAmount": 275,
"taxAmount": 19.25
},
{
"category": "S",
"rate": 19,
"taxableAmount": 198,
"taxAmount": 37.62
}
],
"totals": {
"lineTotal": 473,
"net": 473,
"tax": 56.87,
"gross": 529.87,
"prepaid": 0,
"payable": 529.87
},
"embeddedFiles": [
"factur-x.xml"
],
"validation": {
"valid": true,
"errors": [],
"warnings": []
}
}Pricing
$10.00 per 1,000
Pay per event: you are charged only for results returned. Filtered-out items and failed lookups are free. Apify also lets you set a maximum cost per run.
Limits and good to know
- It needs a direct link to a PDF with embedded XML or to the XML file. A plain PDF without embedded XML is reported as an error and not charged.
- Validation is not complete: it checks mandatory fields, the arithmetic business rules and the main XRechnung rules. It is not a full Schematron validation or a legal compliance certificate.
- Files that fail to download or parse are not charged.
Questions
Which formats are supported?
Factur-X and ZUGFeRD (PDF/A-3 with embedded XML), XRechnung (UBL and CII), UBL/Peppol BIS 3.0 invoices and credit notes, plain CII XML, FatturaPA (Italy) and Facturae 3.x (Spain).
Does it use OCR or AI?
No. It extracts the embedded XML and parses it, so results are exact. A plain PDF without embedded XML is reported as an error and not charged.
Is the validation complete?
No. It checks mandatory fields, the arithmetic business rules and the main XRechnung rules. It is not a full Schematron validation or a legal compliance certificate.
What is charged?
0.01 USD per invoice read. Files that fail to download or parse are not charged.
Does it store my invoices?
The Actor only downloads the links you give it and returns the data in your own dataset. Delete the dataset when you no longer need it.
Rate it on Apify
Used it? A rating or review on Apify helps other people judge it, and tells us what to fix.