communicate_sales_document_at
Submits a finalized sales document to the Portuguese tax authority (AT) for fiscal communication. Requires confirmation, returns AT status code.
Instructions
Communicate a finalized sales document to the AT (Portuguese tax authority).
Triggers TOCOnline's send_document_at_webservice action. The document
must already be finalized. Requires confirm=true because the report is
a binding fiscal submission. The response carries the AT communication
status/code returned by the webservice.
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": {
"id": "<id>"
},
"name": "communicate_sales_document_at"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Sales document id (must be finalized first). | |
| confirm | No | Must be true. Communicating to the AT is a binding fiscal action. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||