Authorizations
The access token received from the authorization server in the OAuth 2.0 flow.
Body
<span style="color: red;">
date-time
</span> format is deprecated. Please usedate
format (ISO 8601).
"2023-08-30"
Label that describes the ledger entry
"Payment for Services"
The journal ID where you want to create the ledger entry
123
Array of ledger entry lines. The entry lines must be balanced. The max number of ledger entry lines that you can create using this endpoint is 1000 per request.
Ledger attachment ID
42
Currency code of the ledger entry as per ISO 4217. If not provided, EUR will be used. This currency is applicable to all ledger_entry_lines
EUR
, USD
, GBP
, AED
, AFN
, ALL
, AMD
, ANG
, AOA
, ARS
, AUD
, AWG
, AZN
, BAM
, BBD
, BDT
, BGN
, BHD
, BIF
, BMD
, BND
, BOB
, BRL
, BSD
, BTN
, BWP
, BYN
, BYR
, BZD
, CAD
, CDF
, CHE
, CHF
, CLF
, CLP
, CNY
, COP
, CRC
, CUC
, CUP
, CVE
, CZK
, DJF
, DKK
, DOP
, DZD
, EGP
, ERN
, ETB
, FJD
, FKP
, GEL
, GGP
, GHS
, GIP
, GMD
, GNF
, GTQ
, GYD
, HKD
, HNL
, HRK
, HTG
, HUF
, IDR
, ILS
, IMP
, INR
, IQD
, IRR
, ISK
, JEP
, JMD
, JOD
, JPY
, KES
, KGS
, KHR
, KMF
, KPW
, KRW
, KWD
, KYD
, KZT
, LAK
, LBP
, LKR
, LRD
, LSL
, LTL
, LVL
, LYD
, MAD
, MDL
, MGA
, MKD
, MMK
, MNT
, MOP
, MRO
, MRU
, MUR
, MVR
, MWK
, MXN
, MYR
, MZN
, NAD
, NGN
, NIO
, NOK
, NPR
, NZD
, OMR
, PAB
, PEN
, PGK
, PHP
, PKR
, PLN
, PYG
, QAR
, RON
, RSD
, RUB
, RWF
, SAR
, SBD
, SCR
, SDG
, SEK
, SGD
, SHP
, SLL
, SOS
, SRD
, STD
, SVC
, SYP
, SZL
, THB
, TJS
, TMT
, TND
, TOP
, TRY
, TTD
, TWD
, TZS
, UAH
, UGX
, UYU
, UZS
, VEF
, VND
, VUV
, WST
, XAF
, XCD
, XDR
, XOF
, XPF
, YER
, ZAR
, ZMK
, ZMW
, ZWL
"EUR"
Response
Returns the created ledger entry
ID of the ledger entry
1
Label that describes the ledger entry
"Payment for Services"
Date of the ledger entry (ISO 8601)
"2023-08-30"
The journal ID where the ledger entry was created
123
Attachment's filename
"filename.pdf"
Ledger attachment ID
42
Array of ledger entry lines