Une facture audacieuse pour les agences de marketing, les freelances et les studios créatifs. Elle comporte un en-tête à votre image, un bloc de facturation avec les détails de la facture, un tableau de prestations avec un titre, une description et un montant pour chaque ligne, des lignes de taxes et de total, et une section de paiement avec une signature. Téléchargez le fichier Word pour l’adapter à votre identité visuelle, puis générez une facture pour chaque client à partir de vos propres données.
Importez le modèle, puis envoyez les données structurées pour obtenir le document final. Pensez à remplacer 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.
Importez un tableur Excel et chaque ligne devient un document, les en-têtes de colonnes correspondant à vos balises de fusion. Utilisez le paramètre sheet pour lire une feuille précise du fichier Excel.
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 No": "97-075-2731",
"Invoice Date": "4/15/2024",
"Company Name": "Robel-Hahn",
"Street Address": "1570 Ryan Way",
"City": "Saint Louis",
"State": "Missouri",
"Zip Code": "63143",
"Phone": "(314) 1637926",
"Sub Total": "$2,950.00",
"Item Title 1": "Social Media Management",
"Item Title 2": "Landing Page Design",
"Item Description 1": "Content calendar, posting and community replies for 30 days",
"Item Description 2": "One conversion-focused page, mobile responsive",
"Amount 1": "$1,200.00",
"Amount 2": "$1,750.00",
"Tax Total": "$236.00",
"Total": "$3,186.00",
"Account No": 5133749
}
}' 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": "Invoice [Invoice No] [Company Name]",
"data": [
{ "Invoice No": "97-075-2731", "Invoice Date": "4/15/2024", "Company Name": "Robel-Hahn", "Street Address": "1570 Ryan Way", "City": "Saint Louis", "State": "Missouri", "Zip Code": "63143", "Phone": "(314) 1637926", "Sub Total": "$2,950.00", "Item Title 1": "Social Media Management", "Item Title 2": "Landing Page Design", "Item Description 1": "Content calendar, posting and community replies for 30 days", "Item Description 2": "One conversion-focused page, mobile responsive", "Amount 1": "$1,200.00", "Amount 2": "$1,750.00", "Tax Total": "$236.00", "Total": "$3,186.00", "Account No": 5133749 },
{ "Invoice No": "58-049-3486", "Invoice Date": "3/3/2024", "Company Name": "Kunze and Sons", "Street Address": "628 Farmco Point", "City": "Jacksonville", "State": "Florida", "Zip Code": "32204", "Phone": "(904) 3757857", "Sub Total": "$2,450.00", "Item Title 1": "SEO Audit", "Item Title 2": "Content Writing", "Item Description 1": "Site audit with keyword research and a priority fix list", "Item Description 2": "Eight blog posts of 800 words each", "Amount 1": "$850.00", "Amount 2": "$1,600.00", "Tax Total": "$171.50", "Total": "$2,621.50", "Account No": 419703 },
{ "Invoice No": "61-416-0691", "Invoice Date": "2/6/2024", "Company Name": "Hills, Kautzer and D’Amore", "Street Address": "51 Sunbrook Alley", "City": "Tacoma", "State": "Washington", "Zip Code": "98481", "Phone": "(253) 9352113", "Sub Total": "$5,350.00", "Item Title 1": "Brand Identity Design", "Item Title 2": "Promo Video", "Item Description 1": "Logo, color palette and brand guidelines", "Item Description 2": "A 60-second video with editing and captions", "Amount 1": "$2,400.00", "Amount 2": "$2,950.00", "Tax Total": "$347.75", "Total": "$5,697.75", "Account No": 689230 },
{ "Invoice No": "05-659-2422", "Invoice Date": "10/28/2024", "Company Name": "Miller Inc", "Street Address": "3 Macpherson Road", "City": "Ogden", "State": "Utah", "Zip Code": "84403", "Phone": "(801) 9548272", "Sub Total": "$2,775.00", "Item Title 1": "Email Campaign", "Item Title 2": "Influencer Outreach", "Item Description 1": "Design and send of a four-email nurture sequence", "Item Description 2": "Shortlist, outreach and campaign coordination", "Amount 1": "$1,450.00", "Amount 2": "$1,325.00", "Tax Total": "$228.94", "Total": "$3,003.94", "Account No": 9268245 },
{ "Invoice No": "46-398-9661", "Invoice Date": "8/17/2024", "Company Name": "Tremblay LLC", "Street Address": "3056 Fuller Trail", "City": "New York City", "State": "New York", "Zip Code": "10175", "Phone": "(212) 7806290", "Sub Total": "$1,620.00", "Item Title 1": "Google Ads Setup", "Item Title 2": "Analytics Reporting", "Item Description 1": "Account setup, ad groups and conversion tracking", "Item Description 2": "Monthly dashboard and a one-page summary", "Amount 1": "$980.00", "Amount 2": "$640.00", "Tax Total": "$81.00", "Total": "$1,701.00", "Account No": 1300812 },
{ "Invoice No": "88-628-4686", "Invoice Date": "5/1/2024", "Company Name": "Torphy-Kunze", "Street Address": "61244 School Plaza", "City": "New York City", "State": "New York", "Zip Code": "10203", "Phone": "(212) 4921741", "Sub Total": "$2,530.00", "Item Title 1": "Landing Page Design", "Item Title 2": "Press Release Package", "Item Description 1": "One conversion-focused page, mobile responsive", "Item Description 2": "Writing and distribution to 50 media contacts", "Amount 1": "$1,750.00", "Amount 2": "$780.00", "Tax Total": "$189.75", "Total": "$2,719.75", "Account No": 1500912 },
{ "Invoice No": "11-535-4680", "Invoice Date": "6/17/2024", "Company Name": "Sanford-Stroman", "Street Address": "16 7th Center", "City": "Sacramento", "State": "California", "Zip Code": "94297", "Phone": "(916) 7983545", "Sub Total": "$2,700.00", "Item Title 1": "Content Writing", "Item Title 2": "Product Photography", "Item Description 1": "Eight blog posts of 800 words each", "Item Description 2": "Half-day shoot with 20 edited images", "Amount 1": "$1,600.00", "Amount 2": "$1,100.00", "Tax Total": "$162.00", "Total": "$2,862.00", "Account No": 6932741 },
{ "Invoice No": "73-214-5215", "Invoice Date": "11/28/2023", "Company Name": "Stoltenberg, O’Connell and Runolfsson", "Street Address": "7 Glacier Hill Lane", "City": "Washington", "State": "District of Columbia", "Zip Code": "20470", "Phone": "(202) 5423753", "Sub Total": "$4,150.00", "Item Title 1": "Promo Video", "Item Title 2": "Social Media Management", "Item Description 1": "A 60-second video with editing and captions", "Item Description 2": "Content calendar, posting and community replies for 30 days", "Amount 1": "$2,950.00", "Amount 2": "$1,200.00", "Tax Total": "$332.00", "Total": "$4,482.00", "Account No": 6672933 },
{ "Invoice No": "30-179-9654", "Invoice Date": "3/15/2024", "Company Name": "O’Connell, Stark and Upton", "Street Address": "09885 Kenwood Crossing", "City": "Austin", "State": "Texas", "Zip Code": "78721", "Phone": "(512) 7764445", "Sub Total": "$2,175.00", "Item Title 1": "Influencer Outreach", "Item Title 2": "SEO Audit", "Item Description 1": "Shortlist, outreach and campaign coordination", "Item Description 2": "Site audit with keyword research and a priority fix list", "Amount 1": "$1,325.00", "Amount 2": "$850.00", "Tax Total": "$152.25", "Total": "$2,327.25", "Account No": 2043236 },
{ "Invoice No": "45-241-5446", "Invoice Date": "3/25/2024", "Company Name": "Kuphal Inc", "Street Address": "034 Troy Avenue", "City": "Oakland", "State": "California", "Zip Code": "94627", "Phone": "(510) 5709845", "Sub Total": "$3,040.00", "Item Title 1": "Analytics Reporting", "Item Title 2": "Brand Identity Design", "Item Description 1": "Monthly dashboard and a one-page summary", "Item Description 2": "Logo, color palette and brand guidelines", "Amount 1": "$640.00", "Amount 2": "$2,400.00", "Tax Total": "$197.60", "Total": "$3,237.60", "Account No": 9827525 }
]
}' curl -X 'POST' \
'https://api.docugenerate.com/v1/document' \
-H 'Accept: application/json' \
-H 'Authorization: YOUR_API_KEY' \
-H 'Content-Type: multipart/form-data' \
-F 'template_id=YOUR_TEMPLATE_ID' \
-F 'file=@Marketing Invoice Batch.xlsx' \
-F 'output_format=.pdf' \
-F 'single_file=false' \
-F 'output_name=Invoice [Invoice No] [Company Name]' 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.