Skip to main content

PDF Templates Variables

BillaBear gives you complete control over your invoice and receipt PDFs. Allowing you to ensure your PDFs are legally compliant and look good at the same time.

Invoice Templates

NameDescriptionExample
brand.nameName of the brandBilaBear
brand.tax_numberThe tax number for the brand/companuGB45j5jf9
brand.address.company_nameThe name of the company in the addressHumbly Arrogant Software Limited
brand.address.street_line_oneThe first line of the address1 Example Way
brand.address.street_line_twoThe second line of the address
brand.address.cityThe city for the addressExampleville
brand.address.regionThe region/state for the addressRenfrewshire
brand.address.countryThe country code for the addressGB
brand.address.postcodeThe post code for the addressPA5 1ND
customer.nameThe name of the customerExample User
customer.emailThe email for the customeriain.cambridge@example.org
invoice.totalThe total for the invoice1000
invoice.total_displayThe total for the invoiceEUR 1000
invoice.sub_totalThe sub total for the invoice800
invoice.vat_totalThe vat total for the invoice200
invoice.currencyThe currency for the invoiceEUR
invoice.due_dateThe due date for the invoice to be paid by2023-09-21 10:04:00.000
invoice.payee_address.company_nameThe name of the company in the addressHumbly Arrogant Software Limited
invoice.payee_address.street_line_oneThe first line of the address1 Example Way
invoice.payee_address.street_line_twoThe second line of the address
invoice.payee_address.cityThe city for the addressExampleville
invoice.payee_address.regionThe region/state for the addressRenfrewshire
invoice.payee_address.countryThe country code for the addressGB
invoice.payee_address.postcodeThe post code for the addressPA5 1ND
invoice.biller_address.company_nameThe name of the company in the addressHumbly Arrogant Software Limited
invoice.biller_address.street_line_oneThe first line of the address1 Example Way
invoice.biller_address.street_line_twoThe second line of the address
invoice.biller_address.cityThe city for the addressExampleville
invoice.biller_address.regionThe region/state for the addressRenfrewshire
invoice.biller_address.countryThe country code for the addressGB
invoice.biller_address.postcodeThe post code for the addressPA5 1ND
invoice.linesarray of lines[]
invoice.lines[0].totalTotal100
invoice.lines[0].total_displayTotalEUR 100
invoice.lines[0].sub_totalSub totals90
invoice.lines[0].vat_totalVAT Total10
invoice.lines[0].vat_percentageThe VAT percentage9.0
invoice.lines[0].descriptionThe description for the lineAn example line
invoice.lines[0].metadataAn array of metadata relating to the line

Receipt Templates

NameDescriptionExample
brand.nameName of the brandBilaBear
brand.tax_numberThe tax number for the brand/companuGB45j5jf9
brand.address.company_nameThe name of the company in the addressHumbly Arrogant Software Limited
brand.address.street_line_oneThe first line of the address1 Example Way
brand.address.street_line_twoThe second line of the address
brand.address.cityThe city for the addressExampleville
brand.address.regionThe region/state for the addressRenfrewshire
brand.address.countryThe country code for the addressGB
brand.address.postcodeThe post code for the addressPA5 1ND
customer.nameThe name of the customerExample User
customer.emailThe email for the customeriain.cambridge@example.org
receipt.totalThe total for the receipt1000
receipt.total_displayThe total for the receiptEUR 1000
receipt.sub_totalThe sub total for the receipt800
receipt.vat_totalThe vat total for the receipt200
receipt.currencyThe currency for the receiptEUR
receipt.payee_address.company_nameThe name of the company in the addressHumbly Arrogant Software Limited
receipt.payee_address.street_line_oneThe first line of the address1 Example Way
receipt.payee_address.street_line_twoThe second line of the address
receipt.payee_address.cityThe city for the addressExampleville
receipt.payee_address.regionThe region/state for the addressRenfrewshire
receipt.payee_address.countryThe country code for the addressGB
receipt.payee_address.postcodeThe post code for the addressPA5 1ND
receipt.biller_address.company_nameThe name of the company in the addressHumbly Arrogant Software Limited
receipt.biller_address.street_line_oneThe first line of the address1 Example Way
receipt.biller_address.street_line_twoThe second line of the address
receipt.biller_address.cityThe city for the addressExampleville
receipt.biller_address.regionThe region/state for the addressRenfrewshire
receipt.biller_address.countryThe country code for the addressGB
receipt.biller_address.postcodeThe post code for the addressPA5 1ND
receipt.linesarray of lines[]
receipt.lines[0].totalTotal100
receipt.lines[0].total_displayTotalEUR 100
receipt.lines[0].sub_totalSub totals90
receipt.lines[0].vat_totalVAT Total10
receipt.lines[0].vat_percentageThe VAT percentage9.0
receipt.lines[0].descriptionThe description for the lineAn example line
receipt.lines[0].metadataAn array of metadata relating to the line