agency-invoicing

GET /v1/agency-invoicing/profile

Your agency's invoicing identity — what an invoice says it is FROM.

כל נקודות הקצה מסוג agency-invoicing

אימות

שלחו מפתח API כאסימון נושא (bearer token). על המפתח לכלול את הרשאה agency.invoicing.view; מפתח שאינו כולל אותה יידחה בסטטוס 403, ולא 404.

המקום שבו מזהה הארגון שלך נכנס

נקודת קצה זו מקבלת את org_id כפרמטר שאילתת חיפוש. השאר אותו ריק והקריאה תכסה את כל תת-עץ הדיירות שלך; שלח אותו כדי לצמצם את הקריאה לארגון אחד.

מזהה הארגון שלך נמצא במסוף מפתחות ה-API בלוח הבקרה שלך, לצד המפתח עצמו. זהו אותו מזהה בכל קריאה שאתה מבצע.

נסה זאת

החלף כל דבר בסוגריים זוויתיים בערכים משלך, ואת מציין מיקום המפתח במפתח מלוח הבקרה שלך.

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

מחובר? קונסולת ה-API בלוח הבקרה שלך מזינה את מזהה הארגון האמיתי שלך ואת המפתח שלך, ומריצה את הבקשה מול ה-API הפיזי כך שתוכל לראות את התגובה בפועל. פתח נקודת קצה זו במסוף ה-API

פרטים

Your registered name, address, tax number, logo, brand colour, defaults and your OWN invoice number series. ⛔ Separate from your panel branding: an invoice needs a legal entity, and you may bill under a different one from the one on your dashboard. Requires `agency.invoicing.view`.

פרמטרים

שםסוגנדרשמה זה
org_id (query)Uuidלא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…

תשובה

שםסוגנדרשמה זה
business_namestringלא
addressstringלאThe registered address, one line per newline. Free-form because address shape is a property of a country, not of our schema.
emailstringלא
phonestringלא
websitestringלא
tax_number_labelstringלא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_numberstringלא
payment_instructionsstringלא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_sha256stringלא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_colourstringלא
default_currencystringכן
default_payment_terms_daysintegerלא
default_footerstringלא
default_notesstringלא
number_prefixstringכן
number_paddingintegerלא
next_numberintegerכןThe next sequence number. ⛔ Read-only. Rewinding it would mint a duplicate number for a document already in a client's hands.
next_number_previewstringלאWhat the next invoice will be called, e.g. `INV-0042`.

שגיאות שנקודה קצה זו עשויה להחזיר

401 · 403 · 404 · 429