Send a GET request to the following URL to Generate PDF invoice
Name | Type | Required? | Default | Description |
---|---|---|---|---|
date | datetime | No | current date | Invoice date |
number | string | No | null | Invoice number |
from | string | No | null | Your organization name |
from_address | string | No | null | Your organization billing address and info (multiline) |
to | string | No | null | Entity being billed |
ship_to | string | No | null | Shipping address (multiline) |
items | { "name": "string", "unit_cost": "number", "quantity": "number", "description": "string" }[] | No | [] | Invoice items |
logo | string | No | null | Your organization logo URL |
currency | string | No | USD | ISO 4217 3-digit currency code |
due_date | datetime | No | null | Invoice due date |
due_date | datetime | No | null | Invoice due date |
tax | number | No | 0 | Percent tax |
amount_paid | number | No | 0 | Amount paid |
notes | string | No | null | Notes - any extra information |
Status Code | Description |
---|---|
200 | PDF invoice |
400 | Bad Request |
500 | Internal Server Error |