البناء على 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

Customer API and Orchida Boundary

LayerUsed byResponsibility
SolaBill Client APICustomer ERP and approved client applicationsOrdinary invoice inputs, drafts, workflow, customer-visible status and evidence access.
Internal Orchida AdapterSolaBill server onlyMaps approved requests to Orchida's contracted API and preserves exact provider responses. Orchida credentials are never exposed to customers.
Orchida Regulated ServiceAppointed provider servicePINT-AE document generation, regulated validation, exchange and authority reporting, subject to contract, sandbox approval and production authorization.

مهم: an accepted SolaBill API request is not presented as final delivery. Consumers must read the separate provider, exchange, authority and receiver outcomes returned through the integration.

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

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> في كل استدعاء نقطة النهاية المحمية.شديد الأهمية
التحكم في النطاقلا تقم أبدًا بإعادة استخدام الرموز المميزة عبر حسابات العملاء أو المستأجرين.شديد الأهمية
تناوبقم بتدوير بيانات الاعتماد بشكل دوري وقم بإلغاء الرموز المميزة المخترقة على الفور.عالي

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