billing
GET /v1/accounting/xero/invoices
Which of this organization's invoices are in its Xero.
Uthibitishaji
Tuma ufunguo wa API kama tokeni ya kubeba. Ufunguo lazima uwe na ruhusa ya billing.view; ufunguo usio nayo unakataliwa kwa 403, si 404.
Endpoint hii haichukui kitambulisho cha shirika. Ufunguo wako tayari unalitambua shirika linalohusika, na jibu limewekewa kikomo kwa shirika hilo pekee.
Jaribu
Badilisha chochote kilicho ndani ya mabano ya pembe na maadili yako mwenyewe, na kishikiliaji cha ufunguo na ufunguo kutoka kwa dashibodi yako.
curl -X GET https://api.zinndigital.com/v1/accounting/xero/invoices \
-H "Authorization: Bearer zdk_live_…"Umeingia kwenye akaunti? Dashibodi yako ya kiweko cha API inajaza kitambulisho chako halisi cha shirika na ufunguo wako mwenyewe, na kuendesha ombi dhidi ya API ya moja kwa moja ili uweze kuona jibu halisi. Fungua sehemu hii ya mwisho (endpoint) kwenye konsole ya API
Maelezo
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`.
Majibu
| Jina | Aina | Inayohitajika | Kilicho hiki |
|---|---|---|---|
items | XeroInvoiceLink[] | Ndiyo | — |
total | integer | Ndiyo | The 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… |
Hitilafu ambazo mwisho huu unaweza kurudisha
401 · 403 · 429