Operations related to authentication tokens
/
List WriteOff Invoice
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/WriteOff/Invoice/Number
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://subdomain.dealpos.net/api/v3/WriteOff/Invoice/Number?Outlet=string&Number=string&OutletID=string' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{}'Response
{ "Number": "OLT1/22/12/0058", "Outlet": "Outlet1", "Created": "2023-01-04T11:13:21.33", "CreatedBy": "dealpos", "Amount": 2000, "Reason": "Logistics" }
- Production Serverhttps://subdomain.dealpos.net/api/v3/WriteOff/Invoice
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://subdomain.dealpos.net/api/v3/WriteOff/Invoice?From=2023-01-01&To=2023-01-01&Outlet=Outlet1&OutletID=123e4567-e89b-12d3-a456-426614174000' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'Response
application/json
[ { "Number": "OLT1/22/12/0059", "Outlet": "Outlet1", "Customer": "John", "Created": "2023-01-04T11:13:21.33", "CreatedBy": "dealpos", "Amount": 5000, "Tag": "Logistics" }, { "Number": "OLT1/22/12/0058", "Outlet": "Outlet1", "Customer": "Jane", "Created": "2023-01-04T11:13:21.33", "CreatedBy": "dealpos", "Amount": 10000, "Tag": "BadDebt" } ]
- Production Serverhttps://subdomain.dealpos.net/api/v3/WriteOff/Invoice
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PUT \
https://subdomain.dealpos.net/api/v3/WriteOff/Invoice \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"date": "2024/02/28",
"Outlet": "Outlet1",
"Number": "OLT1.02.01.23.004",
"Type": "logistic",
"Note": "not paid"
}'Response
application/json
{ "Message": "Your Invoice has been successfully Write Off" }
- Production Serverhttps://subdomain.dealpos.net/api/v3/WriteOff/Invoice
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://subdomain.dealpos.net/api/v3/WriteOff/Invoice \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"date": "2024/02/28",
"Outlet": "Outlet1",
"Number": "OLT1.02.01.23.004",
"Type": "logistic",
"Note": "not paid"
}'Response
application/json
{ "Message": "Your Invoice has been successfully Write Off" }
- Production Serverhttps://subdomain.dealpos.net/api/v3/WriteOff/Invoice
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X DELETE \
'https://subdomain.dealpos.net/api/v3/WriteOff/Invoice?Outlet=string&Number=string&OutletID=string' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'Response
application/json
{ "Message": "Write Off Invoice Number [OLT1/22/12/0058] has been cancelled" }
- Production Serverhttps://subdomain.dealpos.net/api/v3/WriteOff/Invoice/ListInvoiceNumber
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
https://subdomain.dealpos.net/api/v3/WriteOff/Invoice/ListInvoiceNumber \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"Outlet": "Outlet1",
"InvoiceNumber": [
"INV001",
"INV002",
"INV003"
]
}'Response
application/json
[ { "Number": "INV001", "Outlet": "Outlet1", "Created": "2023-01-04T11:13:21.33", "CreatedBy": "dealpos", "Amount": 2000, "Tag": "Logistics" }, { "Number": "INV002", "Outlet": "Outlet1", "Created": "2023-01-04T11:13:21.33", "CreatedBy": "dealpos", "Amount": 2000, "Tag": "Logistics" }, { "Number": "INV003", "Outlet": "Outlet1", "Created": "2023-01-04T11:13:21.33", "CreatedBy": "dealpos", "Amount": 2000, "Tag": "Logistics" } ]