Match Transaction to Invoice
match_transaction_to_invoiceLink a bank transaction to an invoice or expense to update fiscal reconciliation records. Requires confirm=true to proceed.
Instructions
TRUST AREA — RECONCILIATION. Link a bank transaction to an invoice or expense document. This affects fiscal reconciliation records. Requires confirm=true to proceed. Idempotent: re-matching to same document is a no-op. Example: transactionId='tx_abc', documentId='inv_xyz', documentType='invoice', confirm=true / AREA DE CONFIANZA — CONCILIACION. Vincula un movimiento bancario a una factura o gasto. Afecta registros de conciliacion fiscal. Requiere confirm=true para ejecutar.
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": {
"transactionId": "<transactionId>",
"documentId": "<documentId>",
"documentType": "<documentType>",
"confirm": "<confirm>"
},
"name": "match_transaction_to_invoice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notes | No | Optional reconciliation notes / Notas de conciliacion opcionales | |
| confirm | Yes | Must be true to confirm fiscal reconciliation / Debe ser true para confirmar conciliacion fiscal | |
| documentId | Yes | Invoice or expense ID to link / ID de la factura o gasto a vincular | |
| documentType | Yes | Type of document being matched / Tipo de documento | |
| transactionId | Yes | Bank transaction ID / ID del movimiento bancario |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| amount | Yes | ||
| status | No | ||
| category | No | ||
| currency | No | ||
| postedAt | No | ||
| accountId | No | ||
| createdAt | No | ||
| updatedAt | No | ||
| description | No | ||
| matchedDocId | No |