Skip to main content

Get Single Transfers

GET 

/api/accounting/transfers/:id

Get Single Transfers

Request

Path Parameters

    id integerrequired

Header Parameters

    X-Company-Slug stringrequired

Responses

Successful response

Schema

    id stringrequired
    created_by_id stringrequired
    income_transaction_id stringrequired
    expense_transaction_id stringrequired
    amount floatrequired
    currency CurrencyEnum (string)required

    Possible values: [EUR, USD, GBP, TRY]

    created_at date-timerequired
    updated_at date-timerequired

    income

    get_transaction_single

    required

    id string
    document_id stringnullable
    account_id string
    contact_id stringnullable
    created_by_id string
    amount numbernullable
    currency CurrencyEnum (string)

    Possible values: [EUR, USD, GBP, TRY]

    type TransactionTypeEnum (string)

    Possible values: [income, expense, order, reservation]

    reference stringnullable
    description stringnullable
    paid_at string
    created_at string
    updated_at string
    order_id stringnullable
    reservation_id stringnullable
    tips numbernullable
    discount numbernullable
    payment_method TransactionPaymentMethodEnums (string)

    Possible values: [cash, credit_card, bank_transfer, qr]

    account

    object

    id stringrequired
    created_by_id stringrequired
    name stringrequired
    number stringnullablerequired
    currency CurrencyEnum (string)required

    Possible values: [EUR, USD, GBP, TRY]

    bank_name stringnullablerequired
    bank_phone stringnullablerequired
    bank_address stringnullablerequired
    enabled booleanrequired
    created_at date-timerequired
    updated_at date-timerequired
    deleted_at date-timenullablerequired
    total integerrequired

    expense

    get_transaction_single

    required

    id string
    document_id stringnullable
    account_id string
    contact_id stringnullable
    created_by_id string
    amount numbernullable
    currency CurrencyEnum (string)

    Possible values: [EUR, USD, GBP, TRY]

    type TransactionTypeEnum (string)

    Possible values: [income, expense, order, reservation]

    reference stringnullable
    description stringnullable
    paid_at string
    created_at string
    updated_at string
    order_id stringnullable
    reservation_id stringnullable
    tips numbernullable
    discount numbernullable
    payment_method TransactionPaymentMethodEnums (string)

    Possible values: [cash, credit_card, bank_transfer, qr]

    account

    object

    id stringrequired
    created_by_id stringrequired
    name stringrequired
    number stringnullablerequired
    currency CurrencyEnum (string)required

    Possible values: [EUR, USD, GBP, TRY]

    bank_name stringnullablerequired
    bank_phone stringnullablerequired
    bank_address stringnullablerequired
    enabled booleanrequired
    created_at date-timerequired
    updated_at date-timerequired
    deleted_at date-timenullablerequired
    total integerrequired
Loading...