Use the following json as a base for generating a simple invoice
{
"template": "simple",
"columns": [
{
"name": "{ Columns[0].Name (Type=normal,Align=left)",
"type": "normal"
},
{
"name": "{ Columns[1].Name (Type=big,Align=left)",
"type": "big"
},
{
"align": "right",
"name": "{ Columns[2].Name (Type=normal,Align=right)",
"type": "normal"
},
{
"align": "right",
"name": "{ Columns[3].Name (Type=small,Align=right)",
"type": "small"
},
{
"align": "right",
"name": "{ Columns[4].Name (Type=normal,Align=right)",
"type": "normal"
}
],
"company": {
"bankInfo": {
"accountOwner": {
"label": "{ Company.BankInfo.AccountOwner.Label }",
"value": "{ Company.BankInfo.AccountOwner.Value }"
},
"bankName": {
"label": "{ Company.BankInfo.BankName.Label }",
"value": "{ Company.BankInfo.BankName.Value }"
},
"iban": {
"label": "{ Company.BankInfo.Iban.Label }",
"value": "{ Company.BankInfo.Iban.Value }"
}
},
"lines": [
"{ Company.Lines[0] }",
"{ Company.Lines[1] }",
"{ Company.Lines[2] }"
],
"logoURL": "https://gitlab.com/needsaholiday/api-doc/-/raw/772b457bb63fafbb1e24285d5c89f74f31c157a8/girocode/doctors.png?inline=false"
},
"footer": {
"pageNumberPrefix": "{ Footer.PageNumberPrefix }",
"texts": [
{
"label": "{ Footer.Texts[0].Label }",
"value": "{ Footer.Texts[0].Value }"
},
{
"label": "{ Footer.Texts[1].Label }",
"value": "{ Footer.Texts[1].Value }"
},
{
"label": "{ Footer.Texts[2].Label }",
"value": "{ Footer.Texts[2].Value }"
},
{
"label": "{ Footer.Texts[3].Label }",
"value": "{ Footer.Texts[3].Value }"
},
{
"label": "{ Footer.Texts[4].Label }",
"value": "{ Footer.Texts[4].Value }"
},
{
"label": "{ Footer.Texts[5].Label }",
"value": "{ Footer.Texts[5].Value }"
},
{
"label": "{ Footer.Texts[6].Label }",
"value": "{ Footer.Texts[6].Value }"
},
{
"label": "{ Footer.Texts[7].Label }",
"value": "{ Footer.Texts[7].Value }"
},
{
"label": "{ Footer.Texts[8].Label }",
"value": "{ Footer.Texts[8].Value }"
},
{
"label": "{ Footer.Texts[9].Label }",
"value": "{ Footer.Texts[9].Value }"
},
{
"label": "{ Footer.Texts[10].Label }",
"value": "{ Footer.Texts[10].Value }"
},
{
"label": "{ Footer.Texts[11].Label }",
"value": "{ Footer.Texts[11].Value }"
}
]
},
"girocode": {
"amount": 10.99,
"currency": "EUR",
"information": "heal the world please"
},
"items": [
{
"cells": [
"{ Items[0][0] }",
"{ Items[0][1] }{ Items[0][1] }{ Items[0][1] }{ Items[0][1] }{ Items[0][1] }{ Items[0][1] }{ Items[0][1] }{ Items[0][1] }",
"{ Items[0][2] }",
"{ Items[0][3] }",
"{ Items[0][4] }"
],
"type": "item"
},
{
"cells": [
"{ Items[1][0] }",
"{ Items[1][1] }{ Items[1][1] }{ Items[1][1] }{ Items[1][1] }{ Items[1][1] }{ Items[1][1] }{ Items[1][1] }{ Items[1][1] }",
"{ Items[1][2] }",
"{ Items[1][3] }",
"{ Items[1][4] }"
],
"type": "item"
},
{
"cells": null,
"type": "page-break"
},
{
"cells": [
"{ Items[3][0] }",
"{ Items[3][1] }{ Items[3][1] }{ Items[3][1] }{ Items[3][1] }{ Items[3][1] }{ Items[3][1] }{ Items[3][1] }{ Items[3][1] }",
"{ Items[3][2] }",
"{ Items[3][3] }",
"{ Items[3][4] }"
],
"type": "item"
}
],
"meta": {
"additional": null,
"clientName": {
"label": "{ Meta.ClientName.Label }",
"value": "{ Meta.ClientName.Value }"
},
"date": {
"label": "{ Meta.Date.Label }",
"value": "{ Meta.Date.Value }"
},
"dueDate": {
"label": "{ Meta.DueDate.Label }",
"value": "{ Meta.DueDate.Value }"
},
"number": {
"label": "{ Meta.Number.Label }",
"value": "{ Meta.Number.Value }"
}
},
"texts": {
"finishLines": [
{
"value": "{ Texts.FinishLines[0].Value }"
},
{
"value": "{ Texts.FinishLines[1].Value }"
},
{
"value": "{ Texts.FinishLines[2].Value }"
},
{
"value": "{ Texts.FinishLines[3].Value }"
},
{
"value": "{ Texts.FinishLines[4].Value }"
}
],
"headerLines": [
{
"value": "{ Texts.HeaderLines[0].Value }"
}
],
"introductionLines": [
{
"value": "{ Texts.IntroductionLines[0].Value }"
},
{
"value": "{ Texts.IntroductionLines[1].Value }"
},
{
"value": "{ Texts.IntroductionLines[2].Value }"
},
{
"value": "{ Texts.IntroductionLines[3].Value }"
}
],
"tacLines": [
{
"value": "{ Texts.TacLines[0].Value }"
},
{
"value": "{ Texts.TacLines[1].Value }{ Texts.TacLines[1].Value }{ Texts.TacLines[1].Value }{ Texts.TacLines[1].Value }{ Texts.TacLines[1].Value }{ Texts.TacLines[1].Value }{ Texts.TacLines[1].Value }{ Texts.TacLines[1].Value }"
},
{
"value": "{ Texts.TacLines[2].Value }{ Texts.TacLines[2].Value }{ Texts.TacLines[2].Value }{ Texts.TacLines[2].Value }{ Texts.TacLines[2].Value }{ Texts.TacLines[2].Value }{ Texts.TacLines[2].Value }"
}
]
},
"totalSection": {
"additional": [
{
"label": "{ TotalSection.Add[0].Label }",
"value": "{ TotalSection.Add[0].Value }"
},
{
"label": "{ TotalSection.Add[1].Label }",
"value": "{ TotalSection.Add[1].Value }"
}
],
"total": {
"label": "{ TotalSection.Total.Label }",
"value": "{ TotalSection.Total.Value }"
}
}
}