Operations related to authentication tokens
- Delete an Invoice
DealPOS API (3.1.0)
Channel Tagging system. (ex: Offline / Whatsapp / Shopee / Tokopedia) used in marketplace.dealpos.app. Backwards compatibility with property request "SalesType".
Promotion Coupon Code. Balance will be deducted. Discount must exist in request PAYLOAD according to the discount value.
Delivery Status. Backwards compatibility with property "Delivery". Default: Sent, Unsent.
The number of points to redeem (when redeemed points is > 0, DiscountAmount will be auto calculated by the system based on RedeemPointValue configuration).
Where fulfillment is done from a different Outlet. When this property is null or not specified, it will get data from property "Outlet".
- Production Serverhttps://subdomain.dealpos.net/api/v3/Invoice
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PUT \
https://subdomain.dealpos.net/api/v3/Invoice \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"Outlet": "Outlet1",
"Number": "20.05.00001",
"Date": "2020-05-27",
"SalesPerson": "Sales 1",
"Tag": "Tokopedia",
"TaxType": "No Tax",
"Discount1": 0,
"Discount2": 0,
"DiscountAmount": 0,
"Fulfillment": "Sent",
"PurchaseOrderNumber": "TKP001",
"Customer": {
"Name": "Hendry Wijaya",
"Email": "Hendry@dealpos.com",
"Phone": "02165498468",
"Mobile": "081514515156",
"Code": "HW021"
},
"Variants": [
{
"Code": "200535",
"Quantity": "10",
"Price": "50000",
"Discount": 0,
"Note": "Item 1"
},
{
"Code": "1315L",
"Quantity": "10",
"Price": "50000",
"Discount": 0,
"Note": "Item 2"
}
],
"Payments": [
{
"Amount": "100000",
"Method": "Cash",
"Code": null,
"Note": null
}
]
}'{ "ID": "e9e1edbd-3e37-4845-b243-e680fbd4b30c" }
Request can be send with payload Outlet+Number / OutletID + Number /InvoiceID only
- Production Serverhttps://subdomain.dealpos.net/api/v3/Invoice
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X DELETE \
https://subdomain.dealpos.net/api/v3/Invoice \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"Outlet": "Outlet1",
"Number": "LM3002"
}'"Invoice has been delete!{}"
Request
Also available as HTTP POST with the same endpoint
Get Invoice List by Multiple Outlet
Outlet name. When Outlet is not specified, it will return all outlet that the user has access to.
Channel Tagging system.(ex: Tokopedia, Shopee)
Payment status / progress of the invoice
Delivery status / progres of the invoice
Filter Orders By their status (Active, Cancelled, Any.)
- Production Serverhttps://subdomain.dealpos.net/api/v3/Invoice/MultipleOutlet
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
https://subdomain.dealpos.net/api/v3/Invoice/MultipleOutlet \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"PageNumber": 1,
"PageSize": 20,
"From": "2024-08-27",
"To": "2024-08-28",
"Outlet": [
"Outlet1",
"Outlet2"
],
"Tag": [
"Tokopedia",
"Shopee"
],
"PaymentState": "Paid",
"Fulfillment": "Sent",
"Email": "johndoe@email.com",
"Mobile": "08112345",
"Status": "Active",
"Note": "Invoice Note",
"ReferenceNumberType": "All"
}'[ { "ID": "3c76f9b5-d1b8-4159-85a0-0630ac0caa47", "Outlet": "Outlet1", "Number": "20.08.00009", "Customer": "John", "Date": "2020-08-17T00:00:00", "Due": "0001-01-01T00:00:00", "Amount": 120000, "Payment": "Paid", "Fulfillment": "Sent", "Created": "2020-08-28T11:00:20.34", "Tag": "Tokopedia", "ReferenceNumber": "TKPD-001" }, { "ID": "3076b3af-1773-4bf9-9073-279be7b76327", "Outlet": "Outlet2", "Number": "20.09.00002", "Customer": "John", "Date": "2020-09-16T00:00:00", "Due": "0001-01-01T00:00:00", "Amount": 150000, "Payment": "Paid", "Fulfillment": "Sent", "Created": "2020-09-28T11:00:20.34", "Tag": "Shopee", "ReferenceNumber": "SHPD-002" } ]