Invoice Generator
InvoiceGeneratorInvoice Generator: Invoice Generator is an invoice generation API that creates downloadable PDF invoices from party addresses, line items, and payment terms. It computes subtotals with discounts and sales tax, returning an expiring download link. (Cost: 20 credits)
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"invoiceNumber": "<invoiceNumber>",
"from_name": "<from_name>",
"from_street": "<from_street>",
"from_city": "<from_city>",
"from_state": "<from_state>",
"from_zip": "<from_zip>",
"to_name": "<to_name>",
"to_street": "<to_street>",
"to_city": "<to_city>",
"to_state": "<to_state>",
"to_zip": "<to_zip>",
"items": "<items>"
},
"name": "InvoiceGenerator"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job | No | The job or project associated with the invoice | |
| date | No | The invoice date (YYYY-MM-DD format) | |
| items | Yes | The items being invoiced (qty, description, unit_price) | |
| to_zip | Yes | The zip code of the person or company being invoiced | |
| dueDate | No | The due date for the invoice (YYYY-MM-DD format) | |
| logoURL | No | Public http(s) URL of an image to use as the invoice logo (max 2 MB, fetched with a 5 second timeout; a placeholder logo is used if it can't be loaded) | |
| to_city | Yes | The city of the person or company being invoiced | |
| to_name | Yes | The name of the person or company being invoiced | |
| currency | No | The currency for the invoice | |
| discount | No | The discount to be applied to the invoice | |
| from_zip | Yes | The zip code of the person or company issuing the invoice | |
| salesTax | No | The sales tax rate for the invoice as a percentage, applied to the subtotal after discount (e.g. 7.5 for 7.5%) | |
| to_state | Yes | The state of the person or company being invoiced | |
| from_city | Yes | The city of the person or company issuing the invoice | |
| from_name | Yes | The name of the person or company issuing the invoice | |
| to_street | Yes | The street address of the person or company being invoiced | |
| from_state | Yes | The state of the person or company issuing the invoice | |
| from_street | Yes | The street address of the person or company issuing the invoice | |
| paymentTerms | No | The payment terms for the invoice | |
| invoiceNumber | Yes | The invoice number |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| error | No | Error message, null on success | |
| status | No | "ok" on success |