Developers

An API designed for volume.

Asynchronous, bulk, safe to retry. Test success paths and failure paths in the sandbox before buying a certificate or opening TTN access.

Getting started

Quick start in four calls.

  1. 01Submit a file

    POST /api/imports returns 202 Accepted.

  2. 02Follow the import

    GET /api/imports/{id}

  3. 03Check which invoices passed

    GET /api/imports/{id}/invoices

  4. 04Sign, then file

    POST /api/invoices/sign then POST /api/invoices/file. Each call returns a job to follow.

Submit a file
curl -X POST https://app.corporate-sign.com/api/imports \
  -H "Authorization: Bearer scs_…" \
  -H "Idempotency-Key: export-2026-10-18-001" \
  -F plugin=acme-v2 \
  -F batch=@factures.xml

# 202 Accepted: the import is queued

Production base URL: https://app.corporate-sign.com

The API in detail

Asynchronous, bulk, never processed twice.

Async model

Imports, invoices, jobs: each object has its own id. Every heavy action returns immediately with a job you can follow.

ObjectWhat it isWhere its id comes from
ImportOne file you submitted, holding one or many invoices.Returned by POST /api/imports. Follow it with GET /api/imports/{id}.
InvoiceEach document read from an import.Listed by GET /api/imports/{id}/invoices.
JobOne background run of signing or filing.Returned by POST /api/invoices/sign and POST /api/invoices/file.

Bulk

Up to 20 files per call. Up to 500 invoices per sign or file call, or a filter with no limit.

Safety

Idempotency-Key on imports. Sign and file are never applied twice. Duplicates are detected and reported with duplicate_of.

Dry run

POST /api/plugins/{code}/dry-run tests a file without importing it.

Corrections API

GET /api/versions and POST /api/versions/decide.

Files

Every generated file is downloadable one by one or as a ZIP.

Errors

One envelope, {error, message, details}, with stable codes and documented actions.

Permissions

Six scopes per key. GET /api/me tells you what each key can do right now, and why not.

Environments

One key per environment. Sandbox and production never mix.

Keys are created in the portal. A key can never be widened, only replaced.

Webhooks

HMAC-SHA256 signed, timestamped, retried. Private networks are blocked.

SFTP

Inbox and delivery, for systems that prefer files.

Tell us your ERP and your volumes. We send you a quote.

A written quote for your company, and answers to your questions, within one business day.

Four people around a table, looking at a laptop.