Skip to content

Document template · eu.trade.ec_sales_list

EC Sales List

  • Render-verified
  • Official document
  • Version 1.0.0

Goods-focused per-customer recapitulation of intra-community supplies. Several member states separate the 'EC Sales List' (ESL, goods-only) from the broader Art. 262 recapitulative statement that covers services; this template produces the ESL view specifically.

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 23 fields:

Field Required Type Description
declarant Required object
declarant.name Required string
declarant.vat_id Required string
declarant.address Optional string
declarant.contact_name Optional string
declarant.contact_email Optional string
period Required object
period.year Required integer
period.month Optional integer
period.quarter Optional integer
lines Required array of object
lines[].customer_country_code Required string
lines[].customer_vat_id Required string
lines[].customer_name Optional string
lines[].value Required number
lines[].indicator Required enum HMRC-style indicator: 0 = B2B supply of goods, 2 = triangular, 3 = services reverse-charged.
totals Required object
totals.currency Required string
totals.total Required number
totals.line_count Optional integer
filed_on Optional date
reference Optional string
correction Optional boolean True if this filing corrects a previous submission.

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
curl -X POST https://api.papii.eu/render \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "template": "eu.trade.ec_sales_list",
    "data": { ... },
    "options": {"language": "en"}
  }' -o ec-sales-list.pdf

Frequently asked questions

What is “EC Sales List”?

Goods-focused per-customer recapitulation of intra-community supplies. Several member states separate the 'EC Sales List' (ESL, goods-only) from the broader Art. 262 recapitulative statement that covers services; this template produces the ESL view specifically. On papii this document is available as template eu.trade.ec_sales_list: a JSON Schema plus a deterministic PDF renderer, so the same data always produces the same document.

Can I generate a EC Sales List 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 EC Sales List 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.