Invoices: Client vat ID
invoice_client_vat_idWrite a client's EU VAT ID (USt-IdNr / CUI with «RO», «ATU…») into the client card — the field the VAT regime reads: an EU business client in another EU state with a valid VAT ID gets reverse charge (services) or an intra-EU supply (goods) on its invoices by itself, with the VAT ID and the legal note printed on the PDF. Client: invoice (its client — and that invoice, if not yet sent or paid, switches to reverse charge in the same step), organization_id, or client = a name matching one client. The number is checked for shape and asked of VIES (free) before it is proposed; a number VIES rejects is still written if the person confirms but gives no reverse charge — say so. Use it when the person gives a client's VAT ID, or after need_client_vat_id. Runs propose→confirm. CONFIRMATION: this tool is PROPOSED, never performed directly. You get status='confirmation_required' with an action_id and a plan_token, and the write happens only after confirm_action.
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": {
"vat_id": "<vat_id>"
},
"name": "invoice_client_vat_id"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| client | No | The client's name as said. | |
| vat_id | Yes | The VAT ID as the person gave it, with its country prefix (RO52564177). | |
| invoice | No | An invoice of this client (number or id) — also switches it to reverse charge while it is not sent or paid. | |
| organization_id | No |