get_received_invoice_xml
Return the full XML (procNFe) of an NF-e issued against this company. Read-only and never charged.
Only when list_received_invoices shows has_full_document; for a summary the answer says to manifest first. An XML above 500 KB is not inlined: the answer says to download it from the API instead.
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": {
"access_key": "<access_key>"
},
"name": "get_received_invoice_xml"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| access_key | Yes | The 44-character access key of the received NF-e, as list_received_invoices returns it. | |
| company_id | No | UUID of the company acted for. Omit for a single company; else see list_authorized_companies. Send one, never both. | |
| company_tax_id | No | CNPJ or CPF of the company acted for, never the recipient or a taxpayer looked up. Omit for a single company; else see list_authorized_companies. Send one, never both. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| xml | Yes | The procNFe, as stored. | |
| access_key | Yes | ||
| size_bytes | Yes |