Skip to main content

Transactions

GET 

/api/accounting/transactions

Transactions

Request

Query Parameters

    contact_id integer
    Example: 106
    account_id integer
    Example: 1
    type TransactionTypeEnum

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

Header Parameters

    X-Company-Slug stringrequired

Responses

Successful response

Schema

    meta

    object

    required

    total numberrequired
    per_page numberrequired
    current_page numberrequired
    last_page numberrequired
    first_page numberrequired
    first_page_url stringrequired
    last_page_url stringrequired
    next_page_url stringnullablerequired
    previous_page_url stringnullablerequired

    data

    get_transaction_single[]

    required

  • Array [

  • 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...