Skip to content

Embed Factur-X XML

POST
/v1/pdf/factur-x
curl -H "X-Api-Key: $KEY" -F files=@a.pdf -F files=@factur-x.xml \
-F profile=EN16931 http://localhost:9027/v1/pdf/factur-x -o invoice.pdf

Embeds Factur-X invoice XML and marks the PDF for it.

Media typemultipart/form-data
object
files
required

The PDF/A-3 invoice, then the Factur-X XML.

Array<string>
outputFilename
string | null
profile
required

MINIMUM, BASIC_WL, BASIC, EN16931 or EXTENDED.

string

Example

EN16931

The Factur-X PDF

Media typeapplication/pdf

The file, as bytes.

string format: binary

The request is wrong

Media typeapplication/json

The JSON body of every error response.

object
error
required

A stable, machine-readable kind.

string
message
required

What went wrong, for a person.

string

Example

{
"error": "invalid_request",
"message": "unknown step 'teleport'"
}