fiken_update_invoice_draft
Update an existing invoice draft by modifying line items, dates, customer info, and payment details. Useful for correcting or adjusting draft invoices before finalization.
Instructions
Updates an existing invoice draft
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": {
"draftId": "<draftId>",
"type": "<type>",
"daysUntilDueDate": "<daysUntilDueDate>",
"customerId": "<customerId>"
},
"name": "fiken_update_invoice_draft"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bic | No | ||
| iban | No | ||
| type | Yes | ||
| uuid | No | ||
| lines | No | ||
| draftId | Yes | ||
| currency | No | ISO 4217, e.g. "NOK" | |
| issueDate | No | YYYY-MM-DD | |
| projectId | No | ||
| customerId | Yes | Customer contact ID | |
| invoiceText | No | ||
| ourReference | No | ||
| roundingType | No | ||
| yourReference | No | ||
| orderReference | No | ||
| paymentAccount | No | Account code for payment | |
| contactPersonId | No | ||
| daysUntilDueDate | Yes | ||
| bankAccountNumber | No |