https://b-api.lbkrs.com/billing/billing_itemAuthorization
Send the Broker ACCESS_TOKEN as Authorization: Bearer <token>.
Permission
The Broker ACCESS_TOKEN must be granted the permission above, or the call will be rejected.
Request body application/json
Value from the billing_business_type_all reference data. It determines dependent
options such as billing method and billing party.
Call GET /v1/datasets/refs/billing_business_type_all to retrieve the current data dictionary, and use the returned entry's key as this field's value.
Load options from the names list returned by
GET /billing/billing_item_name?biz_type=<biz_type> for the selected biz_type.
Deprecated: console form structure, ignored by the backend; send the top-level fields instead.
Structured object in the form { basis_type, basis }. See x-enum-details for the
basis_type values (market, currency, or instrument). For basis, use
global_market reference data for markets, tenant_currencies_by_channel reference
data for currencies, or free text for instruments.
Allowed values: 1 Market, 2 Currency, 3 Instrument (for basis_type)
Child attributes
Basis type; see this object's description for values (1 Market, 2 Currency, 3 Instrument).
1- Market
2- Currency
3- Instrument
Concrete basis value (market, currency, or instrument).
Billing basis type. This is the field the backend reads; basis_object is only the console form structure and is ignored.
1- Market
2- Currency
3- Instrument
Billing basis value. This is the field the backend reads; basis_object is only the console form structure and is ignored. For basis_type 1 (market) use a value from the global_market dictionary, for 2 (currency) one from tenant_currencies_by_channel, and for 3 (instrument) the instrument code itself, such as ST/HK/700.
Value from the billing_item_direction reference data. The allowed values are
determined by the field rules returned by GET /billing/item_fields for the selected
biz_type.
Allowed values: 1 Matches buy orders / transfer-out / no direction, 2 Matches sell orders / transfer-in, 3 Matches all
1- Match Trade Buy/Transfer Out/No Direction
2- Match Trade Sell/Transfer In
3- Match All
Dropdown options are filtered by biz_type. The allowed values are determined by the
field rules returned by GET /billing/item_fields for that business type.
Value from the billing_metric_type reference data. The allowed values are determined
by the field rules returned by GET /billing/item_fields for the selected biz_type.
Allowed values: 1 Traded quantity (fractional shares supported), 2 Traded amount / other amount, 3 Single charge per billing granularity, 4 Option contracts, 5 Unexpected upstream return fee, 6 Billed contract quantity, 7 Order count, 8 Execution count, 9 Position market value, 10 Secondary charge based on existing scenarios, 11 Securities lending market value, 13 Traded lots (transfer), 14 Market value (transfer), 15 EMS order count
1- Transaction Quantity(Fractional support)
2- Transaction Amount/Other Amount
3- Single Billing By Corresponding granularity
4- Options Quantity
5- Upstream
6- Number Of Billing Contracts
7- Number Of Orders
8- Number Of Transactions
9- Value Of Positions
10- Calculation Based On Existing Scenarios
11- Market Value Of Securities Lending
13- Transaction Quantity Of Board Lot (Transfer Warehouse)
14- Market Value (Transfer Warehouse)
15- Number of Ems Orders
Required only when metric_type is set to secondary billing based on existing. Values come from a backend data dictionary (maintained dynamically), not a fixed enum; use the options the service actually returns.
Value from the billing_granularity reference data. The allowed values are determined
by the field rules returned by GET /billing/item_fields for the selected biz_type.
Allowed values: 1 Calculated per contract (merged), 2 Calculated per order, 3 Calculated per execution record, 4 Calculated per EMS order
1- Contract
2- Order
3- Trade Done
4- Ems Order
Show and submit this field only when the selected biz_type supports benchmark-rate
configuration. The allowed values follow GET /billing/item_fields; enter a numeric
value with up to 10 decimal places.
Deprecated: console form structure, ignored by the backend; send the top-level fields instead.
Structured object in the form { cutoff_method, cutoff_digits }. See x-enum-details
for the cutoff_method values.
Allowed values: 1 Round to nearest, 2 Round up, 3 Round down (for cutoff_method)
Child attributes
Cut-off method; see this object's description for values (1 Round to nearest, 2 Round up, 3 Round down).
1- Round
2- Round Up
3- Round Down
Number of digits kept when cutting off.
Cutoff method. This is the field the backend reads; cutoff_object is only the console form structure and is ignored.
1- Round
2- Round Up
3- Round Down
Cutoff digits. This is the field the backend reads; cutoff_object is only the console form structure and is ignored. Allowed digits follow the item_fields rules; other values fail with cutoff_digits not allow value.
Caller-provided audit context object.
Responses
HTTP 200The request was processed successfully. The response data does not contain additional business fields.codemessagedatadataobjectdata structureAccount channel
Child attributes
Basis type
Basis
Metric type
Direction
Config type
Name id
Coefficient
Divisor
Cutoff method
Cutoff digits
Fee rate type
Child attributes
HTTP 400Bad request. Check the business error code in code and the error details in message.codemessagedatadataobjectdata structureNo nested fields
HTTP 401The user is not authenticated, or the login session has expired.codemessagedatadataobjectdata structureNo nested fields
HTTP 403The current account is not authorized to use this feature. Grant the required permission to the account in User Permission.codemessagedatadataobjectdata structureNo nested fields
HTTP 408The request timed out. Check the business error code in code and the error details in message.codemessagedatadataobjectdata structureNo nested fields