/png
Get PNG image from private template, paid subscription required
post/png/private/{template}
Request
- Base URL: https://api.ireceipt.pro/v1
- URL: https://api.ireceipt.pro/v1/png/private/{template}
- Auth: HTTP bearer
Path parameters
templatestring required
Template ID, you can find standard IDs here or create private ones at: dashboard.ireceipt.pro
Query parameters
tokenstring
Access Token (instead of a header)
Request body
Example request
{
"variables": {
"invoice": {
"number": "13",
"date": "2023-10-03",
"table": {
"headers": [
"NAME",
"PRICE",
"QTY",
"AMOUNT"
],
"rows": [
{
"values": [
"Gorgeous Fresh Car",
"$100.99",
"6",
"$605.94"
]
},
{
"values": [
"Incredible Rubber Bike",
"$356.00",
"1",
"$356.00"
]
},
{
"values": [
"UX Services",
"$100.00",
"2",
"$200.00"
]
},
{
"values": [
"Development Service",
"$2000.00",
"1",
"$2000.00"
]
}
]
},
"total": "$3161.94",
"terms": [
"Payment is due within 5 days",
"Payment method CARD",
"Card Details:",
"Card Number: 4242-4242-4242-4242",
"Sergey Dudko"
]
},
"from": {
"companyName": "IReceipt PRO",
"lines": [
"Identification Number: 55891434",
"911 Reece Freeway",
"32390 Kraig Station",
"East Rhea",
"IR",
"support@ireceipt.pro"
]
},
"to": {
"companyName": "Morissette - Bogisich",
"lines": [
"969 Harber Expressway",
"South Aishaton",
"GB"
]
},
"localization": {
"invoice": "INVOICE",
"bill_to": "BILL TO",
"date": "DATE",
"total": "Total",
"terms_and_conditions": "TERMS & CONDITIONS"
}
},
"format": "a4-portrait",
"size": {
"width": 796,
"height": 1126
}
}Response
PNG image
Changes
No recorded changes to this operation across all 1 revision of this API.