البناء على SolaBill API

Integrate ordinary invoice inputs, internal credit-note drafts, exact Orchida outcomes, incoming evidence, and ERP workflow through tenant-scoped client APIs. Regulated production access is not yet available.

واجهة برمجة تطبيقات REST v1 مصادقة الرمز المميز إعادات محاولة إشعارات الويب Controlled Sandbox

خريطة التوثيق

تدفق التكامل

خطوةفعلالإخراج
1تسجيل الدخول عبر POST /api/v1/client/auth/loginرمز وصول Bearer
2Create an invoice or credit-note draftInternal customer-scoped draft; no regulated delivery claimed
3Explicitly submit an invoice through an approved scoped Orchida sandbox connectionExact provider result retained; credit-note submission remains blocked
4Read separate provider-validation, Orchida invoice, authority and receiver statesCurrent Orchida-returned evidence without an invented exchange-success claim
5Handle SolaBill webhooks and reconcile ambiguous outcomes before retryAuditable application workflow without blind duplicate submission

أساسيات المصادقة

Every request must include an active client token and stay within authorized tenant/client boundaries. Unauthorized or cross-tenant access attempts are denied.

منطقةقاعدةأولوية
استخدام الرمز المميزيشمل Authorization: Bearer <token> في كل استدعاء نقطة النهاية المحمية.شديد الأهمية
التحكم في النطاقلا تقم أبدًا بإعادة استخدام الرموز المميزة عبر حسابات العملاء أو المستأجرين.شديد الأهمية
تناوبقم بتدوير بيانات الاعتماد بشكل دوري وقم بإلغاء الرموز المميزة المخترقة على الفور.عالي

أفضل ممارسات التكامل