POST /api-v1/reconciliation-lines/batch

Headers

  • WEAL-TOKEN string Required

    API token (can be retrieved from account settings)

  • TARGET-ORGANIZATION-ID integer

    ID of organization, for which the operation must be performed

application/json

Body Required

  • id integer
  • processDate string(date-time)
  • movementDirection string

    Values are IN or OUT.

  • contactId integer
  • reference string
  • valueDate string(date-time)
  • paidCurrencyId integer
  • paidAmount number
  • isReconciled boolean
  • mainAccountIban string
  • mainAccountId integer
  • isInternalContact boolean
  • manualEntries array[object]
    Hide manualEntries attributes Show manualEntries attributes object
    • id integer
    • paymentType string

      Values are SALES_INVOICE, PURCHASE_INVOICE, SALARY_SLIP, or MANUAL.

    • description string
    • amount string
    • requestedAmount string
    • counterPartyAccountId integer
    • amountInCurrency string
    • entityContactId integer
    • currencyId integer
    • purchasePaymentId integer
    • salesPaymentId integer
    • payrollPaymentId integer
    • departmentId integer
    • isSplitPayment boolean
    • bankCharges number
    • lossOnDebtors number
    • officeId integer

Responses

  • 200 application/json

    OK

    Hide response attribute Show response attribute object
    • items array[object]
      Hide items attributes Show items attributes object
      • errorCode object
        Hide errorCode attributes Show errorCode attributes object
        • errorCode string

          Values are NO_ERROR, NOT_IMPLEMENTED_YET, CONTACT_NOT_FOUND, FIELD_REQUIRED, VALIDATION_ERROR, DUPLICATION_ERROR, UNIQUE_CONSTRAINT_VIOLATION, WRONG_PASSWORD_FORMAT, WRONG_PASSWORD, ACTION_DENIED, NOT_FOUND, EXPECTED_ONE_FILE, UNIQUE_VIOLATION, CONTENT_EMPTY, INVALID_TYPE, CONVERSION_ERROR, FILE_PARSE_EXCEPTION, or IN_USE.

        • errorDetailValues array[object]
          Hide errorDetailValues attributes Show errorDetailValues attributes object
          • errorCode string
          • fieldName string
          • data string
          • isSevere boolean
      • freshRow object
      • freshData object
      • possibleWorkflows array[object]
        Hide possibleWorkflows attributes Show possibleWorkflows attributes object
        • id integer
        • name string
      • error boolean
      • severeError boolean
  • 400

    400 Bad Request

  • 401

    401 Unauthorized

  • 403

    403 Access Denied

  • 404

    404 Not Found

  • 500

    500 Internal Server Error

POST /api-v1/reconciliation-lines/batch
curl \
 --request POST 'https://wyzio.app/api-v1/reconciliation-lines/batch' \
 --header "Content-Type: application/json" \
 --header "WEAL-TOKEN: string" \
 --header "TARGET-ORGANIZATION-ID: 42" \
 --data '[{"id":42,"processDate":"2026-05-04T09:42:00Z","movementDirection":"IN","contactId":42,"reference":"string","valueDate":"2026-05-04T09:42:00Z","paidCurrencyId":42,"paidAmount":42.0,"isReconciled":true,"mainAccountIban":"string","mainAccountId":42,"isInternalContact":true,"manualEntries":[{"id":42,"paymentType":"SALES_INVOICE","description":"string","amount":"string","requestedAmount":"string","counterPartyAccountId":42,"amountInCurrency":"string","entityContactId":42,"currencyId":42,"purchasePaymentId":42,"salesPaymentId":42,"payrollPaymentId":42,"departmentId":42,"isSplitPayment":true,"bankCharges":42.0,"lossOnDebtors":42.0,"officeId":42}]}]'
Request examples
# Headers
WEAL-TOKEN: string
TARGET-ORGANIZATION-ID: 42

# Payload
[
  {
    "id": 42,
    "processDate": "2026-05-04T09:42:00Z",
    "movementDirection": "IN",
    "contactId": 42,
    "reference": "string",
    "valueDate": "2026-05-04T09:42:00Z",
    "paidCurrencyId": 42,
    "paidAmount": 42.0,
    "isReconciled": true,
    "mainAccountIban": "string",
    "mainAccountId": 42,
    "isInternalContact": true,
    "manualEntries": [
      {
        "id": 42,
        "paymentType": "SALES_INVOICE",
        "description": "string",
        "amount": "string",
        "requestedAmount": "string",
        "counterPartyAccountId": 42,
        "amountInCurrency": "string",
        "entityContactId": 42,
        "currencyId": 42,
        "purchasePaymentId": 42,
        "salesPaymentId": 42,
        "payrollPaymentId": 42,
        "departmentId": 42,
        "isSplitPayment": true,
        "bankCharges": 42.0,
        "lossOnDebtors": 42.0,
        "officeId": 42
      }
    ]
  }
]
Response examples (200)
{
  "items": [
    {
      "errorCode": {
        "errorCode": "NO_ERROR",
        "errorDetailValues": [
          {
            "errorCode": "string",
            "fieldName": "string",
            "data": "string",
            "isSevere": true
          }
        ]
      },
      "freshRow": {},
      "freshData": {},
      "possibleWorkflows": [
        {
          "id": 42,
          "name": "string"
        }
      ],
      "error": true,
      "severeError": true
    }
  ]
}