Fetch E-Invoice
Changed onRequest
- Base URLhttps://securelink-staging.valorpaytech.com:443
- URLhttps://securelink-staging.valorpaytech.com:443/api/v1/get-einvoice
- Authnone required
Query parameters
Merchant APP ID (Alphanumeric - Length of 32 chars and special chars $@%#)
Merchant APP KEY (Alphanumeric - Length of 32 chars and special chars $@%#)
EPI is an end point identifier, Identify the device on valor infrastructure, it's a 10 digit number starts with 2
Number of records returned per page. Default 25, maximum 1000.
Number of records to skip before the result set begins. Used with limit for pagination. Default 0.
Phone, Amount, Invoice Number, Customer Name, Product Description, Email
Set the date filter.<table> <tbody><tr> <th>Date Filter</th> <th>Options</th> </tr> <tr> <td>Recent (Used by default if date filter is not passed)</td> <td>0</td> </tr> <tr> <td>Today</td> <td>1</td> </tr> <tr> <td>MTD</td> <td>2</td> </tr> <tr> <td>Yesterday</td> <td>3</td> </tr> <tr> <td>Last Month</td> <td>4</td> </tr> <tr> <td>Current Week</td> <td>5</td> </tr> <tr> <td>Last Week</td> <td>6</td> </tr> <tr> <td>Last 90 Days</td> <td>7</td> </tr> <tr> <td>Last 90Days Behind</td> <td>8</td> </tr> <tr> <td>All</td> <td>9</td> </tr> </tbody></table>
Returns E-Invoices for one specific calendar date. Format YYYY-MM-DD. Applies only when date_filter is set to the single-date option.
Selects a single field to filter on. Must be sent together with free_select_text.
The value to match for the field chosen in free_select e.g. test@valorpaytech.com when free_select=Email. Ignored if free_select is not set.
Start date (inclusive) of a custom date range. Format YYYY-MM-DD. Required when a custom range is used, must be sent with end_date_range.
End date (inclusive) of a custom date range. Format YYYY-MM-DD. Must be on or after start_date_range.
Filters results by E-Invoice status.
Set to 0 when status is PAID or SALE(VOIDED), send an empty string for all other statuses.
Response
200
Example response
{
"status": "OK",
"message": "Success",
"number_of_records": 2,
"page_number": 1,
"total_results": 8,
"page_size": 2,
"total_pages": 4,
"data": [
{
"ID": 274426,
"UID": "BiALkV1125lMvXiYZpaOLhbYB2gcH6Ds",
"EPI": "2412333540",
"INVOICE_MODE": "EINVOICE",
"AMOUNT_TYPE": "FIXED",
"AMOUNT": "20",
"TAX": "0",
"SURCHARGE": "0.6",
"SURCHARGE_INDICATOR": 1,
"ATTEMPTS": 1,
"CREATED_ON": "2026-09-01 07:32:50",
"ACTIVE_ON": "2026-09-02 07:32:49",
"STATUS": "PENDING",
"CUSTOMER_NAME": "Test",
"INVOICE_NO": "inv0001",
"PRODUCT_DESCRIPTION": "king size bed 10x12",
"SMS_STATUS": 1,
"IS_CUSTOMER_INFO_AVAIL": 1,
"DBA_NAME": "Valor Store LLC",
"CREATED_AT": "09/01/26 03:32 AM",
"EXPIRED_AT": "09/02/26",
"DAYS_UNTILL_EXPIRATION": 1
}
]
}Changes
- breaking
the
queryrequest parameterfree_selectwas restricted to a list of enum values - breaking
the
queryrequest parameterstatuswas restricted to a list of enum values - breaking
for the
queryrequest parameterlimit, default value was changed from200to25 - info
api operation id
fetch-e-invoice-apiremoved and replaced withv1-fetch-einvoice - info
added the new enum value
Amountto thequeryrequest parameterfree_select - info
added the new enum value
CANCELLEDto thequeryrequest parameterstatus - info
added the new enum value
EXPIREDto thequeryrequest parameterstatus - info
added the new enum value
Emailto thequeryrequest parameterfree_select - info
added the new enum value
IDto thequeryrequest parameterfree_select - info
added the new enum value
PAIDto thequeryrequest parameterstatus - info
added the new enum value
PENDINGto thequeryrequest parameterstatus - info
added the new enum value
PROCESSINGto thequeryrequest parameterstatus - info
added the new enum value
Phoneto thequeryrequest parameterfree_select - info
added the new enum value
SALE(VOIDED)to thequeryrequest parameterstatus - info
added the new enum value
UIDto thequeryrequest parameterfree_select - info
for the
queryrequest parameterdate_filter, the format was generalized fromdateto no format - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- breaking