Skip to main content

Foreignamount

Represents the details of general ledger journal entries posted in foreign currency.

accountingRate object

Represents the conversion rate used in accounting to convert amounts from one currency to organisation currency

encodedKeystring

The encoded key of the accounting rate, auto generated, unique

Example: 8a818e7486a603c40186a603c4010005
endDatedate-time

Rate validity end date (as Organization Time)

Example: 2016-09-06T13:37:50+03:00
fromCurrencyCodestring

Organisation currency code

Example: USD
ratenumber

Value of rate to be used for accounting conversions

Example: 0.85
startDatedate-time

Rate validity start date (as Organization Time)

Example: 2016-09-06T13:37:50+03:00
toCurrencyCodestring

Foreign currency code

Example: EUR
amountnumber

The foreign currency amount of the accounting entry.

Example: 12.35
currency object

The currency model defines the monetary unit used for financial transactions and account balances, including support for both ISO-4217 fiat currencies and non-fiat alternatives.

codestring

The specific currency code identifying the currency, which can be a standard ISO-4217 fiat code or 'NON_FIAT' for other types of currency.

Possible values: [AED, AFN, ALL, AMD, ANG, AOA, ARS, AUD, AWG, AZN, BAM, BBD, BDT, BGN, BHD, BIF, BMD, BND, BOB, BOV, BRL, BSD, BTN, BWP, BYR, BYN, BZD, CAD, CDF, CHE, CHF, CHW, CLF, CLP, CNY, COP, COU, CRC, CUC, CUP, CVE, CZK, DJF, DKK, DOP, DZD, EGP, ERN, ETB, EUR, FJD, FKP, GBP, GEL, GHS, GIP, GMD, GNF, GTQ, GYD, HKD, HNL, HRK, HTG, HUF, IDR, ILS, INR, IQD, IRR, ISK, 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, MXV, 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, SLE, SOS, SRD, STD, STN, SVC, SYP, SZL, THB, TJS, TMT, TND, TOP, TRY, TTD, TWD, TZS, UAH, UGX, USD, USN, UYI, UYU, UYW, UZS, VED, VEF, VES, VND, VUV, WST, XAG, XAU, XAF, XBA, XBB, XBC, XBD, XCD, XCG, XDR, XOF, XPD, XPF, XPT, XSU, XTS, XUA, XXX, YER, ZAR, ZIG, ZWG, ZMK, ZWL, ZMW, SSP, NON_FIAT]

Example: USD
currencyCodestring

The descriptive name or identifier for a non-fiat currency (e.g., GOLD), only applicable when the code is set to 'NON_FIAT'.

Example: GOLD
Foreignamount
{
"accountingRate": {
"encodedKey": "8a818e7486a603c40186a603c4010005",
"endDate": "2016-09-06T13:37:50+03:00",
"fromCurrencyCode": "USD",
"rate": 0.85,
"startDate": "2016-09-06T13:37:50+03:00",
"toCurrencyCode": "EUR"
},
"amount": 12.35,
"currency": {
"code": "USD",
"currencyCode": "GOLD"
}
}