Skip to main content

1. Overview

What is OneConnect by Shine?​

OneConnect by Shine is the API that enables Partners to automatically import invoices and accounting entries — either attached to an invoice, or as a standalone batch of accounting entries of any type — from their software into Cegid accounting production softwares (Cegid Loop, Quadra Expert, Cegid Expert, Conciliator).

As a partner, this documentation guides you through implementing these APIs in your software.


From Onboarding to Your First API Call​

  1. You contact us by filling out the form (contact.oneconnect@shine.co).
  2. Our team reaches out to discuss your integration. You provide your logo, a description, and a webhook URL (see section WebHooks); in return, we give you your credentials.
  3. Once your integration is complete, we enable it for a limited number of accounting firms.
  4. The accountant can invite their clients from their Cegid tool.
  5. The client receives an invitation email with a link to the OneConnect by Shine integration setup page
  6. The client gets an integration ID and integration secret which link your product to their organization (SIRET) in the accountant tool
  7. They enter this information in your software.
  8. You're all set!

What the API enables​

EndpointMethodContent-TypeDescription
Purchase invoicePOST /integrations/:integrationId/purchase-invoicesmultipart/form-dataUpload a purchase invoice (PDF/image). Optionally include accounting entries in the entries field.
Sales invoicePOST /integrations/:integrationId/sales-invoicesmultipart/form-dataUpload a sales invoice (PDF/image). Optionally include accounting entries in the entries field.
Accounting entriesPOST /integrations/:integrationId/entriesapplication/jsonImport a batch of accounting entries as JSON only (no file). Can represent any type of entry (purchase, sales, bank, payroll, miscellaneous operations, etc.).
Integration statusGET /integrations/:integrationId—Check whether the integration is active or revoked.
RevocationPUT /integrations/:integrationId/revoke—Revoke an integration. This allows the user to deactivate the integration from your product.

There are three import routes: two file-based invoice routes (purchase and sales), and one JSON-only entries route. You can send accounting entries in two ways: (a) attached to an invoice, via the optional entries field of an invoice route, or (b) on their own, via the entries route — for any type of entry, with no file required.