agency-invoicing
GET /v1/agency-invoicing/portal/{token}
The invoice, for the person paying it. Unauthenticated.
تصدیقهویت
دا پای ټکی عامه دی. دا هېڅ اعتبار او هېڅ سازمان ته اړتیا نه لري - دا هغه څه دي چې زموږ خپله د بازار موندنې پاڼه او د مصنوعي ځيرکتیا د ځواب انجنونه یې لولي.
دا پای نقطه د سازمان هېڅ آی ډي نه اخلي. ستاسو کیلي مخکې تر مخکې هغه سازمان په ګوته کوي چې پورې اړه لري، او ځواب ورته محدود دی.
هڅه وکړئ
د انګلیسي په زاوي پنسونو کې هرڅه د خپلو ارزښتونو سره بدل کړئ، او د کلي ځای لرونکی ستاسو د ډشبورډ د کلي سره.
curl -X GET https://api.zinndigital.com/v1/agency-invoicing/portal/{token}ننوتي یاست؟ ستاسو په ډشبورډ کې د API کنسول ستاسو د اصلي سازمان ID او ستاسو خپله کیلي ډکوي، او غوښتنه د ژوندی API په وړاندې پرمخ وړي ترڅو تاسو وکولی شئ اصلي ځواب وګورئ. دا پای ټکی (endpoint) د API په کنسول کې پرانیزئ
تفصیلات
⛔ **No authentication.** The payer is the agency's client and has no account here; the token in the URL is the whole authorisation and reaches exactly one invoice. A revoked, void or draft link answers `404`, the same as a wrong token — telling them apart would confirm to a stranger that a token is real.
پارامترونه
| نوم | ډول | اړین | دا څه شی دی |
|---|---|---|---|
token (path) | string | هو | The capability token from the payment link on the invoice. |
ځواب
| نوم | ډول | اړین | دا څه شی دی |
|---|---|---|---|
number | string | هو | — |
status | string | هو | — |
currency | string | هو | — |
issue_date | string | نه | — |
due_date | string | نه | — |
seller | object | نه | The issuing agency, frozen at issue. |
buyer | object | نه | — |
lines | object[] | نه | — |
tax_groups | object[] | نه | — |
subtotal | string | نه | — |
tax_total | string | نه | — |
total | string | هو | — |
amount_due | string | نه | — |
amount_due_minor | integer | هو | — |
labels | object | نه | Every label on the page, already in the client's language. ⛔ Served from the platform's translation catalogue rather than a gettext call: this engine has no `.po` files, so `get… |
direction | string<ltr, rtl> | نه | — |
notes | string | نه | — |
offline | object | نه | How to pay when the agency has connected no gateway — their own written payment instructions and contact address, frozen onto the document. ⭐ A payment page that offered nothing… |
تېروتنې چې دا پای ټکی یې بیرته راګرځولی شي
404 · 429