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.
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 | |||