Skip to content

AccountingTransaction

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

One accounting transaction row (items[] of GET /transactions/merchantid/{merchantId}).

Fields mirror the spec (specs/hepsiburada/mpfinance-external.json) and the prod wire. Every field is optional and only set when the wire value has the documented JSON type — a null date (e.g. paymentDate before payment) is left unset. The untouched row is on raw.

optional amount?: number

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


optional currency?: string

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


optional dueDate?: string

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

ISO 8601 due date-time.


optional id?: string

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

Transaction id (wire id).


optional invoiceDate?: string

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

ISO 8601 invoice date-time.


optional invoiceExplanation?: string

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

Free-text invoice explanation (null on the wire for most rows → unset).


optional invoiceNumber?: string

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


optional isIncome?: boolean

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

true for income (credit to the merchant), false for an expense.


optional isInvoice?: boolean

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

true when the row is an invoice.


optional merchantId?: string

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

Merchant id the row belongs to.


optional netAmount?: AccountingAmount

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

Net amount (wire netAmount).


optional orderDate?: string

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

ISO 8601 order date-time.


optional orderItemNumber?: string

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

Order line (item) number.


optional orderNumber?: string

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


optional packageNumber?: string

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


optional paymentDate?: string

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

ISO 8601 payment date-time; unset while the wire carries null.


optional productName?: string

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

Product name of the line.


optional quantity?: number

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

Quantity on the line.


raw: Record<string, unknown>

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

Untouched raw row.


optional sku?: string

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

Hepsiburada SKU of the line.


optional status?: string

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

Transaction status.


optional taxAmount?: AccountingAmount

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

Tax part of the amount (wire taxAmount).


optional transactionAmount?: AccountingAmount

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

The row’s amount object ({ value, currencyCode }). Named transactionAmount because the legacy numeric amount field already occupies amount.


optional transactionDate?: string

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


optional transactionId?: string

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


optional transactionType?: string

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

Transaction type (wire transactionType).


optional transactionTypeCategory?: string

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

Category of the transaction type (wire transactionTypeCategory).


optional type?: string

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

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.