Skip to main content

Incoming invoices (AP)

Search documents

Retrieve incoming and outgoing invoices with filters.

PropertyValue
Endpoint/invoice/search-documents
MethodPOST
AuthorizationBearer {token}

Request body

{
"companyId": "uuid",
"documentType": "INCOMING",
"status": "COMPLETED",
"startDate": "2025-01-01",
"endDate": "2025-04-30",
"type": "XRECHNUNG",
"page": 0,
"size": 20
}
FieldTypeRequiredDescription
companyIdUUIDYesCompany ID
documentTypeStringNoINCOMING or OUTGOING
statusStringNoPENDING, PROCESSING, COMPLETED, FAILED
startDateDateNoFilter from
endDateDateNoFilter to
typeStringNoInvoice type filter
pageIntegerNoPage (0-based)
sizeIntegerNoPage size (max 200)

Get document content

PropertyValue
Endpoint/invoice/get-document/:documentId/:documentTypes
MethodGET
AuthorizationBearer {token}

Path parameters

ParameterDescription
documentIdDocument UUID
documentTypesComma-separated: XML, PDF, HTML (e.g. XML,PDF)

Example

GET /invoice/get-document/550e8400-e29b-41d4-a716-446655440000/XML,PDF