Skip to content
Deposit

Manual Upload Bank Bill (General Template)

Manually import a bank statement file for a Longbridge receiving bank account using the generic template, for later reconciliation and tagging.

Request parameters

  • Required: lb_bank_account_id (LB bank account), file (file key), ext (file extension)
  • See the field definitions for each field's format, allowed values, and business meaning.

Business notes

Imported statements enter the reconciliation flow; make sure the file matches the target bank account.

Result

On success the operation completes; refer to the 200 response for the resulting state and data.

POSThttps://b-api.lbkrs.com/atm/bills/upload

Authorization

AuthorizationstringheaderRequired

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

Permission

accounting.accounting_deposit

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

Request body application/json

lb_bank_account_idnumberrequired

Bank Account ID. Bank Account ID associated with this request.

filestringrequired

File S3 Key. Object-storage key returned after the file is uploaded; identifies the file to process. This field is required.

extstringrequired

File Extension. E.g. csv/xls/xlsx.

Responses

HTTP 200The request was processed successfully. The response data does not contain additional business fields.
Standard response envelopecodemessagedata
dataobjectdata structure

No nested fields

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