BankTransactionAssignmentSuggestion (object)
| Field | Type | Description | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| bank_transaction* | object |
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| suggestion* | object |
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| suggestions* | object[] | All matching documents for this transaction, best match first array Elements
|
Example (JSON)
{
"bank_transaction": {
"id": 0,
"bank_account_id": 0,
"transaction_date": "2025-01-14T13:51:15.000Z",
"value_date": "2025-01-14T00:00:00.000Z",
"amount_cents": 0,
"currency_code": "string",
"source": "string",
"assignment_status": "open",
"amount_assignable_cents": 0,
"is_private": true,
"is_no_assignment_required": true,
"auto_detected": true
},
"suggestion": {
"payable_type": "Invoice",
"payable_id": 0,
"payable_label": "string",
"contact_id": 0,
"contact_name": "string",
"contact_first_name": "string",
"amount_total_cents": 0,
"amount_open_cents": 0,
"match_reasons": [
"amount"
],
"suggested_amount_cents": 0
},
"suggestions": [
{
"payable_type": "Invoice",
"payable_id": 0,
"payable_label": "string",
"contact_id": 0,
"contact_name": "string",
"contact_first_name": "string",
"amount_total_cents": 0,
"amount_open_cents": 0,
"match_reasons": [
"amount"
],
"suggested_amount_cents": 0
}
]
}