Skip to content
einvoicing.dev

Problems·HTTP 413

payload-too-large

The request body is too large.

What it means

Documents are limited to 5 MiB.

What to do

Send embedded attachments by reference rather than inline, or split the invoice.

Example

Sent as application/problem+json (RFC 9457). Branch on type, which is stable. Never branch on title or detail, which are prose and may change.

Exampleapplication/problem+json
{  "type": "https://www.einvoicing.dev/problems/payload-too-large",  "title": "The request body is too large.",  "status": 413,  "detail": ""}

Returned by

All problem types

Every error the API can return, with what to do about each.

API reference

Every operation, its parameters and the errors it can answer with.