latestOpenAPI 3.1.02026-08-0881117.1 KB
73eb15ab4d15
Generate a compliant e-invoice
Anonymous endpoint. Rate-limited per source IP. Returns 201 with a download URL.
post/api/v1/invoices
Headers
Idempotency-Keystring
Client-supplied key. Replaying the same key with identical inputs returns the cached invoice; replaying with different inputs returns 422 idempotency_key_mismatch.
X-Email-Verification-Tokenstring
Email-ownership token from POST /api/v1/scribo/email-verifications/{id}/redeem. Required for the first invoice per sender email — without it (or a scribo session cookie) an unverified sender receives 401 email_verification_required.
Request body
Response
Invoice generated and persisted