Updates multiple reconciliation lines. Returns 200 on success, or 400 if any entry fails validation.
Headers
-
API token (can be retrieved from account settings)
-
ID of organization, for which the operation must be performed
POST
/api-v1/reconciliation-lines/batch
curl \
--request POST 'https://wyzio.app/api-v1/reconciliation-lines/batch' \
--header "Content-Type: application/json" \
--data '[{"id":12345678,"contactId":12345678,"isInternalContact":false,"manualEntries":[{"id":12345678,"paymentType":"PURCHASE_PAYMENT","description":"Invoice payment match","amount":1200.0,"requestedAmount":1200.0,"counterPartyAccountId":12345678,"amountInCurrency":1000.0,"entityContactId":12345678,"currencyId":12345678,"purchasePaymentId":12345678,"salesPaymentId":12345678,"payrollPaymentId":12345678,"departmentId":12345678,"isSplitPayment":false,"bankCharges":0.0,"lossOnDebtors":0.0,"officeId":12345678}]}]'
Request examples
# Headers
# Payload
[
{
"id": 12345678,
"contactId": 12345678,
"isInternalContact": false,
"manualEntries": [
{
"id": 12345678,
"paymentType": "PURCHASE_PAYMENT",
"description": "Invoice payment match",
"amount": 1200.0,
"requestedAmount": 1200.0,
"counterPartyAccountId": 12345678,
"amountInCurrency": 1000.0,
"entityContactId": 12345678,
"currencyId": 12345678,
"purchasePaymentId": 12345678,
"salesPaymentId": 12345678,
"payrollPaymentId": 12345678,
"departmentId": 12345678,
"isSplitPayment": false,
"bankCharges": 0.0,
"lossOnDebtors": 0.0,
"officeId": 12345678
}
]
}
]
Response examples (200)
{
"items": [
{
"errorCode": {
"errorCode": "NO_ERROR",
"errorDetailValues": [
{
"errorCode": "string",
"fieldName": "string",
"data": "string",
"isSevere": true
}
]
},
"possibleWorkflows": [
{
"id": 42,
"name": "string"
}
],
"error": true,
"severeError": true
}
]
}