Bank Statement Transactions

Create bank statement transaction

Changed on

Endpoint for creating a new bank statement transaction.

post/bank-accounts/{bank_account_id}/statement-transactions/

Request

  • Base URL
    https://api.wafeq.com/v1
  • URL
    https://api.wafeq.com/v1/bank-accounts/{bank_account_id}/statement-transactions/
  • Auth
    API key in header Authorization

Path parameters

bank_account_idstring required

The public ID of the bank account containing the statement transactions.

Query parameters

expandstring

Comma-separated related objects to return in full instead of as IDs. Accepted values: account, account.parent, bank_account, bank_account.account, project, cost_center. Nested relations are joined with a dot.

Headers

X-Wafeq-Idempotency-Keystring

Client-provided UUID to uniquely identify a request

Request body

amountnumber double required

The statement amount in the transaction.

bank_accountstring required

The bank account associated with this transaction.

bank_referencestring

The reference the bank assigned to the transaction.

calculated_balancenumber double required

The balance computed from all statements, including this transaction.

cost_centerstring nullable

The cost center associated with this transaction, if any.

created_tsstring date-time required

The timestamp in UTC when the transaction was created

datestring date required

The date of the transaction on the bank statement.

descriptionstring

The description of the transaction on the bank statement.

idstring required

The unique identifier of the bank statement transaction.

is_postedboolean required

Indicates whether the transaction has been posted to the ledger.

legacy_idstring required

[Deprecated] The legacy identifier of the bank statement transaction.

modified_tsstring date-time required

The timestamp in UTC when the transaction was last modified

projectstring nullable

The project associated with this transaction, if any.

referencestring

The reference of the transaction.

statement_balancenumber double required

The balance reported by the bank after this transaction.

Response

amountnumber double required

The statement amount in the transaction.

bank_accountstring required

The bank account associated with this transaction.

bank_referencestring

The reference the bank assigned to the transaction.

calculated_balancenumber double required

The balance computed from all statements, including this transaction.

cost_centerstring nullable

The cost center associated with this transaction, if any.

created_tsstring date-time required

The timestamp in UTC when the transaction was created

datestring date required

The date of the transaction on the bank statement.

descriptionstring

The description of the transaction on the bank statement.

idstring required

The unique identifier of the bank statement transaction.

is_postedboolean required

Indicates whether the transaction has been posted to the ledger.

legacy_idstring required

[Deprecated] The legacy identifier of the bank statement transaction.

modified_tsstring date-time required

The timestamp in UTC when the transaction was last modified

projectstring nullable

The project associated with this transaction, if any.

referencestring

The reference of the transaction.

statement_balancenumber double required

The balance reported by the bank after this transaction.

Changes