- 20 Jun 2025
- 2 Minutes to read
- Print
- DarkLight
[PREVIEW] Send only the PDF of an invoice to be put in the system
- Updated on 20 Jun 2025
- 2 Minutes to read
- Print
- DarkLight
[PREVIEW] Send the PDF of an invoice to be scanned and processed further based on the given PDF.
Description
This endpoint allows users to upload purchase invoices as PDF documents to Bloxs. This functionality is only available to users who have activated the "Scan and Recognize" module (available at an additional cost).
The field recognition feature automatically populates the purchase invoice entry screen based on the scanned PDF. After the initial recognition, the user must review the invoice screen to verify the recognized fields, complete any missing information, and confirm the data before proceeding with further processing.
Only PDF files are supported, including multi-page documents. There is no maximum size to the pdf file.
Use Case
The user utilizes a different program for creating its purchase invoices, however uses Bloxs for further adminstrative processing. After creating the purchase invoice the user wants to have the invoice available in Bloxs. By using this endpoint the user will be able to see the pdf file in Bloxs, and have the individual data fields from the invoice available as structured data in Bloxs.
Request fields
The request contains the following fields:
Field | Description |
---|---|
subject | The subject field of the purchase invoice. In many cases, the invoice number is used as the subject (text). The most logical approach is to combine the invoice number with a brief description. The description field is the field used when searching for the purchase invoice in Bloxs especially when no invoice number can be extracted directly from the PDF. |
file.fileName | This property defines the name of the file which is added. |
file.mimeType | The format of the file in accordance with the MIME standards. The only MIME type which is accepted is PDF (application/pdf). |
file.base64 | The base64 string of the document. |
relatedIdentifiers | Used to specify references of service tickets, contracts, purchase orders and/or supplier code. These values are used in Bloxs to retrieve data and automatically populate fields in the purchase order screen, facilitating the financial process. In particular for object details and general ledger accounts. A maximum of 10 entries can be entered, each with a maximum length of 50 characters. Multiple references can be entered in 1 request. In this case they need to be entered as an array. It is not necessary to specify to which type of entity the number is linked to (for example a service ticket or a contract). |
Please enter a valid token
null
The PDF file data has validation issues