Une facture freelance pour les consultants, les designers et les développeurs. Elle affiche d’emblée le montant dû et l’échéance, un relevé des heures travaillées avec le total de chaque ligne, des lignes facultatives de remise, de taxe et de montant déjà payé, les coordonnées de paiement et un QR code pour payer en ligne. Téléchargez le fichier Word pour y ajouter vos informations, puis générez une facture pour chaque client.
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": "INV-2026-012",
"issue_date": "2026-10-01",
"due_date": "2026-10-16",
"payment_terms": "Net 15",
"freelancer": {
"name": "Maya Lindgren",
"role": "UX Designer and Researcher",
"email": "maya@mayalindgren.design",
"phone": "+1 (503) 555-0142",
"address": "2210 NE Alberta Street, Portland, OR 97211",
"tax_id": "EIN 84-1234567"
},
"client": {
"name": "Priya Raman",
"company": "Brightpath Health",
"address": "88 Harbor Avenue, Oakland, CA 94607",
"email": "priya@brightpathhealth.com"
},
"project": "Patient portal redesign",
"period": "September 2026",
"currency": "USD",
"symbol": "$",
"entries": [
{
"date": "2026-09-02",
"description": "Stakeholder interviews and discovery notes",
"hours": 6.5,
"rate": 95
},
{
"date": "2026-09-08",
"description": "User journey map and pain point analysis",
"hours": 8,
"rate": 95
},
{
"date": "2026-09-15",
"description": "Wireframes for the sign-in and booking flows",
"hours": 12.5,
"rate": 95
},
{
"date": "2026-09-22",
"description": "Clickable prototype in Figma",
"hours": 9,
"rate": 95
},
{
"date": "2026-09-29",
"description": "Usability test with five patients and report",
"hours": 7,
"rate": 95
}
],
"subtotal": 4085,
"discount": 0,
"tax_rate": 0,
"tax": 0,
"total": 4085,
"paid": 0,
"balance": 4085,
"payment": {
"method": "Bank transfer (ACH)",
"account_name": "Maya Lindgren Design LLC",
"details": "Routing 123000848, account 000123456789",
"link": "https://pay.mayalindgren.design/INV-2026-012"
},
"notes": "Thank you for working with me. Please include the invoice number with your payment. Questions about this invoice? Contact me at the email address or phone number above."
}
}' 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": "Freelance Invoice [invoice_number]",
"data": [
{ "invoice_number": "INV-2026-012", "issue_date": "2026-10-01", "due_date": "2026-10-16", "payment_terms": "Net 15", "freelancer": {"name":"Maya Lindgren","role":"UX Designer and Researcher","email":"maya@mayalindgren.design","phone":"+1 (503) 555-0142","address":"2210 NE Alberta Street, Portland, OR 97211","tax_id":"EIN 84-1234567"}, "client": {"name":"Priya Raman","company":"Brightpath Health","address":"88 Harbor Avenue, Oakland, CA 94607","email":"priya@brightpathhealth.com"}, "project": "Patient portal redesign", "period": "September 2026", "currency": "USD", "symbol": "$", "entries": [{"date":"2026-09-02","description":"Stakeholder interviews and discovery notes","hours":6.5,"rate":95},{"date":"2026-09-08","description":"User journey map and pain point analysis","hours":8,"rate":95},{"date":"2026-09-15","description":"Wireframes for the sign-in and booking flows","hours":12.5,"rate":95},{"date":"2026-09-22","description":"Clickable prototype in Figma","hours":9,"rate":95},{"date":"2026-09-29","description":"Usability test with five patients and report","hours":7,"rate":95}], "subtotal": 4085, "discount": 0, "tax_rate": 0, "tax": 0, "total": 4085, "paid": 0, "balance": 4085, "payment": {"method":"Bank transfer (ACH)","account_name":"Maya Lindgren Design LLC","details":"Routing 123000848, account 000123456789","link":"https://pay.mayalindgren.design/INV-2026-012"}, "notes": "Thank you for working with me. Please include the invoice number with your payment. Questions about this invoice? Contact me at the email address or phone number above." },
{ "invoice_number": "INV-2026-013", "issue_date": "2026-10-02", "due_date": "2026-11-01", "payment_terms": "Net 30", "freelancer": {"name":"Maya Lindgren","role":"UX Designer and Researcher","email":"maya@mayalindgren.design","phone":"+1 (503) 555-0142","address":"2210 NE Alberta Street, Portland, OR 97211","tax_id":"EIN 84-1234567"}, "client": {"name":"Jonas Keller","company":"Keller und Sohn GmbH","address":"Lindenstrasse 14, 10969 Berlin","email":"jonas@kellerundsohn.de"}, "project": "Brand refresh and website visuals", "period": "September 2026", "currency": "EUR", "symbol": "€", "entries": [{"date":"2026-09-03","description":"Brand workshop with the team","hours":4,"rate":85},{"date":"2026-09-09","description":"Logo refinement and color palette","hours":10,"rate":85},{"date":"2026-09-16","description":"Homepage design, desktop and mobile","hours":14,"rate":85},{"date":"2026-09-23","description":"Icon set, 24 icons","hours":8,"rate":85},{"date":"2026-09-30","description":"Style guide as a PDF","hours":5,"rate":85}], "subtotal": 3485, "discount": 174.25, "tax_rate": 19, "tax": 629.04, "total": 3939.79, "paid": 0, "balance": 3939.79, "payment": {"method":"Bank transfer (SEPA / SWIFT)","account_name":"Maya Lindgren Design LLC","details":"IBAN DE89 3704 0044 0532 0130 00","link":"https://pay.mayalindgren.design/INV-2026-013"}, "notes": "Thank you for working with me. Please include the invoice number with your payment. Questions about this invoice? Contact me at the email address or phone number above." },
{ "invoice_number": "INV-2026-014", "issue_date": "2026-11-03", "due_date": "2026-11-18", "payment_terms": "Net 15", "freelancer": {"name":"Maya Lindgren","role":"UX Designer and Researcher","email":"maya@mayalindgren.design","phone":"+1 (503) 555-0142","address":"2210 NE Alberta Street, Portland, OR 97211","tax_id":"EIN 84-1234567"}, "client": {"name":"Olivia Grant","company":"Cedar and Pine Realty","address":"410 Burnside Street, Portland, OR 97214","email":"olivia@cedarpine.com"}, "project": "Listing page templates", "period": "October 2026", "currency": "USD", "symbol": "$", "entries": [{"date":"2026-10-01","description":"Audit of the current listing pages","hours":3.5,"rate":90},{"date":"2026-10-06","description":"Layout concepts, three directions","hours":9,"rate":90},{"date":"2026-10-13","description":"Final listing template, desktop and mobile","hours":12,"rate":90},{"date":"2026-10-20","description":"Handoff notes for the developer","hours":4,"rate":90},{"date":"2026-10-27","description":"Review of the first built pages","hours":3,"rate":90}], "subtotal": 2835, "discount": 0, "tax_rate": 0, "tax": 0, "total": 2835, "paid": 1000, "balance": 1835, "payment": {"method":"Bank transfer (ACH)","account_name":"Maya Lindgren Design LLC","details":"Routing 123000848, account 000123456789","link":"https://pay.mayalindgren.design/INV-2026-014"}, "notes": "Thank you for working with me. Please include the invoice number with your payment. Questions about this invoice? Contact me at the email address or phone number above." },
{ "invoice_number": "INV-2026-015", "issue_date": "2026-11-01", "due_date": "2026-12-01", "payment_terms": "Net 30", "freelancer": {"name":"Maya Lindgren","role":"UX Designer and Researcher","email":"maya@mayalindgren.design","phone":"+1 (503) 555-0142","address":"2210 NE Alberta Street, Portland, OR 97211","tax_id":"EIN 84-1234567"}, "client": {"name":"Tom Becker","company":"Northbeam Analytics","address":"900 Pine Street, Seattle, WA 98101","email":"tom@northbeam.io"}, "project": "Dashboard usability review", "period": "October 2026", "currency": "USD", "symbol": "$", "entries": [{"date":"2026-10-02","description":"Heuristic review of the dashboard","hours":8,"rate":110},{"date":"2026-10-07","description":"Interviews with four customers","hours":6,"rate":110},{"date":"2026-10-14","description":"Prioritized list of 22 findings","hours":7,"rate":110},{"date":"2026-10-21","description":"Redesign of the filter and report views","hours":14,"rate":110},{"date":"2026-10-28","description":"Presentation to the product team","hours":3,"rate":110}], "subtotal": 4180, "discount": 418, "tax_rate": 0, "tax": 0, "total": 3762, "paid": 0, "balance": 3762, "payment": {"method":"Bank transfer (ACH)","account_name":"Maya Lindgren Design LLC","details":"Routing 123000848, account 000123456789","link":"https://pay.mayalindgren.design/INV-2026-015"}, "notes": "Thank you for working with me. Please include the invoice number with your payment. Questions about this invoice? Contact me at the email address or phone number above." },
{ "invoice_number": "INV-2026-016", "issue_date": "2026-11-02", "due_date": "2026-12-02", "payment_terms": "Net 30", "freelancer": {"name":"Maya Lindgren","role":"UX Designer and Researcher","email":"maya@mayalindgren.design","phone":"+1 (503) 555-0142","address":"2210 NE Alberta Street, Portland, OR 97211","tax_id":"EIN 84-1234567"}, "client": {"name":"Sofia Marchetti","company":"Marchetti Studio","address":"Via Garibaldi 22, 20121 Milano","email":"sofia@marchettistudio.it"}, "project": "Portfolio website", "period": "October 2026", "currency": "EUR", "symbol": "€", "entries": [{"date":"2026-10-04","description":"Content structure and sitemap","hours":5,"rate":80},{"date":"2026-10-11","description":"Visual design of the home and project pages","hours":13,"rate":80},{"date":"2026-10-18","description":"Responsive adjustments","hours":6,"rate":80},{"date":"2026-10-24","description":"Photo selection and retouching guidance","hours":4,"rate":80},{"date":"2026-10-30","description":"Launch checklist and final review","hours":3,"rate":80}], "subtotal": 2480, "discount": 0, "tax_rate": 22, "tax": 545.6, "total": 3025.6, "paid": 0, "balance": 3025.6, "payment": {"method":"Bank transfer (SEPA / SWIFT)","account_name":"Maya Lindgren Design LLC","details":"IBAN DE89 3704 0044 0532 0130 00","link":"https://pay.mayalindgren.design/INV-2026-016"}, "notes": "Thank you for working with me. Please include the invoice number with your payment. Questions about this invoice? Contact me at the email address or phone number above." },
{ "invoice_number": "INV-2026-017", "issue_date": "2026-12-03", "due_date": "2026-12-18", "payment_terms": "Net 15", "freelancer": {"name":"Maya Lindgren","role":"UX Designer and Researcher","email":"maya@mayalindgren.design","phone":"+1 (503) 555-0142","address":"2210 NE Alberta Street, Portland, OR 97211","tax_id":"EIN 84-1234567"}, "client": {"name":"Daniel Osei","company":"Greenfield Foods","address":"35 Market Street, Sacramento, CA 95814","email":"daniel@greenfieldfoods.com"}, "project": "Mobile ordering app", "period": "November 2026", "currency": "USD", "symbol": "$", "entries": [{"date":"2026-11-03","description":"Competitor and user research","hours":9,"rate":100},{"date":"2026-11-10","description":"App flows and information structure","hours":8,"rate":100},{"date":"2026-11-17","description":"Screen designs, 18 screens","hours":16,"rate":100},{"date":"2026-11-24","description":"Interactive prototype","hours":7,"rate":100},{"date":"2026-11-30","description":"Design review with the engineers","hours":2.5,"rate":100}], "subtotal": 4250, "discount": 0, "tax_rate": 8.5, "tax": 361.25, "total": 4611.25, "paid": 2500, "balance": 2111.25, "payment": {"method":"Bank transfer (ACH)","account_name":"Maya Lindgren Design LLC","details":"Routing 123000848, account 000123456789","link":"https://pay.mayalindgren.design/INV-2026-017"}, "notes": "Thank you for working with me. Please include the invoice number with your payment. Questions about this invoice? Contact me at the email address or phone number above." },
{ "invoice_number": "INV-2026-018", "issue_date": "2026-12-01", "due_date": "2026-12-15", "payment_terms": "Net 14", "freelancer": {"name":"Maya Lindgren","role":"UX Designer and Researcher","email":"maya@mayalindgren.design","phone":"+1 (503) 555-0142","address":"2210 NE Alberta Street, Portland, OR 97211","tax_id":"EIN 84-1234567"}, "client": {"name":"Hannah Wells","company":"Wells and Rowe Legal","address":"12 Queen Street, London EC4N 1SP","email":"hannah@wellsrowe.co.uk"}, "project": "Client intake form redesign", "period": "November 2026", "currency": "GBP", "symbol": "£", "entries": [{"date":"2026-11-02","description":"Review of the current intake process","hours":4,"rate":90},{"date":"2026-11-09","description":"New form structure and wording","hours":7,"rate":90},{"date":"2026-11-16","description":"Visual design of the form, 3 steps","hours":9,"rate":90},{"date":"2026-11-23","description":"Accessibility checks","hours":4,"rate":90},{"date":"2026-11-30","description":"Documentation for the web team","hours":3,"rate":90}], "subtotal": 2430, "discount": 0, "tax_rate": 20, "tax": 486, "total": 2916, "paid": 0, "balance": 2916, "payment": {"method":"Bank transfer (SEPA / SWIFT)","account_name":"Maya Lindgren Design LLC","details":"IBAN DE89 3704 0044 0532 0130 00","link":"https://pay.mayalindgren.design/INV-2026-018"}, "notes": "Thank you for working with me. Please include the invoice number with your payment. Questions about this invoice? Contact me at the email address or phone number above." },
{ "invoice_number": "INV-2026-019", "issue_date": "2026-12-02", "due_date": "2027-01-01", "payment_terms": "Net 30", "freelancer": {"name":"Maya Lindgren","role":"UX Designer and Researcher","email":"maya@mayalindgren.design","phone":"+1 (503) 555-0142","address":"2210 NE Alberta Street, Portland, OR 97211","tax_id":"EIN 84-1234567"}, "client": {"name":"Marcus Lee","company":"Summit Fitness","address":"725 Mountain Road, Denver, CO 80202","email":"marcus@summitfitness.com"}, "project": "Membership onboarding flow", "period": "November 2026", "currency": "USD", "symbol": "$", "entries": [{"date":"2026-11-04","description":"Onboarding journey workshop","hours":5,"rate":105},{"date":"2026-11-11","description":"Sign-up and payment screens","hours":11,"rate":105},{"date":"2026-11-18","description":"Welcome emails, 4 templates","hours":8,"rate":105},{"date":"2026-11-24","description":"Prototype and usability test","hours":9,"rate":105},{"date":"2026-11-30","description":"Changes after the test","hours":5,"rate":105}], "subtotal": 3990, "discount": 299.25, "tax_rate": 0, "tax": 0, "total": 3690.75, "paid": 0, "balance": 3690.75, "payment": {"method":"Bank transfer (ACH)","account_name":"Maya Lindgren Design LLC","details":"Routing 123000848, account 000123456789","link":"https://pay.mayalindgren.design/INV-2026-019"}, "notes": "Thank you for working with me. Please include the invoice number with your payment. Questions about this invoice? Contact me at the email address or phone number above." },
{ "invoice_number": "INV-2026-020", "issue_date": "2026-12-31", "due_date": "2027-01-15", "payment_terms": "Net 15", "freelancer": {"name":"Maya Lindgren","role":"UX Designer and Researcher","email":"maya@mayalindgren.design","phone":"+1 (503) 555-0142","address":"2210 NE Alberta Street, Portland, OR 97211","tax_id":"EIN 84-1234567"}, "client": {"name":"Elena Petrova","company":"Harbor Books","address":"3 Wharf Lane, Boston, MA 02110","email":"elena@harborbooks.com"}, "project": "Online store visual identity", "period": "December 2026", "currency": "USD", "symbol": "$", "entries": [{"date":"2026-12-02","description":"Mood boards and direction","hours":6,"rate":85},{"date":"2026-12-08","description":"Logo and wordmark","hours":11,"rate":85},{"date":"2026-12-15","description":"Product page and cart design","hours":13,"rate":85},{"date":"2026-12-22","description":"Packaging label artwork","hours":6,"rate":85},{"date":"2026-12-29","description":"Final files and brand guide","hours":5,"rate":85}], "subtotal": 3485, "discount": 0, "tax_rate": 6.25, "tax": 217.81, "total": 3702.81, "paid": 0, "balance": 3702.81, "payment": {"method":"Bank transfer (ACH)","account_name":"Maya Lindgren Design LLC","details":"Routing 123000848, account 000123456789","link":"https://pay.mayalindgren.design/INV-2026-020"}, "notes": "Thank you for working with me. Please include the invoice number with your payment. Questions about this invoice? Contact me at the email address or phone number above." },
{ "invoice_number": "INV-2026-021", "issue_date": "2026-12-31", "due_date": "2027-01-30", "payment_terms": "Net 30", "freelancer": {"name":"Maya Lindgren","role":"UX Designer and Researcher","email":"maya@mayalindgren.design","phone":"+1 (503) 555-0142","address":"2210 NE Alberta Street, Portland, OR 97211","tax_id":"EIN 84-1234567"}, "client": {"name":"Kenji Tanaka","company":"Tanaka Ceramics","address":"48 Fourth Avenue, Vancouver, BC V6J 1M9","email":"kenji@tanakaceramics.ca"}, "project": "Shop and booking pages", "period": "December 2026", "currency": "USD", "symbol": "$", "entries": [{"date":"2026-12-03","description":"Discovery call and content audit","hours":3,"rate":88},{"date":"2026-12-10","description":"Shop page layouts","hours":10,"rate":88},{"date":"2026-12-16","description":"Workshop booking flow","hours":9,"rate":88},{"date":"2026-12-23","description":"Email receipt design","hours":4,"rate":88},{"date":"2026-12-30","description":"Review and launch support","hours":5,"rate":88}], "subtotal": 2728, "discount": 0, "tax_rate": 5, "tax": 136.4, "total": 2864.4, "paid": 500, "balance": 2364.4, "payment": {"method":"Bank transfer (ACH)","account_name":"Maya Lindgren Design LLC","details":"Routing 123000848, account 000123456789","link":"https://pay.mayalindgren.design/INV-2026-021"}, "notes": "Thank you for working with me. Please include the invoice number with your payment. Questions about this invoice? Contact me at the email address or phone number above." }
]
}' 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.