POST POS/v3.2/Sales/Invoices/Search Try Now
Search Invoice
Request Information
URI Parameters
None.
Body Parameters
The request.
Name | Description | Type | Additional information |
---|---|---|---|
InvoiceId |
The invoice identifier.
|
string |
None.
|
InvoiceNumber |
The invoice number.
|
long |
None.
|
ExternalOrderNumber |
The external order number.
|
string |
None.
|
CustomerId |
The customer identifier.
|
string |
None.
|
The email.
|
string |
None.
|
|
Company |
The company.
|
string |
None.
|
ShippingStatus |
The shipping status.
|
Collection of ShippingStatus |
None.
|
PaymentStatus |
The payment status.
|
Collection of PaymentStatus |
None.
|
InvoiceStatus |
The invoice status.
|
Collection of SearchInvoiceStatus |
None.
|
ZoneCode |
The zone code.
|
Zone |
None.
|
InvoiceDate |
The invoice date.
|
DateValue |
None.
|
DateAdded |
Date Added
|
DateValue |
None.
|
Tags |
Tags
|
Collection of string |
None.
|
Location |
Location
|
string |
None.
|
TrackingNumber |
Tracking Number
|
string |
None.
|
IncludeItems |
Include Invoice Items in Invoice Search
|
boolean |
None.
|
OrderBy |
Sets the order by.(Note: Please use column Name Given in Response only,Don't use "Page" or "ItemsPerPage").
|
string |
None.
|
SortOrder |
The SortOrder i.e. "ASC" or "DESC"
|
string |
None.
|
DateUpdated |
Set Date Updated you can use either Date Updated Or UpdatedSince.
|
date |
None.
|
UpdatedSince |
Set From Date and To Date value. Return result for between date , From Date And To Date.
|
DateValue |
None.
|
Page |
Sets the page.
|
integer |
None.
|
ItemsPerPage |
Sets the items per page.
|
integer |
None.
|
Request Formats
application/json, text/json
Sample:
{ "InvoiceId": "", "InvoiceNumber": 2, "ExternalOrderNumber": "", "CustomerId": "", "Email": "", "Company": "", "ShippingStatus": [ "Any" ], "PaymentStatus": [ "Any" ], "InvoiceStatus": [ "Any" ], "ZoneCode": "Any", "InvoiceDate": { "FromDate": "2024-12-06T04:33", "ToDate": "2024-12-06T04:34", "FilterByTime": true }, "DateAdded": { "FromDate": "2024-12-06T04:33", "ToDate": "2024-12-06T04:34", "FilterByTime": true }, "Tags": [ "" ], "Location": "", "TrackingNumber": "", "IncludeItems": true, "OrderBy": "", "SortOrder": null, "DateUpdated": "2024-12-06T04:33", "UpdatedSince": { "FromDate": "2024-12-06T04:33", "ToDate": "2024-12-06T04:34", "FilterByTime": true }, "Page": 13, "ItemsPerPage": 14 }
Response Information
Resource Description
Name | Description | Type | Additional information |
---|---|---|---|
InvoiceId |
the invoice identifier.
|
string |
None.
|
InvoiceNumber |
the invoice number.
|
long |
None.
|
InvoiceStatus |
the invoice status.
|
InvoiceStatus |
None.
|
InvoiceDate |
the invoice date.
|
date |
None.
|
DateExpected |
the date expected.
|
date |
None.
|
DateUpdated | date |
None.
|
|
CustomerId |
the customer identifier.
|
string |
None.
|
Company |
the company.
|
string |
None.
|
Phone |
the phone.
|
string |
None.
|
the email.
|
string |
None.
|
|
PaymentStatus |
the payment status.
|
PaymentStatus |
None.
|
ZoneCode |
the zone code.
|
Zone |
None.
|
ExternalOrderNumber |
the external order number.
|
string |
None.
|
SubTotal |
the sub total.
|
Money |
None.
|
Tax |
the tax.
|
Money |
None.
|
ServiceFee |
the extra cost.
|
Money |
None.
|
Commission |
the commission.
|
Money |
None.
|
Discount |
the discount.
|
Money |
None.
|
GrandTotal |
the grand total.
|
Money |
None.
|
BalanceAmount |
the balance amount.
|
Money |
None.
|
Shipping |
the shipping.
|
ShippingInfo |
None.
|
Notes |
the notes.
|
string |
None.
|
VoidReason |
the void reason.
|
string |
None.
|
Version |
the version.
|
integer |
None.
|
Currency |
the currency.
|
string |
None.
|
DateVoided |
the date voided.
|
date |
None.
|
Tags |
the collection of tags.
|
Collection of string |
None.
|
Items |
the collection of invoice items.
|
Collection of InvoiceItemReponse |
None.
|
Response Formats
application/json, text/json
Sample:
{ "InvoiceId": "", "InvoiceNumber": 2, "InvoiceStatus": "Any", "InvoiceDate": "2024-12-06T04:33", "DateExpected": "2024-12-06T04:33", "DateUpdated": "2024-12-06T04:33", "CustomerId": "", "Company": "", "Phone": "", "Email": "", "PaymentStatus": "Any", "ZoneCode": "Any", "ExternalOrderNumber": "", "SubTotal": { "Currency": "", "Amount": 1.0 }, "Tax": { "Currency": "", "Amount": 1.0 }, "ServiceFee": { "Currency": "", "Amount": 1.0 }, "Commission": { "Currency": "", "Amount": 1.0 }, "Discount": { "Currency": "", "Amount": 1.0 }, "GrandTotal": { "Currency": "", "Amount": 1.0 }, "BalanceAmount": { "Currency": "", "Amount": 1.0 }, "Shipping": { "Cost": 1.0, "Status": "Any", "Type": "None", "Carrier": "None", "Service": "", "TrackingNumber": "", "DateShipped": "2024-12-06T04:33", "LabelId": "" }, "Notes": "", "VoidReason": "", "Version": 13, "Currency": "", "DateVoided": "2024-12-06T04:33", "Tags": [ "" ], "Items": [ { "InvoiceId": "", "InvoiceItemId": "", "TicketNumber": 3, "Quantity": 4, "EventId": "", "VenueId": "", "Event": "", "Venue": "", "EventDate": "2024-12-06T04:33", "Section": "", "Row": "", "LowSeat": 12, "HighSeat": 13, "Seats": "", "Seating": "Any", "DateAdded": "2024-12-06T04:33", "TicketType": "Any", "PDFStatus": "Any", "BarcodeStatus": "Any", "Stock": "Any", "InHand": { "InHandStatus": "Any", "InHandDate": "2024-12-06T04:33" }, "SubTotal": { "Currency": "", "Amount": 1.0 }, "Tax": { "Currency": "", "Amount": 1.0 }, "UnitPrice": { "Currency": "", "Amount": 1.0 }, "PurchasePrice": { "Currency": "", "Amount": 1.0 }, "SellPrice": { "Currency": "", "Amount": 1.0 }, "FacePrice": { "Currency": "", "Amount": 1.0 }, "Notes": "", "Location": "", "IsActive": true, "DateUpdated": "2024-12-06T04:33", "DeliveryMethod": "None" } ] }