update_contract
Modify an existing Fakturia contract by updating only the fields you provide, including billing, payment method, trial settings, and invoice or credit note text overrides.
Instructions
Update an existing contract in Fakturia. Only the provided fields will be changed. Can modify billing settings, payment methods, trial configuration, text overrides, and other contract properties.
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": {
"contractNumber": "<contractNumber>"
},
"name": "update_contract"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | A human-readable name for the contract. | |
| recur | No | The recurrence interval (e.g. 1 for monthly if recurUnit is MONTH). | |
| dueUnit | No | The payment due period unit. | |
| duePeriod | No | The payment due period value. | |
| issueDate | No | The issue date of the contract in YYYY-MM-DD format. | |
| recurUnit | No | The recurrence unit (e.g. MONTH, YEAR). | |
| taxConfig | No | Tax configuration for this contract. | |
| trialUnit | No | The trial period unit. | |
| couponCode | No | A coupon code to apply to this contract. | |
| projectName | No | The project name to associate with this contract. | |
| trialPeriod | No | The trial period length. | |
| accountNumber | No | The billing account number to associate with this contract. | |
| paymentMethod | No | The payment method for this contract (e.g. INVOICE, DIRECT_DEBIT). | |
| contractNumber | Yes | The unique contract number to update. | |
| customerNumber | No | The customer number who owns this contract. | |
| hasTrialperiod | No | Whether this contract has a trial period. | |
| zugferdProfile | No | The ZUGFeRD e-invoice profile to use. | |
| documentDeliveryMode | No | How documents should be delivered (e.g. EMAIL, MAIL). | |
| trialPeriodEndAction | No | Action to take when the trial period ends. | |
| ccDisallowTermination | No | Whether to disallow termination from the customer center. | |
| extraTextInvoiceEmail | No | Extra text to include in the invoice email. | |
| extraTextInvoiceFooter | No | Extra text to include in the invoice footer. | |
| extraTextInvoiceHeader | No | Extra text to include in the invoice header. | |
| extraTextCreditnoteEmail | No | Extra text to include in the credit note email. | |
| extraTextCreditnoteFooter | No | Extra text to include in the credit note footer. | |
| extraTextCreditnoteHeader | No | Extra text to include in the credit note header. |