service_favorite_create
Save a favorite for a company so it can be reused on later invoices. A service (default kind, up to 50 per company) needs label, description and service_code. With kind "product" (up to 500; the same description updates the saved one) send description, ncm and unit_price, and optionally code, gtin, cest, cfop, unit, csosn and origin. Arquivix Notas only estimates the taxes: the person informs NCM and, when needed, CFOP and CSOSN.
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>",
"description": "<description>"
},
"name": "service_favorite_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ncm | No | Product: NCM, 8 digits | |
| cest | No | Product: CEST, 7 digits | |
| cfop | No | Product: default CFOP | |
| code | No | Product: your code | |
| gtin | No | Product: barcode | |
| kind | No | Default service | |
| unit | No | Product: unit, default UN | |
| csosn | No | Product: 102, 101, 400 or 500 | |
| label | No | Short name (service only) | |
| origin | No | Product: origin, 0 to 8 | |
| company_id | Yes | UUID of the company | |
| unit_price | No | Product: price of one unit in reais | |
| description | Yes | Service description printed on the invoice | |
| amount_cents | No | Default amount in cents (R$ 150,00 = 15000), optional | |
| service_code | No | National service code (cTribNac), 6 digits | |
| municipality_code | No | IBGE place of service (7 digits), optional |