Show or hide invoice labels
set_invoice_labelsHides or shows fields printed on the PDF of an invoice draft or an open proforma: the country, VAT ID, tax and registration number, e-mail and phone of the company, its bank name and BIC, the country, VAT ID, tax and registration number of the customer, the payment reference, the place, the due date, the supply date and the company logo. Every field is shown unless it is hidden. Only the given labels change; a label already in the requested state stays as it is. The data itself is not changed, and a hidden field can be shown again. Issued documents can't be changed.
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_id": "<company_id>",
"invoice_id": "<invoice_id>"
},
"name": "set_invoice_labels"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| shown | No | The labels to show on the document again. | |
| hidden | No | The labels to hide on the document. ENTITY_* are the company, CUSTOMER_* the customer, ENTITY_LOGO the company logo. At least one label is required in hidden or shown, and a label can't be in both. | |
| company_id | Yes | The id of the company, from list_companies. | |
| invoice_id | Yes | The id of the document, from list_invoices. |