Create a receipt
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Headers
x-monite-version
x-monite-entity-id
The ID of the entity that owns the requested resource.
Request
This endpoint expects an object.
base64_encoded_file
Base64-encoded contents of the original receipt file.
currency
Currency code used in the receipt.
description
Short transaction description.
document_id
Unique receipt number assigned by the issuer.
issued_at
Receipt issued date and time.
merchant_location
Location of the merchant.
merchant_name
Name of the merchant.
partner_metadata
Metadata for partner needs
total_amount
Total amount for the receipt in minor units (e.g. cents).
transaction_id
Transaction ID.
Response
Successful Response
id
Unique receipt ID.
created_at
Creation timestamp.
updated_at
Update timestamp.
origin
Specifies how this receipt was created in Monite.
Allowed values:
created_by_entity_user_id
Entity user who created.
currency
Currency code.
currency_exchange
Currency exchange details.
description
Short transaction description.
document_id
Receipt number.
file_id
The id of the receipt file stored in the file saver.
file_url
The URL of the receipt file stored in the file saver.
issued_at
Date when the receipt was issued.
merchant_location
Merchant location.
merchant_name
Merchant name.
ocr_request_id
OCR request id.
ocr_status
OCR status.
partner_metadata
Partner metadata.
sender
The email address from which the invoice was sent to the entity.
source_of_data
Source of data.
Allowed values:
total_amount
Total amount in minor units.
transaction_id
Transaction ID.
Errors
400
Post Receipts Request Bad Request Error
401
Post Receipts Request Unauthorized Error
403
Post Receipts Request Forbidden Error
422
Post Receipts Request Unprocessable Entity Error
429
Post Receipts Request Too Many Requests Error