Skip to main content
Quotes · Deposit type 386 · Balance type 380

From signed quote to balance invoice — without switching tools.

DEV-YYYY-NNNN numbering. Canvas signature. 90-day public link. Deposit (type 386) and balance (type 380 + BG-22) conversion in one API call.

$api = ScellApiClient::withApiKey('sk_live_...');

$quote = $api->quotes()->builder()
    ->buyer('12345678901234', 'Acme SAS', new Address('1 rue Test', '75001', 'Paris'))
    ->line('Prestation conseil', 1, 2500.00, 20.0)
    ->line('Hébergement', 3, 150.00, 20.0)
    ->validUntil(new DateTime('+30 days'))
    ->signatureRequired()
    ->create();

echo 'Quote ' . $quote->quote_number . ' created';

The problem

  • Fragmented cycle across 4 toolsEmail, hand-signed PDF, separate billing tool, tracking spreadsheet. No link between them.
  • Deposits calculated manuallyNo automatic link quote → deposit → balance. Each conversion is a source of accounting error.
  • None of these tools produce Factur-XInvoices from the quote cycle are not EN16931-compliant or PPF/PDP-compatible.

Our solution

  • Complete cycle in 1 APIDEV-YYYY-NNNN, email send, 90-day public link, canvas signature, Factur-X deposit/balance conversion.
  • Automatic convertToDeposit / convertToBalanceVAT due (type 386) and BG-22 deduction (type 380) calculated without manual intervention.
  • Continuous ISCA chainEvery invoice issued from a quote enters the SHA-256 fiscal ledger. End-to-end DGFiP traceability.

6 features, 1 complete cycle

DEV-YYYY-NNNN numbering

Compliant fiscal sequence, isolated per (tenant, sub_tenant). Zero collision between clients on the same platform. PG trigger quote_sequences.

0 numbering collisions

Canvas signature + public link

Client signs from their browser, no account needed. Signed token, 90-day TTL. Signature cycle under 24h.

Signature cycle < 24h

Integrated email delivery

No external SMTP required for testing. send_email: true in the payload. Standard deliverability included.

No email config required

Deposit type 386 conversion

VAT immediately due (CGI art. 289). Percent or amount parameter. Cash collected without waiting for the balance invoice.

Immediate VAT due

Balance type 380 + BG-22 conversion

Automatic deduction of already-invoiced deposits via auto-calculated parent_invoice_ids. 0 accounting errors, 0 corrective credit notes.

Auto balance calculation

Append-only audit log

Traceability of every action (creation, send, signature, refusal) in quote_audit_logs. PG trigger SECURITY DEFINER. DGFiP-valid timestamped proof.

DGFiP traceability
Hébergé en FranceScaleway Paris
RGPDDonnées FR
Factur-X conformeDGFiP EN16931
eIDAS SESRègl. 910/2014
ISCA SHA-256Ledger immuable
TLS 1.3Chiffrement bout-à-bout

Frequently asked questions

Ready to automate your quote cycle?

Free sandbox. No credit card required. First quote in 15 minutes.

Start for freeView SDKs

Your cookie preferences

We use cookies to improve your experience. Essential cookies are always active. Cookie policy.