Document template · eu.trade.intracomm_invoice
Intra-Community Invoice
- Render-verified
- Official document
- Version 1.0.0
Cross-border EU B2B supply invoice. Goods qualify for the Art. 138 exemption when the acquirer is VAT-registered in another member state and the goods leave the supplier's member state; services usually reverse-charge under Art. 44/196. Invoice must carry the mandatory mentions of Arts. 226 + 226a.
JSON Schema
Fields in this template
Data sent to the API is validated against the template’s JSON Schema before anything is rendered. This template defines 24 fields:
| Field | Required | Type | Description |
|---|---|---|---|
| supplier | Required | object | |
| acquirer | Required | object | |
| invoice | Required | object | |
| invoice.number | Required | string | |
| invoice.date | Required | date | |
| invoice.due_date | Optional | date | |
| invoice.reference | Optional | string | |
| invoice.type | Required | enum | Drives the applicable exemption / reverse-charge wording. |
| invoice.transport_ref | Optional | string | Proof of transport / CMR reference supporting the Art. 138 exemption for goods. |
| lines | Required | array of object | |
| lines[].description | Required | string | |
| lines[].quantity | Required | number | |
| lines[].unit_price | Required | number | |
| lines[].amount | Required | number | |
| lines[].line_type | Optional | enum | |
| totals | Required | object | |
| totals.net | Required | number | |
| totals.vat | Optional | number | Usually 0 under intra-community exemption / reverse charge. |
| totals.gross | Optional | number | |
| totals.currency | Required | string | |
| payment | Optional | object | |
| payment.iban | Optional | string | |
| payment.bic | Optional | string | |
| payment.terms | Optional | string |
POST /render
Generate it
One POST /render call: send your JSON, get the finished PDF back. Or skip the JSON entirely and describe the document in plain language on chut.app.
curl -X POST https://api.papii.eu/render \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"template": "eu.trade.intracomm_invoice",
"data": { ... },
"options": {"language": "en"}
}' -o intracomm-invoice.pdf Frequently asked questions
What is “Intra-Community Invoice”?
Cross-border EU B2B supply invoice. Goods qualify for the Art. 138 exemption when the acquirer is VAT-registered in another member state and the goods leave the supplier's member state; services usually reverse-charge under Art. 44/196. Invoice must carry the mandatory mentions of Arts. 226 + 226a. On papii this document is available as template eu.trade.intracomm_invoice: a JSON Schema plus a deterministic PDF renderer, so the same data always produces the same document.
Can I generate a Intra-Community Invoice with AI?
Yes. chut.app — the AI back office papii powers — fills this template from a plain-language description: you describe the document in one sentence, the AI structures the data, papii validates it against the schema and renders the PDF. Developers can also call the papii API directly with structured JSON.
Is the Intra-Community Invoice template legally compliant?
This template is render-verified: its schema, sample data and PDF output are automatically tested on every release. It is published with status “ready”, meaning it has not yet been through papii’s final legal review. Where it references specific legislation, that is stated in the template description — always have a professional check documents with legal effect before relying on them.