Operations related to authentication tokens
- Get Invoice 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 ID
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 Number
DealPOS API (3.1.0)
Download OpenAPI description
Overview
URL
Customer Support
Languages
Servers
Production Server
https://{subdomain}/api/v3/
- Production Serverhttps://subdomain.dealpos.net/api/v3/Invoice/List
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://subdomain.dealpos.net/api/v3/Invoice/List \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '[
{
"Outlet": "Outlet1",
"Number": "18.10.00009",
"SalesPerson": "Sales 10",
"TaxType": "PPN 10%",
"Date": "2018-09-07",
"Discount1": "5",
"Discount2": "2",
"Delivery": "Sent",
"Customer": {
"Name": "Hendry",
"Email": "hendry@dealpos.com",
"Phone": "085710977713",
"Address": "JL. Pluit Karang Jelita b5 no.51",
"Gender": "Male"
},
"Variants": [
{
"Code": "2014",
"Quantity": "10",
"Price": "3500",
"Discount": 5,
"Note": "Item 1"
},
{
"Code": "2018",
"Quantity": "10",
"Price": "4000",
"Discount": 10,
"Note": "Item 2"
}
],
"Payment": [
{
"Amount": "80000",
"Method": "Cash"
}
]
},
{
"Outlet": "Outlet1",
"Number": "18.10.00009",
"SalesPerson": "Sales 10",
"TaxType": "PPN 10%",
"Date": "2018-09-07",
"Discount1": "5",
"Discount2": "2",
"Delivery": "Sent",
"Customer": {
"Name": "Hendry",
"Email": "hendry@dealpos.com",
"Phone": "085710977713",
"Address": "JL. Pluit Karang Jelita b5 no.51",
"Gender": "Male"
},
"Variants": [
{
"Code": "2014",
"Quantity": "10",
"Price": "3500",
"Discount": 5,
"Note": "Item 1"
},
{
"Code": "2018",
"Quantity": "10",
"Price": "4000",
"Discount": 10,
"Note": "Item 2"
}
],
"Payment": [
{
"Amount": "70918.93",
"Method": "Cash"
}
]
},
{
"Outlet": "Outlet1",
"Number": "18.10.00009",
"SalesPerson": "Sales 10",
"TaxType": "PPN 10%",
"Date": "2018-09-07",
"Discount1": "5",
"Discount2": "2",
"Delivery": "Sent",
"Customer": {
"Name": "Hendry",
"Email": "hendry@dealpos.com",
"Phone": "085710977713",
"Address": "JL. Pluit Karang Jelita b5 no.51",
"Gender": "Male"
},
"Variants": [
{
"Code": "2014",
"Quantity": "10",
"Price": "3500",
"Discount": 5,
"Note": "Item 1"
},
{
"Code": "2018",
"Quantity": "10",
"Price": "4000",
"Discount": 10,
"Note": "Item 2"
}
],
"Payment": [
{
"Amount": "70918.93",
"Method": "Cash"
}
]
}
]'Response
application/json
[ { "ID": "3de705c4-53a0-4a66-8ab1-f9737e3ad6fb", "Outlet": "Outlet1", "Number": "18.10.00009", "Customer": "", "Date": "2018-10-17T00:00:00", "EventDate": "0001-01-01T00:00:00", "Due": "0001-01-01T00:00:00", "Amount": 120000, "Payment": "Paid", "Fulfillment": "Sent", "Created": "2019-08-28T11:00:20.34" }, { "ID": "3de7eve4-53a0-tsw6-8ab1-f9737e3adweb", "Outlet": "Outlet1", "Number": "18.10.00002", "Customer": "", "Date": "2018-10-16T00:00:00", "EventDate": "0001-01-01T00:00:00", "Due": "0001-01-01T00:00:00", "Amount": 150000, "Payment": "Paid", "Fulfillment": "Sent", "Created": "2019-08-28T11:00:20.34" } ]
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": [ { … } ], "WriteOff": { "ID": "d5f7c3e1-2f4b-4c5-9e2f-3b8f4e6c7a1b", "Amount": 2200, "Date": "2020-05-28T11:10:50.587", "Creator": "Yansen", "CreatorID": "ff7848c9-21f1-4c05-ac9e-1e71d829cc9c", "Created": "2020-05-28T11:10:50.587", "TagID": "a1b2c3d4-e5f6-4789-abcd-ef0123456789" } }