Store Ledger

(ms.store_ledger)

Store ledger lists the transactions of your store.



Fields

Value Description
currency   
Type: string
Required
custom_conversion_rate   
Type: integer
conversion_rate   
Type: number
Required
effective_date   
Type: datetime
Required
date   
Type: datetime
Required
Date at which the transaction occurred.
posting_type   
Type: string
Required
Defines the type of transaction: credit or debit.
type   
Type: string
Required
Defines type of payment. Example: 'product_purchase'
product   
Type: string
Required
mode   
Type: string
Required
bank_name   
Type: string
Required
reference_no   
Type: string
Required
cheque_no   
Type: string
Required
deductor_tan   
Type: string
Required
tds_section   
Type: string
Required
total_amount   
Type: number
Required
percentage   
Type: number
Required
payment_gateway   
Type: string
Required
online_tnx_id   
Type: string
Required
amount   
Type: number
Required
Amount credited or debited.
balance   
Type: number
description   
Type: string
Required
Description of the transaction.
details   
Type: array
Required
order_id   
Type: string
tnx_id   
Type: string

Commands (Endpoints)

POST /api/1/entity/ms.store_ledger   
Creates a new store ledger
DEL /api/1/entity/ms.store_ledger/{resource_id}   
Deletes a store ledger
PUT /api/1/entity/ms.store_ledger/{resource_id}   
Updates an existing store ledger
GET /api/1/entity/ms.store_ledger/{resource_id}   
Retrieves a single store ledger
GET /api/1/entity/ms.store_ledger   
Retrieves a list of store ledger