agency-invoicing

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

One client, with their whole invoice history.

Gbogbo àwọn agency-invoicing endpoints

Ìfàṣẹ́pọ̀

Fi bọ́ọ̀lù (bearer token) ranṣẹ gẹ́gẹ́ bí kọ́kọ́rọ́ API. Kọ́kọ́rọ́ náà gbọ́dọ̀ ní ìyọ̀ǹda agency.invoicing.view; a ó kọ̀ ọ́ silẹ pẹlu 403, kii ṣe 404, ti kọ́kọ́rọ́ náà kò bá ní i.

Ibùdó àmì ìdánimọ̀ ilé-iṣẹ́ rẹ sí

Oju-iwọle yii nlo org_id gẹgẹbi ayẹwo ibeere. Fi silẹ ni ita yoo si bo igi iyalo rẹ lapapọ; ranṣẹ si lati dín ibeere naa kù si ajọ kan.

Id àjọ rẹ wa lórí ojú-ìwákòòkò àwọn bọ́tìnnì API nínú daṣibọọdú rẹ, lẹ́gbẹ̀ẹ́ bọ́tìnnì náà gan-an. Ó jẹ́ ìd kan náà nínú gbogbo ìpè tí o bá ṣe.

Gbiyanju rẹ

Rọ́pọ̀ èyíkéyìí nínú àwọn àmì ìtọ́ka < > pẹ̀lú iye tirẹ̀, àti àmì ìdánimọ̀ bọ́tìnnì náà pẹ̀lú bọ́tìnnì kan láti inú dásibọ̀ọ̀dù rẹ.

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

Ṣé o ti wọlé? Iwọ̀n api ní nú ìgbékalẹ̀ rẹ kún id àjọ gidi rẹ ati bọtini tirẹ, o si nṣiṣẹ ibeere na lòdì si api gidi ki o le rii esi gidi na. Ṣí ojú abáná yìí sílẹ̀ nínú kọnsólù API

Àwọn kúlẹ̀kúlẹ̀

⭐ 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`.

Àwọn ìpìlẹ̀

OrúkọIruTí a nílòKini o jẹ
clientId (path)UuidBẹẹni
org_id (query)UuidBẹẹkọWhich 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…

Idahun

OrúkọIruTí a nílòKini o jẹ
idUuidBẹẹniUUIDv7 identifier — sortable by creation time (docs/02 §8).
namestringBẹẹni
contact_namestringBẹẹkọ
emailstringBẹẹkọ
phonestringBẹẹkọ
addressstringBẹẹkọ
tax_number_labelstringBẹẹkọ
tax_numberstringBẹẹkọ
currencystringBẹẹni
localestringBẹẹkọWhich language this client's invoices and payment page render in. An agency in Berlin invoicing a French client sends a French invoice.
notesstringBẹẹkọ
archivedbooleanBẹẹkọ
created_atstringBẹẹkọ
invoicesAgencyInvoice[]Bẹẹkọ
outstanding_minorintegerBẹẹkọWhat this client still owes, in minor units.
invoiced_total_minorintegerBẹẹkọEverything ever billed to them, void invoices excluded.

Awọn aṣiṣe ti ibudo ipari yii le da pada

401 · 403 · 404 · 429