create_invoice
Create a sale invoice in Bigcapital for a customer, specifying line items, dates, and optional fields to record sales accurately.
Instructions
Create a sale invoice in Bigcapital.
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": {
"customerId": "<customerId>",
"invoiceDate": "<invoiceDate>",
"dueDate": "<dueDate>",
"entries": "<entries>"
},
"name": "create_invoice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dueDate | Yes | ||
| entries | Yes | ||
| branchId | No | ||
| discount | No | ||
| delivered | No | ||
| invoiceNo | No | ||
| projectId | No | ||
| adjustment | No | ||
| customerId | Yes | ||
| attachments | No | ||
| invoiceDate | Yes | ISO date or date-time string | |
| referenceNo | No | ||
| warehouseId | No | ||
| discountType | No | ||
| exchangeRate | No | ||
| pdfTemplateId | No | ||
| fromEstimateId | No | ||
| invoiceMessage | No | ||
| isInclusiveTax | No | ||
| paymentMethods | No | ||
| termsConditions | No |