billing

GET /v1/accounting/xero/invoices

Which of this organization's invoices are in its Xero.

Semua titik akhir billing

Autentikasi

Kirim kunci API sebagai token bearer. Kunci tersebut harus memiliki izin billing.view; kunci tanpa izin tersebut akan ditolak dengan status 403, bukan 404.

Endpoint ini tidak memerlukan id organisasi. Kunci Anda telah mengidentifikasi organisasi tempatnya berafiliasi, dan respons akan dibatasi untuk organisasi tersebut.

Coba

Ganti apa pun di dalam tanda kurung sudut dengan nilai Anda sendiri, dan placeholder kunci dengan kunci dari dasbor Anda.

curl -X GET https://api.zinndigital.com/v1/accounting/xero/invoices \
  -H "Authorization: Bearer zdk_live_…"

Sudah masuk? Konsol API di dasbor Anda akan mengisi ID organisasi asli dan kunci Anda sendiri, serta menjalankan permintaan terhadap API langsung sehingga Anda dapat melihat respons aktualnya. Buka titik akhir ini di konsol API

Detail

Every invoice the connection knows about, newest first, with its state and — where it failed or was not sent — the reason. ⭐ States other than `synced` are listed deliberately. An invoice that is simply absent from a list is indistinguishable from one the sync never saw, so a customer could not tell a deliberate skip from a bug. `total` is the true count, which may exceed the number of items returned. Requires `billing.view`.

Tanggapan

NamaJenisWajibTentang apa ini
itemsXeroInvoiceLink[]Ya
totalintegerYaThe TRUE count, which may exceed `items`. ⛔ Never `len(items)` — a response where those are equal is exactly what a complete answer looks like, so returning the page size would…

Kesalahan yang dapat dikembalikan oleh titik akhir ini

401 · 403 · 429