GET v1/Companies({CompanyId})/Entities({LocationId})/ByInvoiceWithProducts?filter={filter}
Returns Completed orders for a Company by Date Range with Filtering
Information:
Base URL:
https://api.covasoft.net/posreports
Example of a call would be:
https://api.covasoft.net/posreports/v1/Companies({CompanyId})/Entities({LocationId})/ByInvoiceWithProducts?DateRange=Date ge datetime'2019-08-27T00:00:00.0000000Z' and Date le datetime'2019-08-28T06:00:00.0000000Z'
Odata Filters
Required: DateRange=Date ge datetime'{UTCdatetime}' and Date le datetime'{UTCdatetime}'
Normal Odata pagings with $top & $skip
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
CompanyId |
The unique Company Id that was provided in your onboarding pacakage. |
integer |
Required |
LocationId |
This is Location Id where you want to get the Completed Sales Orders |
integer |
Required |
filter |
The Odata filter applied to this call, see Odata filter section above |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
Completed orders for a Company by Date Range with Filtering
Collection of InvoicePollingByDataRangeReturnName | Description | Type | Additional information |
---|---|---|---|
Id | globally unique identifier |
None. |
|
CompanyId | integer |
None. |
|
SoldAtEntityId | integer |
None. |
|
SoldAtEntityName | string |
None. |
|
PrintableId | string |
None. |
|
ReceiptNumber | string |
None. |
|
SoldByEmployeeId | integer |
None. |
|
SoldByEmployeeName | string |
None. |
|
CustomerId | globally unique identifier |
None. |
|
CustomerName | string |
None. |
|
Medical | string |
None. |
|
MedicalRecommendationNumber | string |
None. |
|
DriverLicenseNumber | string |
None. |
|
CustomerState | string |
None. |
|
CustomerDateOfBirth | date |
None. |
|
CustomerMobileNumber | string |
None. |
|
CreatedDateUtc | date |
None. |
|
Type | string |
None. |
|
Delivery | string |
None. |
|
ChangeDue | decimal number |
None. |
|
CashBack | decimal number |
None. |
|
Taxes | Collection of InvoiceTax |
None. |
|
Payments | Collection of InvoicePollingPayment |
None. |
|
PostTaxDiscounts | Collection of Object |
None. |
|
Products | Collection of InvoiceProduct |
None. |
Response Formats
application/json, text/json
[ { "Id": "ebe8aea1-2817-4fec-8f45-1d75140876c9", "CompanyId": 2, "SoldAtEntityId": 3, "SoldAtEntityName": "sample string 4", "PrintableId": "sample string 5", "ReceiptNumber": "sample string 6", "SoldByEmployeeId": 7, "SoldByEmployeeName": "sample string 8", "CustomerId": "97b1f0fd-2b59-43cb-ab64-b140df2b3f01", "CustomerName": "sample string 9", "Medical": "sample string 10", "MedicalRecommendationNumber": "sample string 11", "DriverLicenseNumber": "sample string 12", "CustomerState": "sample string 13", "CustomerDateOfBirth": "2024-11-25T11:23:43.8246059+00:00", "CustomerMobileNumber": "sample string 14", "CreatedDateUtc": "2024-11-25T11:23:43.8246059+00:00", "Type": "sample string 16", "Delivery": "sample string 17", "ChangeDue": 18.1, "CashBack": 19.1, "Taxes": [ { "TaxId": "9f5344d4-cf57-452f-84eb-4c2a004898bd", "TaxAuthorityType": {}, "Amount": 3.1, "Name": "sample string 4" }, { "TaxId": "9f5344d4-cf57-452f-84eb-4c2a004898bd", "TaxAuthorityType": {}, "Amount": 3.1, "Name": "sample string 4" } ], "Payments": [ { "Id": 1, "Amount": 2.1, "Name": "sample string 3" }, { "Id": 1, "Amount": 2.1, "Name": "sample string 3" } ], "PostTaxDiscounts": [ {}, {} ], "Products": [ { "CatalogItemId": "afe00c6f-b254-4d68-a7ef-b77b92baad09", "ProductName": "sample string 2", "SerialNumber": 3, "Quantity": 4, "ListPrice": 5.1, "SalePrice": {}, "SoldAtPrice": 7.1, "UnitCost": 8.1, "UnitOfMeasureType": "sample string 9", "Manufacturer": "sample string 10", "Classification": "sample string 11", "SourceLicenseNumber": 1, "NetWeightAmount": 1.1, "NetWeightUnit": "sample string 12", "DisplayedCategoryPath": "sample string 13", "LotNumber": "sample string 14", "ThcContent": 1.1, "CbdContent": 1.1, "Brand": {}, "Sku": "sample string 16" }, { "CatalogItemId": "afe00c6f-b254-4d68-a7ef-b77b92baad09", "ProductName": "sample string 2", "SerialNumber": 3, "Quantity": 4, "ListPrice": 5.1, "SalePrice": {}, "SoldAtPrice": 7.1, "UnitCost": 8.1, "UnitOfMeasureType": "sample string 9", "Manufacturer": "sample string 10", "Classification": "sample string 11", "SourceLicenseNumber": 1, "NetWeightAmount": 1.1, "NetWeightUnit": "sample string 12", "DisplayedCategoryPath": "sample string 13", "LotNumber": "sample string 14", "ThcContent": 1.1, "CbdContent": 1.1, "Brand": {}, "Sku": "sample string 16" } ] }, { "Id": "ebe8aea1-2817-4fec-8f45-1d75140876c9", "CompanyId": 2, "SoldAtEntityId": 3, "SoldAtEntityName": "sample string 4", "PrintableId": "sample string 5", "ReceiptNumber": "sample string 6", "SoldByEmployeeId": 7, "SoldByEmployeeName": "sample string 8", "CustomerId": "97b1f0fd-2b59-43cb-ab64-b140df2b3f01", "CustomerName": "sample string 9", "Medical": "sample string 10", "MedicalRecommendationNumber": "sample string 11", "DriverLicenseNumber": "sample string 12", "CustomerState": "sample string 13", "CustomerDateOfBirth": "2024-11-25T11:23:43.8246059+00:00", "CustomerMobileNumber": "sample string 14", "CreatedDateUtc": "2024-11-25T11:23:43.8246059+00:00", "Type": "sample string 16", "Delivery": "sample string 17", "ChangeDue": 18.1, "CashBack": 19.1, "Taxes": [ { "TaxId": "9f5344d4-cf57-452f-84eb-4c2a004898bd", "TaxAuthorityType": {}, "Amount": 3.1, "Name": "sample string 4" }, { "TaxId": "9f5344d4-cf57-452f-84eb-4c2a004898bd", "TaxAuthorityType": {}, "Amount": 3.1, "Name": "sample string 4" } ], "Payments": [ { "Id": 1, "Amount": 2.1, "Name": "sample string 3" }, { "Id": 1, "Amount": 2.1, "Name": "sample string 3" } ], "PostTaxDiscounts": [ {}, {} ], "Products": [ { "CatalogItemId": "afe00c6f-b254-4d68-a7ef-b77b92baad09", "ProductName": "sample string 2", "SerialNumber": 3, "Quantity": 4, "ListPrice": 5.1, "SalePrice": {}, "SoldAtPrice": 7.1, "UnitCost": 8.1, "UnitOfMeasureType": "sample string 9", "Manufacturer": "sample string 10", "Classification": "sample string 11", "SourceLicenseNumber": 1, "NetWeightAmount": 1.1, "NetWeightUnit": "sample string 12", "DisplayedCategoryPath": "sample string 13", "LotNumber": "sample string 14", "ThcContent": 1.1, "CbdContent": 1.1, "Brand": {}, "Sku": "sample string 16" }, { "CatalogItemId": "afe00c6f-b254-4d68-a7ef-b77b92baad09", "ProductName": "sample string 2", "SerialNumber": 3, "Quantity": 4, "ListPrice": 5.1, "SalePrice": {}, "SoldAtPrice": 7.1, "UnitCost": 8.1, "UnitOfMeasureType": "sample string 9", "Manufacturer": "sample string 10", "Classification": "sample string 11", "SourceLicenseNumber": 1, "NetWeightAmount": 1.1, "NetWeightUnit": "sample string 12", "DisplayedCategoryPath": "sample string 13", "LotNumber": "sample string 14", "ThcContent": 1.1, "CbdContent": 1.1, "Brand": {}, "Sku": "sample string 16" } ] } ]