agency-invoicing
PATCH /v1/agency-invoicing/profile
Change your invoicing identity or defaults.
Xaqiijinta aqoonsiga
U dir furaha API ah calaamad dusha ah (bearer token). Furaha waa inuu wataa ruqadda agency.invoicing.manage; furaha aan wadan waxaa loo diidayaa 403, ee ma aha 404.
Meesha aqoonsiga ururkaagu galayo
Endpoint-kani wuxතික org_id oo ah cabbir su'aal ah. Ka tag oo wicitaanku wuxuu daboolayaa dhammaan geedkaaga kiraynta; soo dir si aad wicitaanka ugu koobto hal urur.
Aqoonsiga ururkaagu wuxuu ku yaallaa shaashada furayaasha API ee dashboard-kaaga, oo ku xiga furaha laftiisa. Waa isku aqoonsi wicitaan kasta oo aad sameyso.
Isku day
Ku beddel wax kasta oo ku dhex jira qeebaha xaglaha ah qiimayaashaada, sidoo kalena haystaaha furaha ku beddel fure ka dhex muuqda dashboordigaaga.
curl -X PATCH https://api.zinndigital.com/v1/agency-invoicing/profile \
-H "Authorization: Bearer zdk_live_…" \
-H "Content-Type: application/json" \
-d '{ }'Ma sign-garaysay? Qalabka API ee ku jira dashboard-kaagu wuxuu buuxiyaa aqoonsigaaga ururka ee dhabta ah iyo furahaaga gaarka ah, wuxuuna ku shaqeysiiyaa codsiga API-ga nool si aad u aragto jawaabta dhabta ah. Kani ka fur barta kontoroolka ee API
Faahfaahin
⛔ `next_number` is deliberately NOT settable. Rewinding a sequence would mint a duplicate number for a document already in a client's hands; advancing it leaves a gap a tax authority will ask about. Requires `agency.invoicing.manage`.
Cabiraha
| Magaca | Nooc | Loo baahan yahay | Maxay tahay |
|---|---|---|---|
org_id (query) | Uuid | Maya | 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… |
Codsiga jidhkiisa
| Magaca | Nooc | Loo baahan yahay | Maxay tahay |
|---|---|---|---|
business_name | string | Maya | — |
address | string | Maya | — |
email | string | Maya | — |
phone | string | Maya | — |
website | string | Maya | — |
tax_number_label | string | Maya | — |
tax_number | string | Maya | — |
payment_instructions | string | Maya | — |
logo_sha256 | string | Maya | — |
accent_colour | string | Maya | — |
default_currency | string | Maya | — |
default_payment_terms_days | integer | Maya | — |
default_footer | string | Maya | — |
default_notes | string | Maya | — |
number_prefix | string | Maya | — |
number_padding | integer | Maya | — |
Jawaab
| Magaca | Nooc | Loo baahan yahay | Maxay tahay |
|---|---|---|---|
business_name | string | Maya | — |
address | string | Maya | The registered address, one line per newline. Free-form because address shape is a property of a country, not of our schema. |
email | string | Maya | — |
phone | string | Maya | — |
website | string | Maya | — |
tax_number_label | string | Maya | What the agency calls its tax registration — "VAT number", "ABN", "GSTIN", "EIN". ⛔ Printed only when the number is set too: a label with no number is an empty row, and a number… |
tax_number | string | Maya | — |
payment_instructions | string | Maya | Bank details or a "PayPal me at …" line, printed on the document verbatim and shown on the payment page. ⭐ Never translated — translating a payment instruction is not a safe act. |
logo_sha256 | string | Maya | A digest into the content-addressed logo store, never a URL. That is what lets the PDF inline the mark with no network call at render time. |
accent_colour | string | Maya | — |
default_currency | string | Haa | — |
default_payment_terms_days | integer | Maya | — |
default_footer | string | Maya | — |
default_notes | string | Maya | — |
number_prefix | string | Haa | — |
number_padding | integer | Maya | — |
next_number | integer | Haa | The next sequence number. ⛔ Read-only. Rewinding it would mint a duplicate number for a document already in a client's hands. |
next_number_preview | string | Maya | What the next invoice will be called, e.g. `INV-0042`. |
Cilladaha ay bartaani soo celin karto
401 · 403 · 404 · 422 · 429