agency-invoicing

GET /v1/agency-invoicing/clients/{clientId}

One client, with their whole invoice history.

Të gjitha pikat e skajshme agency-invoicing

Autentifikimi

Drgoni një çelës API si një token mbajtës. Çelësi duhet të ketë lejen agency.invoicing.view; një çelës pa të refuzohet me 403, jo 404.

Ku shkon id i organizatës suaj

Ky endpoint pranon org_id si parametër kërkimi. Lëreni bosh dhe thirrja do të mbulojë të gjithë nëndrurin tuaj të qiramarrjes; dërgojeni atë për ta ngushtuar thirrjen në një organizatë të vetme.

ID-ja e organizatës suaj ndodhet në ekranin e çelësave API në panelin tuaj të kontrollit, pranë vetë çelësit. Është i njëjti ID në çdo thirrje që bëni.

Provoje

Zëvendësoni çdo gjë brenda kllapave këndore me vlerat tuaja dhe vendbanuesin e çelësit me një çelës nga paneli juaj.

curl -X GET https://api.zinndigital.com/v1/agency-invoicing/clients/{clientId} \
  -H "Authorization: Bearer zdk_live_…"

Jeni kyçur? Konsola e API-së në panelin tuaj plotëson ID-në tuaj reale të organizatës dhe çelësin tuaj, dhe ekzekuton kërkesën kundrejt API-së live, kështu që ju mund të shihni përgjigjen aktuale. Hapni këtë pikë fundore në konsolën e API-së

Detajet

⭐ Every invoice you have raised against them, what they still owe and what they have been billed in total — the "all client history" screen in one request rather than a filtered list. Requires `agency.invoicing.view`.

Parametrat

EmriLlojiKërkohetÇfarë është kjo
clientId (path)UuidPo
org_id (query)UuidJoWhich of your organizations is invoicing. Required only when you belong to more than one — otherwise it is inferred from your DIRECT membership, never from the subtree-expanded…

Përgjigja

EmriLlojiKërkohetÇfarë është kjo
idUuidPoUUIDv7 identifier — sortable by creation time (docs/02 §8).
namestringPo
contact_namestringJo
emailstringJo
phonestringJo
addressstringJo
tax_number_labelstringJo
tax_numberstringJo
currencystringPo
localestringJoWhich language this client's invoices and payment page render in. An agency in Berlin invoicing a French client sends a French invoice.
notesstringJo
archivedbooleanJo
created_atstringJo
invoicesAgencyInvoice[]Jo
outstanding_minorintegerJoWhat this client still owes, in minor units.
invoiced_total_minorintegerJoEverything ever billed to them, void invoices excluded.

Gabimet që ky pikëndalim mund të kthejë

401 · 403 · 404 · 429