Inbox Files


Attributes

Attribute Type Description
Read-only attribute
id Integer Unique identifier in Fakturoid
filename String File name (with extension)
Read-only attribute
bytesize Integer File size in bytes
send_to_ocr Boolean The file will be sent to OCR
Read-only attribute
sent_to_ocr_at DateTime The date and time the file was sent to OCR
Read-only attribute
ocr_status String OCR file processing status
Values: created, processing, processing_failed, processing_rejected,processed
Note: null value is returned when the file is not sent to OCR
Read-only attribute
ocr_completed_at DateTime The date and time the OCR file was completed
Read-only attribute
download_url String URL to download the file
Read-only attribute
created_at DateTime The date and time of file creation
Read-only attribute
updated_at DateTime The date and time of last file update
  • Required attribute
    Required attribute (must always be present).
  • Read-only attribute
    Read-only attribute (cannot be changed).
  • Write-only attribute
    Write-only attribute (will not be returned).
  • Unmarked attributes are optional and can be omitted during request.

OCR Status Table

Name Description
created OCR for this file was requested
processing OCR is processing the file
processing_failed OCR processing failed
processing_rejected OCR processing rejected
processed File was successfully processed by OCR

Inbox Files Index

Create Inbox File

  • The file is sent in the attachment attribute as a Base64 encoded string.
  • The file name can be passed in the filename attribute. If not passed, a file name of the form attachment.* is used with an extension according to the MIME type specified in the attachment attribute.
  • After the file is successfully created, you will receive a 201 Created and JSON response from the server with basic information about the file.
  • If invalid data is sent, you will receive a 422 Unprocessable Content and JSON response from the server listing the errors in the data sent.

Send Inbox File to OCR

Download Inbox File

Delete Inbox File