Content
```
[
{
“columns”: [
{
“width”: 380,
“stack”: [
{
“text”: “$yourInvoiceLabelUC”,
“style”: “yourInvoice”
},
“$clientDetails”
],
“margin”: [
60,
10,
0,
10
]
},
{
“canvas”: [
{
“type”: “rect”,
“x”: 0,
“y”: 0,
“w”: 225,
“h”: “$invoiceDetailsHeight”,
“r”: 0,
“lineWidth”: 1,
“color”: “$primaryColor:#B6E148”
}
],
“width”: 10,
“margin”: [
-10,
10,
0,
10
]
},
{
“table”: {
“body”: “$invoiceDetails”
},
“layout”: “noBorders”,
“margin”: [
0,
20,
0,
0
]
}
]
},
{
“style”: “invoiceLineItemsTable”,
“table”: {
“headerRows”: 1,
“widths”: [
“22%”,
“",
“14%”,
“$quantityWidth”,
“$taxWidth”,
“22%”
],
“body”: “$invoiceLineItems”
},
“layout”: {
“hLineWidth”: “$none”,
“vLineWidth”: “$none”,
“paddingLeft”: “$amount:8”,
“paddingRight”: “$amount:8”,
“paddingTop”: “$amount:14”,
“paddingBottom”: “$amount:14”
}
},
{
“columns”: [
{
“width”: 46,
“text”: " "
},
“$notesAndTerms”,
{
“table”: {
“widths”: [
"”,
“40%”
],
“body”: “$subtotals”
},
“layout”: {
“hLineWidth”: “$none”,
“vLineWidth”: “$none”,
“paddingLeft”: “$amount:8”,
“paddingRight”: “$amount:8”,
“paddingTop”: “$amount:4”,
“paddingBottom”: “$amount:4”
}
}
]
},
{
“stack”: [
“$invoiceDocuments”
],
“style”: “invoiceDocuments”
}
]
</li>
<li><strong>Styles</strong>
{
“primaryColor”: {
“color”: “$primaryColor:#B6E148”
},
“accountName”: {
“bold”: true,
“margin”: [
4,
2,
4,
1
],
“color”: “$primaryColor:#B6E148”
},
“accountDetails”: {
“margin”: [
4,
2,
4,
1
],
“color”: “#FFFFFF”
},
“accountAddress”: {
“margin”: [
4,
2,
4,
1
],
“color”: “#FFFFFF”
},
“clientDetails”: {
“margin”: [
0,
2,
0,
1
]
},
“odd”: {
“fillColor”: “#ebebeb”,
“margin”: [
0,
0,
0,
0
]
},
“productKey”: {
“color”: “$primaryColor:#292526”,
“margin”: [
40,
0,
0,
0
],
“bold”: false
},
“balanceDueLabel”: {
“fontSize”: “$fontSizeLargest”,
“bold”: true
},
“balanceDue”: {
“fontSize”: “$fontSizeLargest”,
“color”: “$primaryColor:#292526”,
“bold”: true
},
“invoiceDetails”: {
“color”: “#ffffff”
},
“invoiceNumber”: {
“bold”: true
},
“itemTableHeader”: {
“margin”: [
40,
0,
0,
0
]
},
“totalTableHeader”: {
“margin”: [
0,
0,
40,
0
]
},
“tableHeader”: {
“fontSize”: 12,
“bold”: true
},
“costTableHeader”: {
“alignment”: “right”
},
“qtyTableHeader”: {
“alignment”: “right”
},
“taxTableHeader”: {
“alignment”: “right”
},
“lineTotalTableHeader”: {
“alignment”: “right”,
“margin”: [
0,
0,
40,
0
]
},
“yourInvoice”: {
“font”: “$headerFont”,
“bold”: true,
“fontSize”: 14,
“color”: “$primaryColor:#292526”,
“margin”: [
0,
0,
0,
8
]
},
“invoiceLineItemsTable”: {
“margin”: [
0,
26,
0,
16
]
},
“clientName”: {
“bold”: true
},
“cost”: {
“alignment”: “right”
},
“quantity”: {
“alignment”: “right”
},
“tax”: {
“alignment”: “right”
},
“lineTotal”: {
“alignment”: “right”,
“margin”: [
0,
0,
40,
0
]
},
“subtotals”: {
“alignment”: “right”,
“margin”: [
0,
0,
40,
0
]
},
“termsLabel”: {
“bold”: true,
“margin”: [
0,
0,
0,
4
]
},
“header”: {
“font”: “$headerFont”,
“fontSize”: “$fontSizeLargest”,
“bold”: true
},
“subheader”: {
“font”: “$headerFont”,
“fontSize”: “$fontSizeLarger”
},
“help”: {
“fontSize”: “$fontSizeSmaller”,
“color”: “#737373”
},
“invoiceDocuments”: {
“margin”: [
47,
0,
47,
0
]
},
“invoiceDocument”: {
“margin”: [
0,
10,
0,
10
]
}
}
</li>
<li><strong>Standards</strong>
{
“font”: “$bodyFont”,
“fontSize”: “$fontSize”,
“margin”: [
8,
4,
8,
4
]
}
</li>
<li><strong>Margins</strong>
[
0,
180,
0,
200
]
</li>
<li><strong>Header</strong>
[
{
“canvas”: [
{
“type”: “line”,
“x1”: 0,
“y1”: 0,
“x2”: 600,
“y2”: 0,
“lineWidth”: 200,
“lineColor”: “$secondaryColor:#fff”
}
],
“width”: 10
},
{
“columns”: [
{
“image”: “$accountLogo”,
“fit”: [
“”,
“”
],
“margin”: [
0,
20,
0,
0
]
},
{
“text”: [
{
“text”: “My, a bit longer, enterprise name”,
“bold”: true,
“fontSize”: “20”
},
{
“text”: “\nMy Name”
}
],
“color”: “#818181”,
“fontSize”: “18”,
“margin”: [
-265,
28,
0,
0
],
“width”: 180
}
],
“margin”: [
35,
0,
0,
0
]
}
]
</li>
<li><strong>Footer</strong>
[
{
“canvas”: [
{
“type”: “line”,
“x1”: 0,
“y1”: 120,
“x2”: 600,
“y2”: 120,
“lineWidth”: 160,
“lineColor”: “$secondaryColor:#292526”
}
]
},
{
“columns”: [
{
“stack”: [
{
“text”: “Address\n\n”,
“bold”: true,
“fontSize”: “$fontSizeLargest”,
“color”: “#fff”,
“margin”: [
5,
8,
0,
0
]
},
{
“stack”: “$accountAddress”
}
],
“alignment”: “left”,
“width”: 250,
“margin”: [
40,
-15,
40,
0
]
},
{
“text”: [
{
“text”: “Contact\n\n”,
“fontSize”: “$fontSizeLargest”,
“bold”: true
},
{
“text”: "Fon: ",
“bold”: true
},
{
“text”: “0123 45 67 891”
},
{
“text”: "\nHotline: ",
“bold”: true
},
{
“text”: “030 678 908 - 12”
},
{
“text”: "\nMail: ",
“bold”: true
},
{
“text”: “info@myenterprise.de\n info@myseconddomain.de”
},
{
“text”: "\n\n24/7 Emergency: ",
“bold”: true
},
{
“text”: “(billable)”
},
{
“text”: “\n030 12 34 56 78”
}
],
“margin”: [
10,
-40,
0,
0
],
“alignment”: “left”,
“color”: “#FFFFFF”,
“width”: 120
},
{
“text”: [
{
“text”: “Bank details\n\n”,
“fontSize”: “$fontSizeLargest”,
“bold”: true
},
{
“text”: “$invoiceFooter”
},
{
“text”: “\n\nTax number:”,
“bold”: true
},
{
“text”: “\n123/456/78912”
},
{
“text”: “\n tax authorities”
}
],
“margin”: [
40,
-40,
40,
0
],
“alignment”: “left”,
“color”: “#FFFFFF”
}
]
}
]
</li>
</ol>
Hope you can see my problem. I need really your help. I like your software, but I have a lot invoices with more than two pages.