document_credit
Post a partial or full credit against an issued invoice or bill line, allocating the document reference, effective date, and amount in minor units.
Instructions
Post and allocate a credit to an issued invoice or bill line.
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": {
"company": "<company>",
"credit": "<credit>"
},
"name": "document_credit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| credit | Yes | Post one partial or full credit against a document line. | |
| company | Yes |