This Web Service returns the full list of Sales Transactions, including all details, in a JSON array format.
It ouputs all fields and their corresponding value.
It contains full Invoices Details, like nature, total price,
tax values, customer identification, terminal and cashdrawer,
date and time, employee, products quantities and prices details and payment tenders types and amounts.
Each new sale transaction will automatically discount stock quantity defined Store Warehouse,
so you can have Live inventory quantities and valuations in real time.
If transaction was cancelled, this method will automatically update current transaction
and set back discounted stock quantities over all products details.
Bellow is a description list of some main fields you may get and post to this method:
Field | Description |
---|---|
InvoiceNo | Full Invoice Number |
StoreId | Store belonging to current transaction. |
TillId | Cashdrawer Code where transaction was created |
CustomerId | Customer Code Indentification |
SalesmanId | Employee that created the transaction |
TransDocument | Transaction Document Type |
InvoiceStatus | Current Invoice Status: Normal or Cancelled |
TotalNetAmount | Total Net amount of all details |
TotalGrossAmount | Total Final Amount with Taxes |
TenderlineItems | Array with all tender payments types and amounts |
SaleTransactionDetails | Array with all products details. See description table bellow |
The following table lists a description of the SaleTransactionDetails array list:
Field | Description |
---|---|
ItemId | Product Code |
Quantity | Quantity sold |
UnitPrice | Product Sale Price per unit |
TotalNetAmount | Total line Net amount |
TaxPercentage | Tax Applied |
TotalTaxIncludedAmount | Total Price with Taxes included |
Some specific customers and loyalty campaings processment are also made on current method. Although, this information is also available on different Web Services.
To apply filters or search criteria over all sales transactions, the GET request type can receive the following arguments:
Argument | Description |
---|---|
store | Store Code to filter only Sales Transactions created on this store |
InvoiceNo | Filter and return only the Sale Transaction with this Document Number |
VoucherNo | Returns the Sale Transaction that has this Voucher Code |
If you don't wish to send all detailed sales transactions back to your ERP software, there are 4 different Web Services that return the total daily sales values, in the following grouped ways:
For more information about ERP comunication services, access the following Root page:
https://ENVIRONMENT.storesace.com/dimas/api/headoffice/
Note: To retrieve sales values over API, the Financials HO Integration module must be active.
If you have any further questions, please contact us using the chat icon in the bottom of this page or directly from your StoresAce Environment.