Generate a compliant e-invoice
Changed onAnonymous endpoint. Rate-limited per source IP. Returns 201 with a download URL.
post/api/v1/invoices
Request
- Base URLhttps://scribo.causaprima.ai
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
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
Changes
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
- warning
added the new
intercompany_business_partnerenum value to the//response property for the response status
- warning