Skip to main content
Version: Latest (2.0.0)

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-transactionsTypeתיאורDescriptionDefault
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---
finalbalanceArrayמערך של חשבונות בנק ויתרות המשמש לבדיקת התאמה מול הנתונים הקיימים במערכת. אם קיימת אי־התאמה בין היתרה שנשלחה לבין היתרה המעודכנת בחברה, התנועות החדשות (עבור החשבון השגוי) לא ייקלטו.
ראו טבלה למטה
An array of bank accounts and balances used to verify reconciliation against existing data in the system. If there is a mismatch between the submitted balance and the balance updated at the company, new transactions (for the incorrect account) will not be imported.
See table below
---

finalbalance - Array items

FieldTypeתיאורDescription
AccountKeystringמפתח חשבון בנקBank account key
Balancenumberיתרת חשבון בנקBank account balance

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"
}
],
"finalbalance": [
{
"AccountKey": "10001",
"Balance": "1234.56"
}
]

}

Bank Pages OutputData

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