Bank_Transaction_Explanations table

Column Type

Id

String

Url

URI

Bank_Account_Id

String

Bank_Account

URI

Bank_Transaction_Id

String

Bank_Transaction

URI

Category_Id

String

Category

String

Paid_Invoice_Id

String

Paid_Invoice

String

Guessed_Category

String

Gross_Value

Decimal

Dated_On

String

Description

String

Is_Locked

Boolean

Transaction_Description

String

Foreign_Currency_Value

Decimal

Has_Pending_Operation

Boolean

Transfer_Value

Decimal

Is_Deletable

Boolean

Type

String

Is_Money_Paid_To_User

Boolean

Is_Money_In

Boolean

Is_Money_Out

Boolean

Marked_For_Review

Boolean

Guess_Rule_Name

String

Updated_At

Timestamp

Detail

String

Sales_Tax_Status

String

Sales_Tax_Value

Decimal

Sales_Tax_Rate

Decimal

Linked_Transfer_Account

String

Linked_Transfer_Explanation

String

From_Date

Parameter

To_Date

Parameter

Updated_Since

Parameter

Transaction_Id

String

Uploaded_At

Timestamp

Second_Sales_Tax_Status

String

Second_Sales_Tax_Value

Decimal

Second_Sales_Tax_Rate

Decimal

Paid_Bill_Id

String

Paid_Bill

String

Locked_Attributes

Array

Attachment

Object

Examples

SELECT
    *
FROM
    Bank_Transactions
WHERE
    Id = '577790804'
SELECT
    *
FROM
    Bank_Transactions
WHERE
    Bank_Account = 'https://api.freeagent.com/v2/bank_accounts/1555435'

INSERT INTO
    Bank_Transaction_Explanations (
        bank_transaction,
        bank_account,
        dated_on,
        description,
        category,
        gross_value,
        sales_tax_status,
        sales_tax_rate
    )
VALUES
    (
        'https://api.freeagent.com/v2/bank_transactions/577790779',
        'https://api.freeagent.com/v2/bank_accounts/1555435',
        '2024-11-26',
        'FEE description.',
        'https://api.freeagent.com/v2/categories/291',
        -471,
        'TAXABLE',
        20
    )

UPDATE Bank_Transaction_Explanations
SET
    Description = 'New FEE description text.'
WHERE
    Id = '532804092'
DELETE FROM Bank_Transaction_Explanations
WHERE
    Id = '532762173'