v2
latestOpenAPI 3.0.02026-08-08112115411.4 KBQuotes
Create an invoice from a quote
Creates a new invoice by duplicating the quote (same as in-app create invoice from quote). Line items, recipient, and most document fields are copied from the quote; invoice template defaults apply for payment/body/footer fields. No request body is required.
post/quotes/{id}/invoice
Path parameters
idstring required
Quote ID
Response
Invoice
Example response
{
"invoices": [
{
"id": "3-contacts",
"displayStatus": "SENT",
"productLineItems": [
{
"id": "1-quoteProductLineItems",
"product": "100-products",
"name": "Consulting Services",
"description": "Monthly consulting retainer",
"sku": "CONS-001",
"quantity": 2,
"term": "month",
"price": {
"formatted": "$100.00",
"amount": "100.00",
"currency": "USD"
},
"total": {
"formatted": "$100.00",
"amount": "100.00",
"currency": "USD"
},
"discountUnit": "%",
"discountNumber": 10
}
],
"subtotalLineItems": [
{
"id": "1-quoteSubtotalLineItems",
"label": "Tax",
"modifierUnit": "%",
"modifierValue": 6.5,
"operation": "+",
"total": {
"formatted": "$100.00",
"amount": "100.00",
"currency": "USD"
}
}
],
"recipient": {
"id": "321-contacts",
"name": "Jane Doe",
"email": "jane@example.com"
},
"acceptedName": "Jane Customer",
"acceptedEmail": "jane@example.com",
"number": "1000-01",
"total": {
"formatted": "$100.00",
"amount": "100.00",
"currency": "USD"
},
"validThroughTime": "2024-12-31T23:59:59Z",
"createdTime": "2024-01-15T10:30:00Z",
"publishedTime": "2024-01-16T14:20:00Z",
"sentTime": "2024-01-17T09:15:00Z",
"paidTime": "2024-01-20T16:45:00Z",
"completionComment": "Paid via ACH",
"deletedTime": "2024-02-01T12:00:00Z"
}
]
}