Skip to content
All Client Fee List

Delete Data Source

Delete an accounting-entry data source record. The Channel Exchange Order and Settlement Contract scenarios reuse the same endpoint with an identical parameter structure.

Request parameters

  • Required: source_id (data source type, BookkeepingSourceType enum) and tx_no (transaction number).
  • See the individual field docs for each field's format, allowed values, and meaning.

Business notes

Locates and deletes the entry data source by data source type and transaction number. This affects real accounting-entry data sources.

Risk warning

This operation deletes a real accounting-entry data source and cannot be undone. Verify the data source type and transaction number before calling.

Result

On success, the data source record is deleted; see the 200 response for the returned content.

POSThttps://b-api.lbkrs.com/book/delete_data_source

Authorization

AuthorizationstringheaderRequired

Send the Broker ACCESS_TOKEN as Authorization: Bearer <token>.

Permission

accounting.member_fee_bills_deletionaccounting.payment_flow_deletion

The Broker ACCESS_TOKEN must be granted the permission above, or the call will be rejected.

Request body application/json

source_idnumberrequired

Enum BookkeepingSourceType.

Allowed values: 1 Payment flow, 2 Bank bill, 3 Channel bill, 4 IB accrued interest, 5 IB commission cost, 6 Client fee bill, 7 CCASS bill, 8 IPO bill, 9 Other fee bill, 10 FD client fee bill, 11 Business statistics bill, 12 Channel exchange order, 13 Atomic Vaults bill, 14 Settlement contract, 15 IFAST bill, 16 OB account payment transactions, 17 OB account settlement contract

Values
1
Payment Flow
2
Bank Statement
3
Channel Statement
4
IB Accrued Interest
5
IB Commission Cost
6
Client Fee Statement
7
CCASS Statement
8
IPO Statement
9
Other Fee Statement
10
FD Client Fee Statement
11
Business Statistics Statement
12
Channel Exchange Order
13
Atomic Vaults Statement
14
Settlement Contract
15
IFAST Statement
16
OB Account Payment Transactions
17
OB Account Settlement Contract
tx_nostringrequired

Specifies Transaction No.. This field is required.

Responses

HTTP 200The request was processed successfully. The response data does not contain additional business fields.
Standard response envelopecodemessagedata
dataobjectdata structure
idstring
idsarray<object>
HTTP 400Bad request. Check the business error code in code and the error details in message.
Standard response envelopecodemessagedata
dataobjectdata structure

No nested fields

HTTP 401The user is not authenticated, or the login session has expired.
Standard response envelopecodemessagedata
dataobjectdata structure

No nested fields

HTTP 403The current account is not authorized to use this feature. Grant the required permission to the account in User Permission.
Standard response envelopecodemessagedata
dataobjectdata structure

No nested fields

HTTP 408The request timed out. Check the business error code in code and the error details in message.
Standard response envelopecodemessagedata
dataobjectdata structure

No nested fields

Whale Docs