https://b-api.longbridge.xyz/book/createAccountDetailsV2Authorization
Send the Broker ACCESS_TOKEN as Authorization: Bearer <token>.
Request body application/json
Book Source. Journal-entry data source, a dropdown selection; values come from the pg_book_source dynamic enumeration and are not fixed.
Booking Type ID. Bookkeeping business type, a dropdown selection (cascading with the data source); values come from the pg_book_types_pickid_v2 dynamic enumeration and are not fixed.
Associated Account ID. The associated account AAID (not applicable in some scenarios; may be omitted).
Transaction No. Transaction serial number.
Description. Entry name / description.
Account Date. Bookkeeping time, format YYYY-MM-DD 00:00:00.
Ledger Date. Accounting date, format YYYY-MM-DD HH:mm:ss.
Object Code. Target currency, a dropdown selection; values come from the global_currency_filter_by_account_channel dynamic enumeration and are not fixed.
Debit First-level Subject Code. The debit first-level account, a dropdown selection.
Debit Second-level Subject Code. The debit second-level account, cascading from the first-level account.
Debit Third-level Subject Code. The debit detail account, cascading from the second-level account.
Credit First-level Subject Code. The credit first-level account, a dropdown selection.
Credit Second-level Subject Code. The credit second-level account, cascading from the first-level account.
Credit Third-level Subject Code. The credit detail account, cascading from the second-level account.
Amount. Amount (string format).
Remark. Remark, up to 100 characters.
Debit Subject Full Name. The debit account name, populated automatically with the debit detail account.
Credit Subject Full Name. The credit account name, populated automatically with the credit detail account.
Object Type. Object type.
Audit Frontend Resource Snapshot. A data snapshot for auditing (the original-record snapshot in a copy scenario, an empty object for a pure create), used for backend audit comparison; not a user-entered field.
Responses
HTTP 200No confirmable field definitions are available for the response yet.codemessagedatadataobjectdata structureNo nested fields