Une facture avec TVA pour les entreprises qui vendent en Europe. Elle indique le vendeur et l’acheteur avec leurs numéros de TVA, les lignes avec un taux de TVA chacune et les montants hors taxe calculés, un récapitulatif par taux et les totaux au format numérique européen, avec une mention d’autoliquidation facultative. Téléchargez le fichier Word pour y ajouter vos informations, puis générez une facture avec TVA pour chaque vente.
Importez le modèle, puis envoyez les données structurées pour générer votre facture. Remplacez YOUR_API_KEY par votre clé unique et YOUR_TEMPLATE_ID par l'ID de votre modèle.
Envoyez un tableau d'objets JSON et recevez un document par objet, dans une archive ZIP. Utilisez le paramètre output_name pour nommer chaque fichier avec les balises de fusion de votre modèle.
curl -X 'POST' \
'https://api.docugenerate.com/v1/document' \
-H 'Accept: application/json' \
-H 'Authorization: YOUR_API_KEY' \
-H 'Content-Type: application/json' \
-d '{
"template_id": "YOUR_TEMPLATE_ID",
"output_format": ".pdf",
"data": {
"invoice_number": "2027-0112",
"invoice_date": "2027-03-04",
"supply_date": "2027-03-01",
"due_date": "2027-03-18",
"seller": {
"name": "Lumen Studio Brno s.r.o.",
"address": "Masarykova 18",
"city": "602 00 Brno, Czech Republic",
"vat_id": "CZ28419065",
"iban": "CZ65 0800 0000 1920 0014 5399",
"bic": "GIBACZPX"
},
"buyer": {
"name": "Hartmann Interieur GmbH",
"address": "Lindenallee 14",
"city": "20259 Hamburg, Germany",
"vat_id": "DE 311 902 457",
"reference": "PO 4471"
},
"items": [
{
"description": "Brand identity design, logo and guidelines",
"quantity": 1,
"unit_price": 3400,
"vat_rate": 0
},
{
"description": "Packaging design, three product lines",
"quantity": 3,
"unit_price": 980,
"vat_rate": 0
},
{
"description": "Photography, product shoot (day rate)",
"quantity": 2,
"unit_price": 760,
"vat_rate": 0
},
{
"description": "Illustrations for the catalog",
"quantity": 12,
"unit_price": 85,
"vat_rate": 0
},
{
"description": "Project management",
"quantity": 1,
"unit_price": 420,
"vat_rate": 0
}
],
"vat_summary": [
{
"rate": 0,
"net": 9300,
"vat": 0
}
],
"net_total": 9300,
"vat_total": 0,
"gross_total": 9300,
"reverse_charge": true
}
}' curl -X 'POST' \
'https://api.docugenerate.com/v1/document' \
-H 'Accept: application/json' \
-H 'Authorization: YOUR_API_KEY' \
-H 'Content-Type: application/json' \
-d '{
"template_id": "YOUR_TEMPLATE_ID",
"output_format": ".pdf",
"single_file": false,
"output_name": "VAT Invoice [invoice_number]",
"data": [
{ "invoice_number": "2027-0112", "invoice_date": "2027-03-04", "supply_date": "2027-03-01", "due_date": "2027-03-18", "seller": {"name":"Lumen Studio Brno s.r.o.","address":"Masarykova 18","city":"602 00 Brno, Czech Republic","vat_id":"CZ28419065","iban":"CZ65 0800 0000 1920 0014 5399","bic":"GIBACZPX"}, "buyer": {"name":"Hartmann Interieur GmbH","address":"Lindenallee 14","city":"20259 Hamburg, Germany","vat_id":"DE 311 902 457","reference":"PO 4471"}, "items": [{"description":"Brand identity design, logo and guidelines","quantity":1,"unit_price":3400,"vat_rate":0},{"description":"Packaging design, three product lines","quantity":3,"unit_price":980,"vat_rate":0},{"description":"Photography, product shoot (day rate)","quantity":2,"unit_price":760,"vat_rate":0},{"description":"Illustrations for the catalog","quantity":12,"unit_price":85,"vat_rate":0},{"description":"Project management","quantity":1,"unit_price":420,"vat_rate":0}], "vat_summary": [{"rate":0,"net":9300,"vat":0}], "net_total": 9300, "vat_total": 0, "gross_total": 9300, "reverse_charge": true },
{ "invoice_number": "2027-0115", "invoice_date": "2027-03-07", "supply_date": "2027-03-04", "due_date": "2027-03-21", "seller": {"name":"Lumen Studio Brno s.r.o.","address":"Masarykova 18","city":"602 00 Brno, Czech Republic","vat_id":"CZ28419065","iban":"CZ65 0800 0000 1920 0014 5399","bic":"GIBACZPX"}, "buyer": {"name":"Atelier Rivoli Srl","address":"Via Torino 48","city":"20123 Milan, Italy","vat_id":"IT 07652840961","reference":"AR-2201"}, "items": [{"description":"Website design, 8 page templates","quantity":1,"unit_price":4200,"vat_rate":0},{"description":"Front-end development","quantity":40,"unit_price":72,"vat_rate":0},{"description":"Copywriting, 8 pages","quantity":8,"unit_price":95,"vat_rate":0},{"description":"Accessibility review","quantity":1,"unit_price":540,"vat_rate":0},{"description":"Hosting setup and training","quantity":1,"unit_price":310,"vat_rate":0}], "vat_summary": [{"rate":0,"net":8690,"vat":0}], "net_total": 8690, "vat_total": 0, "gross_total": 8690, "reverse_charge": true },
{ "invoice_number": "2027-0118", "invoice_date": "2027-03-10", "supply_date": "2027-03-07", "due_date": "2027-03-24", "seller": {"name":"Lumen Studio Brno s.r.o.","address":"Masarykova 18","city":"602 00 Brno, Czech Republic","vat_id":"CZ28419065","iban":"CZ65 0800 0000 1920 0014 5399","bic":"GIBACZPX"}, "buyer": {"name":"Brno Cafe Collective z.s.","address":"Kounicova 61","city":"602 00 Brno, Czech Republic","vat_id":"CZ 66214083","reference":"BC-17"}, "items": [{"description":"Menu redesign, A3 and A5 formats","quantity":1,"unit_price":640,"vat_rate":21},{"description":"Table cards and signage","quantity":1,"unit_price":380,"vat_rate":21},{"description":"Printing, 500 menus","quantity":500,"unit_price":0.9,"vat_rate":21},{"description":"Recipe book layout","quantity":1,"unit_price":1250,"vat_rate":12},{"description":"Social media templates","quantity":6,"unit_price":55,"vat_rate":21}], "vat_summary": [{"rate":21,"net":1800,"vat":378},{"rate":12,"net":1250,"vat":150}], "net_total": 3050, "vat_total": 528, "gross_total": 3578, "reverse_charge": false },
{ "invoice_number": "2027-0121", "invoice_date": "2027-03-13", "supply_date": "2027-03-10", "due_date": "2027-03-27", "seller": {"name":"Lumen Studio Brno s.r.o.","address":"Masarykova 18","city":"602 00 Brno, Czech Republic","vat_id":"CZ28419065","iban":"CZ65 0800 0000 1920 0014 5399","bic":"GIBACZPX"}, "buyer": {"name":"Waldmeister Verlag KG","address":"Rosenstrasse 7","city":"80331 Munich, Germany","vat_id":"DE 288 410 953","reference":"WV-9082"}, "items": [{"description":"Book cover design, three titles","quantity":3,"unit_price":620,"vat_rate":0},{"description":"Interior layout, 220 pages","quantity":220,"unit_price":6.5,"vat_rate":0},{"description":"Typeface licensing","quantity":1,"unit_price":340,"vat_rate":0},{"description":"Proof corrections","quantity":6,"unit_price":48,"vat_rate":0},{"description":"Print-ready file preparation","quantity":3,"unit_price":90,"vat_rate":0}], "vat_summary": [{"rate":0,"net":4188,"vat":0}], "net_total": 4188, "vat_total": 0, "gross_total": 4188, "reverse_charge": true },
{ "invoice_number": "2027-0124", "invoice_date": "2027-03-16", "supply_date": "2027-03-13", "due_date": "2027-03-30", "seller": {"name":"Lumen Studio Brno s.r.o.","address":"Masarykova 18","city":"602 00 Brno, Czech Republic","vat_id":"CZ28419065","iban":"CZ65 0800 0000 1920 0014 5399","bic":"GIBACZPX"}, "buyer": {"name":"Prague Design Week s.r.o.","address":"Vinohradska 120","city":"130 00 Prague, Czech Republic","vat_id":"CZ 03829114","reference":"PDW-2027"}, "items": [{"description":"Festival identity and poster series","quantity":1,"unit_price":2800,"vat_rate":21},{"description":"Wayfinding signage design","quantity":1,"unit_price":1450,"vat_rate":21},{"description":"Program booklet, 48 pages","quantity":48,"unit_price":18,"vat_rate":21},{"description":"Social campaign assets","quantity":1,"unit_price":760,"vat_rate":21},{"description":"Photography of the opening","quantity":1,"unit_price":520,"vat_rate":21}], "vat_summary": [{"rate":21,"net":6394,"vat":1342.74}], "net_total": 6394, "vat_total": 1342.74, "gross_total": 7736.74, "reverse_charge": false },
{ "invoice_number": "2027-0127", "invoice_date": "2027-03-19", "supply_date": "2027-03-16", "due_date": "2027-04-02", "seller": {"name":"Lumen Studio Brno s.r.o.","address":"Masarykova 18","city":"602 00 Brno, Czech Republic","vat_id":"CZ28419065","iban":"CZ65 0800 0000 1920 0014 5399","bic":"GIBACZPX"}, "buyer": {"name":"Maison Verbier SARL","address":"8 rue des Tisserands","city":"69002 Lyon, France","vat_id":"FR 38 524 119 004","reference":"MV-0312"}, "items": [{"description":"E-commerce design system","quantity":1,"unit_price":3800,"vat_rate":0},{"description":"Product page templates","quantity":5,"unit_price":380,"vat_rate":0},{"description":"Email newsletter templates","quantity":4,"unit_price":160,"vat_rate":0},{"description":"Icon set, 40 icons","quantity":40,"unit_price":14,"vat_rate":0},{"description":"Design handover workshop","quantity":1,"unit_price":450,"vat_rate":0}], "vat_summary": [{"rate":0,"net":7350,"vat":0}], "net_total": 7350, "vat_total": 0, "gross_total": 7350, "reverse_charge": true },
{ "invoice_number": "2027-0130", "invoice_date": "2027-03-22", "supply_date": "2027-03-19", "due_date": "2027-04-05", "seller": {"name":"Lumen Studio Brno s.r.o.","address":"Masarykova 18","city":"602 00 Brno, Czech Republic","vat_id":"CZ28419065","iban":"CZ65 0800 0000 1920 0014 5399","bic":"GIBACZPX"}, "buyer": {"name":"Slovak Bike Tours s.r.o.","address":"Hlavne namestie 3","city":"811 01 Bratislava, Slovakia","vat_id":"SK 2022 118 344","reference":"SBT-33"}, "items": [{"description":"Route map illustrations, 6 routes","quantity":6,"unit_price":310,"vat_rate":0},{"description":"Brochure design, 24 pages","quantity":24,"unit_price":22,"vat_rate":0},{"description":"Website banners","quantity":10,"unit_price":45,"vat_rate":0},{"description":"Photography, tour day","quantity":1,"unit_price":680,"vat_rate":0},{"description":"Translation layout, 3 languages","quantity":3,"unit_price":180,"vat_rate":0}], "vat_summary": [{"rate":0,"net":4058,"vat":0}], "net_total": 4058, "vat_total": 0, "gross_total": 4058, "reverse_charge": true },
{ "invoice_number": "2027-0133", "invoice_date": "2027-03-25", "supply_date": "2027-03-22", "due_date": "2027-04-08", "seller": {"name":"Lumen Studio Brno s.r.o.","address":"Masarykova 18","city":"602 00 Brno, Czech Republic","vat_id":"CZ28419065","iban":"CZ65 0800 0000 1920 0014 5399","bic":"GIBACZPX"}, "buyer": {"name":"Zelena Zahrada s.r.o.","address":"Ceska 25","city":"602 00 Brno, Czech Republic","vat_id":"CZ 27143209","reference":"ZZ-0099"}, "items": [{"description":"Garden center catalog, 32 pages","quantity":32,"unit_price":28,"vat_rate":21},{"description":"Plant label design","quantity":1,"unit_price":420,"vat_rate":21},{"description":"Seasonal poster series","quantity":4,"unit_price":190,"vat_rate":21},{"description":"Packaging for seed packets","quantity":1,"unit_price":880,"vat_rate":12},{"description":"Photo retouching, 60 images","quantity":60,"unit_price":4.5,"vat_rate":21}], "vat_summary": [{"rate":21,"net":2346,"vat":492.66},{"rate":12,"net":880,"vat":105.6}], "net_total": 3226, "vat_total": 598.26, "gross_total": 3824.26, "reverse_charge": false },
{ "invoice_number": "2027-0136", "invoice_date": "2027-03-28", "supply_date": "2027-03-25", "due_date": "2027-04-11", "seller": {"name":"Lumen Studio Brno s.r.o.","address":"Masarykova 18","city":"602 00 Brno, Czech Republic","vat_id":"CZ28419065","iban":"CZ65 0800 0000 1920 0014 5399","bic":"GIBACZPX"}, "buyer": {"name":"Nordic Home AB","address":"Kungsgatan 22","city":"411 19 Gothenburg, Sweden","vat_id":"SE 556 912 4401","reference":"NH-5528"}, "items": [{"description":"Product catalog redesign, 60 pages","quantity":60,"unit_price":26,"vat_rate":0},{"description":"Showroom signage","quantity":1,"unit_price":940,"vat_rate":0},{"description":"Lifestyle photography, two days","quantity":2,"unit_price":780,"vat_rate":0},{"description":"Retouching, 120 images","quantity":120,"unit_price":3.2,"vat_rate":0},{"description":"Art direction","quantity":1,"unit_price":700,"vat_rate":0}], "vat_summary": [{"rate":0,"net":5144,"vat":0}], "net_total": 5144, "vat_total": 0, "gross_total": 5144, "reverse_charge": true },
{ "invoice_number": "2027-0139", "invoice_date": "2027-03-31", "supply_date": "2027-03-28", "due_date": "2027-04-14", "seller": {"name":"Lumen Studio Brno s.r.o.","address":"Masarykova 18","city":"602 00 Brno, Czech Republic","vat_id":"CZ28419065","iban":"CZ65 0800 0000 1920 0014 5399","bic":"GIBACZPX"}, "buyer": {"name":"Moravska Brewery a.s.","address":"Brnenska 90","city":"690 02 Breclav, Czech Republic","vat_id":"CZ 25511904","reference":"MB-0412"}, "items": [{"description":"Label design, four beers","quantity":4,"unit_price":520,"vat_rate":21},{"description":"Tap handle and coaster design","quantity":1,"unit_price":360,"vat_rate":21},{"description":"Beer festival banners","quantity":3,"unit_price":210,"vat_rate":21},{"description":"Packaging mockups","quantity":1,"unit_price":290,"vat_rate":21},{"description":"Brand guidelines update","quantity":1,"unit_price":640,"vat_rate":21}], "vat_summary": [{"rate":21,"net":4000,"vat":840}], "net_total": 4000, "vat_total": 840, "gross_total": 4840, "reverse_charge": false }
]
}' Questions fréquentes sur nos modèles de factures
Démarrez avec 20 documents gratuits par mois et nos modèles de factures prêts à l'emploi.