{"slug":"api-invoket-com-invoice-generate-pdf-719ad5","title":"Before your agent bills a customer","host":"api.invoket.com","method":"POST","resource":"https://api.invoket.com/invoice/generate-pdf","category":"other","description":"Before your agent bills a customer: get the whole Factur-X file it sends and the customer reads - a PDF/A-3B embedding the EN 16931 CII XML, the hybrid invoice mandated by the French 2026-2027 reform. Post simple business JSON (parties, lines, VAT), get a file ready to send and archive: totals compu","price_listed":0.1,"price_asked":null,"state":"effects","state_label":"Not tested: has real-world effects","checks_7d":0,"answered_7d":0,"latency_ms_median":null,"reported_calls_30d":2,"reported_payers_30d":1,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"buyer":{"address":{"city":"Paris","country":"FR","line1":"4 avenue du Parc","postal_code":"75011"},"name":"Agence Lumen SAS","vat_id":"FR23342663721"},"currency":"EUR","due_date":"2026-08-11","invoice_number":"FA-2026-0042","issue_date":"2026-07-12","lines":[{"description":"Fabrication comptoir chene massif","qty":"1","unit":"C62","unit_price":"1200.00","vat":{"category":"S","rate":"20"}},{"description":"Pose et finition sur site","qty":"6","unit":"HUR","unit_price":"85.00","vat":{"category":"S","rate":"20"}}],"payment":{"iban":"FR7630006000011234567890189","terms":"30 jours nets"},"seller":{"address":{"city":"Lyon","country":"FR","line1":"12 rue des Artisans","postal_code":"69003"},"legal_id":{"scheme":"0002","value":"732829320"},"name":"Menuiserie Dubois SARL","vat_id":"FR44732829320"}},"bodyType":"json","headers":{"accept":"application/json","content-type":"application/json"},"method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"properties":{"buyer":{"properties":{"address":{"properties":{"city":{"type":"string"},"country":{"type":"string"},"line1":{"type":"string"},"postal_code":{"type":"string"}},"required":["country"],"type":"object"},"name":{"type":"string"},"vat_id":{"type":"string"}},"required":["address","name"],"type":"object"},"currency":{"type":"string"},"due_date":{"type":"string"},"invoice_number":{"type":"string"},"issue_date":{"type":"string"},"lines":{"items":{"properties":{"description":{"type":"string"},"qty":{"type":"string"},"unit":{"type":"string"},"unit_price":{"type":"string"},"vat":{"properties":{"category":{"type":"string"},"rate":{"type":"string"}},"required":["category","rate"],"type":"object"}},"required":["description","qty","unit","unit_price","vat"],"type":"object"},"type":"array"},"payment":{"properties":{"iban":{"type":"string"},"terms":{"type":"string"}},"required":[],"type":"object"},"seller":{"properties":{"address":{"properties":{"city":{"type":"string"},"country":{"type":"string"},"line1":{"type":"string"},"postal_code":{"type":"string"}},"required":["country"],"type":"object"},"legal_id":{"properties":{"scheme":{"type":"string"},"value":{"type":"string"}},"required":["value"],"type":"object"},"name":{"type":"string"},"vat_id":{"type":"string"}},"required":["address","name"],"type":"object"}},"required":["buyer","currency","invoice_number","issue_date","lines","seller"],"type":"object"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"headers":{"additionalProperties":{"type":"string"},"type":"object"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"queryParams":{"additionalProperties":{"type":"string"},"type":"object"},"schema":{"type":"object"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[],"description_full":"Before your agent bills a customer: get the whole Factur-X file it sends and the customer reads - a PDF/A-3B embedding the EN 16931 CII XML, the hybrid invoice mandated by the French 2026-2027 reform. Post simple business JSON (parties, lines, VAT), get a file ready to send and archive: totals computed, inconsistent input refused field by field, the official rule set cleared and the embedded XML re-read byte for byte. vat_treatment writes the reverse charge or intra-Community exemption mention.","last_updated":"2026-09-19T15:54:08.194Z","schemes":["exact"]}