Skip to content
Nawigacja

Pobierz koszt

Zakres: api:costs:read.

GET
https://api.sandbox-infakt.pl/v3/documents/costs/{uuid}.json

Autoryzacja

  • ApiKey
    opcjonalne
    API key in header
  • Token
    opcjonalne
    API key in header

Path parameters

  • uuid
    string
    wymagane
    format: uuid

Odpowiedzi

200

Sukces

JSON
  • uuid
    string
    wymagane
    format: uuid
  • number
    wymagane

    One of the following:

    • string
    • null
  • net_price
    wymagane

    One of the following:

    • Money
    • null
  • gross_price
    wymagane

    One of the following:

    • Money
    • null
  • tax_price
    wymagane

    One of the following:

    • Money
    • null
  • currency
    wymagane

    One of the following:

    • string
    • null
  • accounted_at
    wymagane

    One of the following:

    • string
    • null
  • issue_date
    wymagane

    One of the following:

    • string
    • null
  • received_date
    wymagane

    One of the following:

    • string
    • null
  • due_date
    wymagane

    One of the following:

    • string
    • null
  • seller_name
    wymagane

    One of the following:

    • string
    • null
  • seller_tax_code
    wymagane

    One of the following:

    • string
    • null
  • seller_bank_account
    wymagane

    One of the following:

    • string
    • null
  • description
    wymagane

    One of the following:

    • string
    • null
  • added_by
    string
    wymagane
  • category
    wymagane

    Nazwa kategorii kosztu.

    One of the following:

    • string
    • null
  • kind
    cost
    or
    document_scan
    or
    internal_evidence
    or
    health_fee_evidence
    or
    work_fund_evidence
    wymagane
  • notes_count
    wymagane

    One of the following:

    • integer
    • null
  • newest_note
    wymagane

    One of the following:

    • DocumentNote
      • kind
        string
        wymagane
      • content
        string
        wymagane
      • created_by
        wymagane

        One of the following:

        • string
        • null
      • author_first_name
        wymagane

        One of the following:

        • string
        • null
      • author_last_name
        wymagane

        One of the following:

        • string
        • null
      • author_avatar
        wymagane

        One of the following:

        • string
        • null
      • created_at
        string
        wymagane
    • null
  • duplicated
    boolean
    wymagane
  • created_at
    string
    wymagane

    Znacznik czasu ze strefą czasową.

  • source
    wymagane

    One of the following:

    • string
    • null
  • reconciliation_id
    wymagane

    One of the following:

    • integer
    • null
  • statuses
    array of
    object
    wymagane
    • symbol
      string
      wymagane
    • name
      string
      wymagane
    • group
      string
      wymagane
  • attachments
    opcjonalne
    array of
    object

    Tylko w odpowiedzi get.

    • file_name
      string
      wymagane
    • file_url
      string
      wymagane

      Tymczasowy link, który wyświetla plik w przeglądarce; ważny 5 minut.

    • download_url
      string
      wymagane

      Tymczasowy link do pobrania pliku; ważny 5 minut.

    • document_scan_uuid
      wymagane

      One of the following:

      • Uuid
      • null
    • kind_id
      wymagane

      One of the following:

      • integer
      • null
  • related_internal_note
    opcjonalne

    Tylko w odpowiedzi get.

    One of the following:

    • InternalNoteReference
      • number
        string
        wymagane
      • url
        string
        wymagane
    • null
  • notes
    opcjonalne
    array of
    object

    Tylko w odpowiedzi get.

    • kind
      string
      wymagane
    • content
      string
      wymagane
    • created_by
      wymagane

      One of the following:

      • string
      • null
    • author_first_name
      wymagane

      One of the following:

      • string
      • null
    • author_last_name
      wymagane

      One of the following:

      • string
      • null
    • author_avatar
      wymagane

      One of the following:

      • string
      • null
    • created_at
      string
      wymagane
  • related_exchange_differences_internal_evidences
    opcjonalne
    array of
    object

    Tylko w odpowiedzi get.

    • id
      integer
      wymagane
      format: int64
    • number
      string
      wymagane
    • uuid
      string
      wymagane
      format: uuid

401

Brak klucza API, nieprawidłowy klucz albo klucz bez wymaganego zakresu uprawnień.
JSON
  • error
    opcjonalne

    Komunikat po polsku (po angielsku dla 429). Niektóre akcje zamiast jednego tekstu zwracają listę komunikatów albo błędy walidacji według pól.

    One of the following:

    • string
    • array<string>
    • object
  • errors
    opcjonalne

    Błędy walidacji według nazw pól API; na niektórych endpointach zwykły komunikat.

    One of the following:

    • object
    • string
  • limit
    opcjonalne
    string

    Kod limitu planu, np. limit_exceeded, plan_upgrade_needed, cant_add_client.

  • type
    opcjonalne
    redirect
    or
    email_not_confirmed
  • url
    opcjonalne
    string
  • action_url
    opcjonalne
    string

402

API niedostępne w obecnym planie (limit: plan_upgrade_needed) albo osiągnięty limit dokumentów.
JSON
  • error
    opcjonalne

    Komunikat po polsku (po angielsku dla 429). Niektóre akcje zamiast jednego tekstu zwracają listę komunikatów albo błędy walidacji według pól.

    One of the following:

    • string
    • array<string>
    • object
  • errors
    opcjonalne

    Błędy walidacji według nazw pól API; na niektórych endpointach zwykły komunikat.

    One of the following:

    • object
    • string
  • limit
    opcjonalne
    string

    Kod limitu planu, np. limit_exceeded, plan_upgrade_needed, cant_add_client.

  • type
    opcjonalne
    redirect
    or
    email_not_confirmed
  • url
    opcjonalne
    string
  • action_url
    opcjonalne
    string

404

Nie znaleziono zasobu.
JSON
  • error
    opcjonalne

    Komunikat po polsku (po angielsku dla 429). Niektóre akcje zamiast jednego tekstu zwracają listę komunikatów albo błędy walidacji według pól.

    One of the following:

    • string
    • array<string>
    • object
  • errors
    opcjonalne

    Błędy walidacji według nazw pól API; na niektórych endpointach zwykły komunikat.

    One of the following:

    • object
    • string
  • limit
    opcjonalne
    string

    Kod limitu planu, np. limit_exceeded, plan_upgrade_needed, cant_add_client.

  • type
    opcjonalne
    redirect
    or
    email_not_confirmed
  • url
    opcjonalne
    string
  • action_url
    opcjonalne
    string

406

Ścieżka nie kończy się na .json.
JSON
  • error
    opcjonalne

    Komunikat po polsku (po angielsku dla 429). Niektóre akcje zamiast jednego tekstu zwracają listę komunikatów albo błędy walidacji według pól.

    One of the following:

    • string
    • array<string>
    • object
  • errors
    opcjonalne

    Błędy walidacji według nazw pól API; na niektórych endpointach zwykły komunikat.

    One of the following:

    • object
    • string
  • limit
    opcjonalne
    string

    Kod limitu planu, np. limit_exceeded, plan_upgrade_needed, cant_add_client.

  • type
    opcjonalne
    redirect
    or
    email_not_confirmed
  • url
    opcjonalne
    string
  • action_url
    opcjonalne
    string

423

Niepotwierdzony adres e-mail albo wymagana weryfikacja tożsamości.
JSON
  • error
    opcjonalne

    Komunikat po polsku (po angielsku dla 429). Niektóre akcje zamiast jednego tekstu zwracają listę komunikatów albo błędy walidacji według pól.

    One of the following:

    • string
    • array<string>
    • object
  • errors
    opcjonalne

    Błędy walidacji według nazw pól API; na niektórych endpointach zwykły komunikat.

    One of the following:

    • object
    • string
  • limit
    opcjonalne
    string

    Kod limitu planu, np. limit_exceeded, plan_upgrade_needed, cant_add_client.

  • type
    opcjonalne
    redirect
    or
    email_not_confirmed
  • url
    opcjonalne
    string
  • action_url
    opcjonalne
    string

429

Przekroczony limit zapytań. Komunikat jest po angielsku, np. API rate limit exceeded. Try again in 60 seconds.
JSON
  • error
    opcjonalne

    Komunikat po polsku (po angielsku dla 429). Niektóre akcje zamiast jednego tekstu zwracają listę komunikatów albo błędy walidacji według pól.

    One of the following:

    • string
    • array<string>
    • object
  • errors
    opcjonalne

    Błędy walidacji według nazw pól API; na niektórych endpointach zwykły komunikat.

    One of the following:

    • object
    • string
  • limit
    opcjonalne
    string

    Kod limitu planu, np. limit_exceeded, plan_upgrade_needed, cant_add_client.

  • type
    opcjonalne
    redirect
    or
    email_not_confirmed
  • url
    opcjonalne
    string
  • action_url
    opcjonalne
    string

Type to search…

↑↓ wybór↵ otwórzEsc zamyka