Skip to main content

Invoices

GET 

/api/accounting/invoice

Invoices

Request

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

    object[]

    required

  • Array [

  • number stringnullablerequired
    order_number stringnullablerequired
    currency CurrencyEnum (string)required

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

    status DocumentStatusEnum (string)required

    Possible values: [draft, sent, paid]

    contact_id numbernullablerequired

    Geçerli bir company_id olması gerekiyor

    contact_name stringnullablerequired
    contact_tax_number stringnullablerequired
    contact_phone numbernullablerequired
    contact_email stringnullablerequired
    contact_address stringnullablerequired
    issued_at timenullablerequired
    due_at timenullablerequired
    type DocumentTypeEnum (string)nullablerequired

    Possible values: [invoice, bill]

    Eğer invoice isteniyorsa invoice, bill isteniyorsa bill

    discount_type DiscountTypeEnum (string)nullablerequired

    Possible values: [fix, percent]

    discount stringnullablerequired
    created_by_id stringnullablerequired
    created_at timerequired
    updated_at stringrequired
    id stringrequired
    total numbernullablerequired
  • ]

Loading...