billing

GET /v1/accounting/xero/invoices

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

Tüm billing uç noktaları

Tüm geliştirici belgeleri

Kimlik Doğrulama

Bearer token olarak bir API anahtarı gönderin. Anahtar billing.view iznine sahip olmalıdır; bu izne sahip olmayan bir anahtar 404 ile değil, 403 ile reddedilir.

Bu uç nokta hiçbir organizasyon kimliği almaz. Anahtarınız zaten ait olduğu organizasyonu tanımlar ve yanıt bu organizasyonla sınırlandırılır.

Dene

Köşeli parantez içindeki her şeyi kendi değerlerinizle ve anahtar yer tutucusunu panonuzdan bir anahtarla değiştirin.

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

Oturum açtınız mı? Panonuzdaki API konsolu, gerçek organizasyon kimliğinizi ve kendi anahtarınızı otomatik olarak doldurur ve isteği canlı API üzerinde çalıştırarak gerçek yanıtı görmenizi sağlar. Bu uç noktayı API konsolunda açın

Ayrıntılar

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.

Yanıt

AdTürZorunluNe olduğu
itemsXeroInvoiceLink[]Evet
totalintegerEvetThe 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…

Bu uç noktanın dönderebileceği hatalar

401 · 403 · 429