Upload an invoice

Request a presigned S3 URL to upload an invoice file. The client must upload the file to the returned upload_url within 10 minutes. After the file is uploaded, Brinta processes it asynchronously. Poll GET /documents/invoices/{document_id} to track the processing status.

Body Params
string
required

MIME type of the file to upload. Use application/pdf for PDF files.

string
required

ID of the invoice in the client's system.

string
required

ID of the document in the client's system.

string

Optional. Brinta ID of the company that owns this document.

string

Optional. External ID of the company that owns this document in the client's system.

string
enum
required

Action to perform on the uploaded document. Possible value: extract.

Allowed:
string
enum
required

Direction of the document. Possible value: inbound.

Allowed:
Response

Language
Credentials
OAuth2
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json