Invoices

Upload Invoice

This API endpoint allows you to upload a PDF document (e.g. an invoice or bill). In response, it returns a unique invoiceId that serves as a reference to the uploaded document. You can then include this invoiceId in the root level of the payload when creating a Payin or Payout order to associate the uploaded invoice with that transaction.

post/v3/invoices/create

Request

Headers

MIDstring required
Example:SABCDEF_SCT8YW_NA

Merchant or sub-merchant MID

Request body multipart/form-data

invoicestring binary required

Invoice file (PDF, max 4MB)

direction'deposit' | 'withdraw' required

Transaction direction

userIdstring required

User ID (must start with UX-)

invoiceType'invoice' | 'receipt' | 'contract' | 'commercial_document'

Type of invoice document

Example request

{
  "direction": "deposit",
  "userId": "UX-12345",
  "invoiceType": "invoice"
}

Response

Invoice uploaded successfully

statusstring

Changes

No recorded changes to this operation across all 2 revisions of this API.