Operations related to authentication tokens
- Get Invoice By ID
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
Create Multiple Invoice
Get Invoice By Number
Get Invoice ID By Number
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 By ID
DealPOS API (3.1.0)
Download OpenAPI description
Overview
URL
Customer Support
Languages
Servers
Production Server
https://{subdomain}/api/v3/
Request
Also available as HTTP POST with the same endpoint
Get an Invoice based on Number
Required Group Role: "Orders" - "View"
Security
OAuth2_clientCredentials
- Production Serverhttps://subdomain.dealpos.net/api/v3/Invoice/Number
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://subdomain.dealpos.net/api/v3/Invoice/Number?Number=string&Outlet=string&OutletID=string' \
-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, "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": [ { … } ] }
Request
Also available as HTTP POST with the same endpoint
Get an Invoice based on Invoice ID
Required Group Role: "Orders" - "View"
Security
OAuth2_clientCredentials
- Production Serverhttps://subdomain.dealpos.net/api/v3/Invoice/ID
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://subdomain.dealpos.net/api/v3/Invoice/ID?ID=aad4a789-b802-49c1-b66f-f45fbc7ce17f' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'Bodyapplication/json
Channel Tagging system. (ex:Offline / Whatsapp / Shopee / Tokopedia) used in marketplace.dealpos.app. Backwards Compatibility with property request "SalesType"
Another Invoice that is associated with this Invoice ex: SalesReturn scenario, null when it is normal Sales transaction
Reference Number of the Sales Order: ex PurchaseOrderNumber or Marketplace.OrderID
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": "021234567" }, "CreatorID": "ff7848c9-21f1-4c05-ac9e-1e71d829cc9c", "Created": "2020-05-27T11:10:50.57", "Discount1": 20, "Discount2": 0, "DiscountAmount": 20000, "Gross": 100000, "DiscountTotal": 48800, "TaxType": "No Tax", "Tax": 0, "Sales": 51200, "Surcharge": 1000, "SalesNTax": 51200, "Coupon": "223388", "Note": "Paid", "PointUsed": 0, "PointsEarned": 0, "Fulfillment": "Sent", "Payment": "Paid", "Void": "No", "Bin": false, "ReferenceInvoiceNumber": "20.05.00156", "ReferenceNumber": "TKPD-001", "Variants": [ { … } ], "OutboundLogistics": [ { … } ], "Payments": [ { … } ] }
Request
Also available as HTTP POST with the same endpoint
Get Invoice ID by Number to check that available in POS
Required Group Role: "Orders" - "View"
Security
OAuth2_clientCredentials
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" }