The E-Commerce Invoice Template is a highly adaptable and powerful tool designed to streamline your invoicing process. This innovative solution converts your invoice data, structured in JSON format, directly into a professional, ready-to-send PDF invoice using DynamicDocs API.
This user-friendly template allows for the customization of the invoice's look and feel, offering a variety of fields including invoice number, customer details, product lists, quantities, prices, and applicable taxes. By incorporating your data in JSON format, you can effortlessly manage complex data structures, leading to more accurate and efficient invoicing.
The template leverages DynamicDocs API to render your JSON data into a clean, printable PDF invoice. It guarantees high-quality, standardized invoices that reflect your brand's professionalism, contributing to your brand's positive image and boosting customer satisfaction.
In essence, our E-Commerce Invoice Template can be a valuable tool for any entity that requires efficient, automated generation of professional PDF invoices.
documentSettings - A JSON object which contains the settings of the template (primaryHEXColour, secondaryHEXColour, textHEXColour, font, documentName, logo, logoType, logoWidth, margins, headSep, footSkip, showframe, header, footer).
font - An optional string which contains the font of the document. Possible options are: 'helvetica', 'avant garde', 'sans serif', 'charter', 'open sans', 'bera', 'venturis', 'raleway', 'overlock', 'roboto', 'spectral', 'clear sans', 'noto sans', 'noto mono', 'josefin', 'bera sans', 'latin modern', 'theano modern', 'droid sans', 'fira sans', 'XCharter', 'bookman', 'gyre bonum', 'gyre schola', 'gyre termes'.
fontSize - An optional integer which contains the font size of the document. Possible options are: 8, 9, 10, 11, 12, 14.
primaryHEXColour - An optional string which contains the primary font colour of the document.
secondaryHEXColour - An optional string which contains the secondary font colour of the document.
textHEXColour - An optional string which contains the text font colour of the document.
documentName - An optional string for the name of the document.
topMargin - An optional string containing the top margin size (in cm).
rightMargin - An optional string containing the right margin size (in cm).
bottomMargin - An optional string containing the bottom margin size (in cm).
leftMargin - An optional string containing the left margin size (in cm).
headheight - An optional string relating to the height of the header (in cm). See LaTeX geometry package documentation for more information on this parameter.
headSep - An optional string relating to the space between the header and the beginning of the document (in cm). See LaTeX geometry package documentation for more information on this parameter.
footSkip - An optional string relating to the space between the end of the document and the footer (in cm). See LaTeX geometry package documentation for more information on this parameter.
includehead - A boolean expression which determines whether the header is part of the top margin (false) or below it (true).
includehead - A boolean expression which determines whether the footer is part of the bottom margin (false) or below it (true).
showFrame - A boolean expression (true/false) to show the frame of the document.
header - An object containing settings to control the header.
headerLine - A boolean expression that generates a horizontal line between the header and the beginning of the document.
leftContent - The content that appears on the left-hand side of the header. Can contain LaTeX commands, text or simply 'logo'.
centreContent - The content that appears in the centre of the header. Can contain LaTeX commands, text or simply 'logo'.
rightContent - The content that appears of the right-hand side of the header. Can contain LaTeX commands, text or simply 'logo'.
adjustMargin - An optional string containing whether the header margin needs to be adjusted sideways (in cm).
footer - An object containing settings to control the footer.
footerLine - A boolean expression that generates a horizontal line between the footer and the end of the document.
leftContent - The content that appears on the left-hand side of the footer. Can contain LaTeX commands, text or simply 'logo'.
centreContent - The content that appears in the centre of the footer. Can contain LaTeX commands, text or simply 'logo'.
rightContent - The content that appears of the right-hand side of the footer. Can contain LaTeX commands, text or simply 'logo'.
adjustMargin - An optional string containing whether the header margin needs to be adjusted sideways (in cm).
latexPreamble - Contains custom LaTeX commands which will be inserted before '\begin{document}'.
documentContent - A JSON object which contains the content of the template and other data for charts and tables).
content - A required object which contains the data for the right column on the first page.
type - A required string which contains the type of text for the body of the document. Possible options are: 'heading', 'section', 'subsection', 'paragraph', 'newpage', 'enumerate', 'itemize', 'table'.
content - A required string or array of strings which contains the text for the body of the document. Can contain LaTeX commands. Note that in an event of a table, this contains the key-name for the table.
order - A required number which determines the order of the text.
height - An optional parameter controling the height of the chart.
width - An optional parameter controling the width of the chart.