create_order_confirmation
Create order confirmations by specifying contact, date, currency, language, and line items. Supports customization with optional fields like discount, notes, and layout.
Instructions
Creates new order confirmation
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": {
"contact_id": "<contact_id>",
"contact_address_id": "<contact_address_id>",
"date": "<date>",
"currency": "<currency>",
"language": "<language>",
"positions": "<positions>"
},
"name": "create_order_confirmation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| number | No | unique number - default value: 'next free number' | |
| contact_id | Yes | id of a contact | |
| contact_address_id | Yes | id of a contact's address | |
| contact_prepage_address_id | No | id of a contact's prepage address | |
| contact_person_id | No | id of a contact's person | |
| date | Yes | date of the order confirmation | |
| period_text | No | service/delivery | |
| currency | Yes | currency (e.g. CHF, EUR) | |
| vat_included | No | whether prices in order confirmation include VAT - default value: false | |
| discount_rate | No | optional discount rate - default value: 0.0 | |
| discount_type | No | optional discount type; possible values: A - amount, P - in % - default value: 'P' | |
| language | Yes | language; possible values: de, en, es, fr, it | |
| signature_id | No | signature id | |
| layout_id | No | layout id | |
| notes | No | optional notes | |
| custom_fields | No | custom fields values | |
| positions | Yes | positions objects | |
| texts | No | texts objects | |
| free_texts | No | free texts objects |