Skip to content

AccountingAmount

Defined in: sdks/hepsiburada/src/types/accounting.ts:72

A monetary amount on an accounting row, exactly as mpfinance-external sends it: a major-unit decimal (value, e.g. 149.9 lira) plus an ISO 4217 code (currencyCode, e.g. 'TRY'). Not converted to @lonca/core Money (integer minor units) — use moneyFromMajor(value, currencyCode) for that.

optional currencyCode?: string

Defined in: sdks/hepsiburada/src/types/accounting.ts:76

ISO 4217 currency code (e.g. 'TRY').


optional value?: number

Defined in: sdks/hepsiburada/src/types/accounting.ts:74

Major-unit decimal amount.

Unofficial. Lonca is an independent, community-maintained project — not affiliated with, endorsed by, or supported by Trendyol, Hepsiburada, or any other marketplace. All marketplace names and trademarks belong to their respective owners.