Skip to main content

Import Bank Statements

NodeJS Example File

BankPagesApiExample.js

Import Bank Page Records

Import or update records to chosen index

REST APIBankPagesApi/importBankPage
NodeJSimportBankPageRecords

ParametersDescriptionParameter Options/value
rows
Required
bank pages object array See table below

JSON Body Example


{
"rows": [
{
...
},
{
...
}
]
}

Bank Pages

The following parameters should be included in a rows array (see example below)

Sub-transactionsTypeDescriptionתיאורDefault
AccountKey
Required
String (max 15)מפתח חשבון (בנק)Bank account key
ReferenceInteger numberאסמכתאReference0
CreditDebit
Required
Integer numberחובה-1
זכות- 0
Debit - 1
Credit - 0
SuF
Required
Float numberסכוםAmount
DetailsString (max 50)פרטיםRemarksnull
DatFDate string –
dd-mm-yyyy
תאריךdate---

JSON Example


{
"rows": [
{
"AccountKey": "10001",
"Reference": "123",
"Details": "trans details",
"DatF": "31/10/2019",
"SuF": "1234.56",
"CreditDebit": "0"
},
{
"AccountKey": "10001",
"Reference": "125",
"Details": "trans details 111",
"DatF": "28/10/2019",
"SuF": "55123",
"CreditDebit": "1"
}
]
}

Bank Pages OutputData

NameOptions
statusCode200 – OK / 500 - Errors
status
errorsOK / Errors: "error description" / No Permission