Operations related to authentication tokens
- Get Invoice ID By Number
Create an Invoice
Update an Invoice
Delete an Invoice
List Invoice Multiple Outlet
List Invoice Multiple Outlet With Variant
List Invoice Multiple Outlet With Total Count
List Invoices Return
List Invoice With Total Count
Get List Invoice ID
Get List Invoice ID by Key Set
Get List Invoice By List ID
Create Multiple Invoice
Get Invoice By
Send Receipt By Email
Invoice Count
List Invoice by Number
List Invoice Multiple Outlet and Payment
Void Invoice
Restore Invoice
Erase Invoice
List Join Invoice
List Join Invoice with Total Count
Join Invoice Detail
Get Reference Number By Invoice ID
Update Note in Invoice
Get Invoice ID By Number
DealPOS API (3.1.0)
Download OpenAPI description
Overview
URL
Customer Support
Languages
Servers
Production Server
https://{subdomain}/
Request
Retrieve invoice details by number, ID, or outlet. Requires the "View" role in the "Orders" module.
Use one of the following parameter combinations to retrieve an invoice detail:
By Invoice & Outlet Name: GET /Invoice/Detail?Number=20.05.00157&Outlet=Outlet1
Example Pair:
Outlet: Outlet 1Number: 20.05.00157
By Invoice & Outlet ID: GET /Invoice/Detail?Number=20.05.00157&OutletID=9c8a1b0e-1c9c-4b3f-9a7d-2e5f6a7b8c9d
Example Pair:
OutletID: 9c8a1b0e-1c9c-4b3f-9a7d-2e5f6a7b8c9dNumber: 20.05.00157
By Invoice ID: GET /Invoice/Detail?ID=aad4a789-b802-49c1-b66f-f45fbc7ce17f
Example:
ID: aad4a789-b802-49c1-b66f-f45fbc7ce17f
Security
OAuth2_clientCredentials
- Production Serverhttps://subdomain.dealpos.net/api/v3/Invoice/Detail
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://subdomain.dealpos.net/api/v3/Invoice/Detail?Number=20.05.00157&Outlet=Outlet1&OutletID=9c8a1b0e-1c9c-4b3f-9a7d-2e5f6a7b8c9d&ID=9c8a1b0e-1c9c-4b3f-9a7d-2e5f6a7b8c9d' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'Response
application/json
{ "ID": "aad4a789-b802-49c1-b66f-f45fbc7ce17f", "Outlet": "Outlet1", "Number": "20.05.00157", "Date": "2020-05-27T00:00:00", "DueDate": "0001-01-01T00:00:00", "Tag": "Offline", "SalesPerson": "Sales 1", "Customer": { "Code": "HW0001", "Email": "hendry@dealpos.com", "Mobile": "0815161688", "Name": "hendry", "Phone": "0815161688" }, "CreatorID": "ff7848c9-21f1-4c05-ac9e-1e71d829cc9c", "Created": "2020-05-27T11:10:50.57", "Discount1": 20, "Discount2": 0, "DiscountAmount": 20000, "Gross": 100000, "DiscountTotal": 48800, "Deposit": 0, "TaxType": "No Tax", "Tax": 0, "TaxRate": 0, "Sales": 51200, "Surcharge": 1000, "SalesNTax": 51200, "Coupon": "889977", "Note": "Test Note", "PointUsed": 0, "PointsEarned": 0, "Fulfillment": "Sent", "LogisticServiceCode": "JNE-R", "Payment": "Paid", "Void": "No", "Bin": false, "ReferenceInvoiceNumber": "20.05.00156", "EReceipt": "https://receipt.dealpos.app/receipt?Data=N2E0MDJmZWItY2U3Ni00MzA5LWJiMTUtOGIwZDQ5NTIwMWEyX3Rva29hYmFkaWRhYmkuZGVhbHBvcy5uZXQ%3D", "Variants": [ { … } ], "OutboundLogistics": [ { … } ], "Payments": [ { … } ] }
Query
Bodyapplication/jsonOutlet ID (Guid). If not provided, it will use property OutletName
Example: OutletID=aad4a789-b802-49c1-b66f-f45fbc7ce17f
Outlet Name. If not provided, it will use property OutletID
Example: Outlet=Outlet1
- Production Serverhttps://subdomain.dealpos.net/api/v3/Invoice/IDByNumber
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://subdomain.dealpos.net/api/v3/Invoice/IDByNumber?OutletID=aad4a789-b802-49c1-b66f-f45fbc7ce17f&Outlet=Outlet1&Number=18.10.00009' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"Outlet": "Outlet1",
"Number": "18.10.00009"
}'Response
application/json
{ "ID": "aad4a789-b802-49c1-b66f-f45fbc7ce17f" }
- Production Serverhttps://subdomain.dealpos.net/api/v3/Invoice/SendReceiptByEmail
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://subdomain.dealpos.net/api/v3/Invoice/SendReceiptByEmail \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"Outlet": "Outlet1",
"Number": "18.10.00009",
"Email": "ezzan212@dealpos.com"
}'Response
application/json
{ "Message": "Sent to email success" }