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.
Properties
Section titled “Properties”amount?
Section titled “amount?”
optionalamount?:number
Defined in: sdks/hepsiburada/src/types/accounting.ts:158
currency?
Section titled “currency?”
optionalcurrency?:string
Defined in: sdks/hepsiburada/src/types/accounting.ts:164
dueDate?
Section titled “dueDate?”
optionaldueDate?:string
Defined in: sdks/hepsiburada/src/types/accounting.ts:131
ISO 8601 due date-time.
optionalid?:string
Defined in: sdks/hepsiburada/src/types/accounting.ts:90
Transaction id (wire id).
invoiceDate?
Section titled “invoiceDate?”
optionalinvoiceDate?:string
Defined in: sdks/hepsiburada/src/types/accounting.ts:129
ISO 8601 invoice date-time.
invoiceExplanation?
Section titled “invoiceExplanation?”
optionalinvoiceExplanation?:string
Defined in: sdks/hepsiburada/src/types/accounting.ts:111
Free-text invoice explanation (null on the wire for most rows → unset).
invoiceNumber?
Section titled “invoiceNumber?”
optionalinvoiceNumber?:string
Defined in: sdks/hepsiburada/src/types/accounting.ts:109
isIncome?
Section titled “isIncome?”
optionalisIncome?:boolean
Defined in: sdks/hepsiburada/src/types/accounting.ts:115
true for income (credit to the merchant), false for an expense.
isInvoice?
Section titled “isInvoice?”
optionalisInvoice?:boolean
Defined in: sdks/hepsiburada/src/types/accounting.ts:113
true when the row is an invoice.
merchantId?
Section titled “merchantId?”
optionalmerchantId?:string
Defined in: sdks/hepsiburada/src/types/accounting.ts:104
Merchant id the row belongs to.
netAmount?
Section titled “netAmount?”
optionalnetAmount?:AccountingAmount
Defined in: sdks/hepsiburada/src/types/accounting.ts:125
Net amount (wire netAmount).
orderDate?
Section titled “orderDate?”
optionalorderDate?:string
Defined in: sdks/hepsiburada/src/types/accounting.ts:127
ISO 8601 order date-time.
orderItemNumber?
Section titled “orderItemNumber?”
optionalorderItemNumber?:string
Defined in: sdks/hepsiburada/src/types/accounting.ts:107
Order line (item) number.
orderNumber?
Section titled “orderNumber?”
optionalorderNumber?:string
Defined in: sdks/hepsiburada/src/types/accounting.ts:105
packageNumber?
Section titled “packageNumber?”
optionalpackageNumber?:string
Defined in: sdks/hepsiburada/src/types/accounting.ts:108
paymentDate?
Section titled “paymentDate?”
optionalpaymentDate?:string
Defined in: sdks/hepsiburada/src/types/accounting.ts:133
ISO 8601 payment date-time; unset while the wire carries null.
productName?
Section titled “productName?”
optionalproductName?:string
Defined in: sdks/hepsiburada/src/types/accounting.ts:100
Product name of the line.
quantity?
Section titled “quantity?”
optionalquantity?: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.
optionalsku?:string
Defined in: sdks/hepsiburada/src/types/accounting.ts:98
Hepsiburada SKU of the line.
status?
Section titled “status?”
optionalstatus?:string
Defined in: sdks/hepsiburada/src/types/accounting.ts:96
Transaction status.
taxAmount?
Section titled “taxAmount?”
optionaltaxAmount?:AccountingAmount
Defined in: sdks/hepsiburada/src/types/accounting.ts:123
Tax part of the amount (wire taxAmount).
transactionAmount?
Section titled “transactionAmount?”
optionaltransactionAmount?: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.
transactionDate?
Section titled “transactionDate?”
optionaltransactionDate?:string
Defined in: sdks/hepsiburada/src/types/accounting.ts:145
transactionId?
Section titled “transactionId?”
optionaltransactionId?:string
Defined in: sdks/hepsiburada/src/types/accounting.ts:138
transactionType?
Section titled “transactionType?”
optionaltransactionType?:string
Defined in: sdks/hepsiburada/src/types/accounting.ts:92
Transaction type (wire transactionType).
transactionTypeCategory?
Section titled “transactionTypeCategory?”
optionaltransactionTypeCategory?:string
Defined in: sdks/hepsiburada/src/types/accounting.ts:94
Category of the transaction type (wire transactionTypeCategory).
optionaltype?: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.