1. V2
TW-API-EN
  • Document Description
  • Request
  • Response
  • V2
    • Get the list of delivery channels
      POST
    • Order trial calculation
      POST
    • Order forecast
      POST
    • Prepaid charge
      POST
    • Order status inquiry
      POST
    • Invoice Enquiry
      POST
    • Order details
      POST
    • Download the label
      POST
    • Order deleted
      POST
    • Query the invoice details
      POST
    • Available banlance
      POST
  • T86
    • Query bag information
      POST
    • Delete the package
      POST
    • Create a package
      POST
    • Review bag
      POST
  1. V2

Invoice Enquiry

POST
/api/v2/getBill
Last modified:2026-01-01 01:06:25

Request

Header Params

Body Params application/json

Example
{
    "date":"2025-07-18",
    "date_scope":[
		"2025-07-18",
		"2025-10-18"
    ],
    "page":1,
    "limit":2
}

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/api/v2/getBill' \
--header 'key;' \
--header 't;' \
--header 'username;' \
--header 'sign;' \
--header 'Content-Type: application/json' \
--data-raw '{
    "date":"2025-07-18",
    "date_scope":[
		"2025-07-18",
		"2025-10-18"
    ],
    "page":1,
    "limit":2
}'

Responses

🟢200成功
application/json
Body

Example
{
	"code": 200,
	"message": "OK",
	"data": {
		"current_page": 1,
		"data": [
			{
				"id": 1,
				"bill_at": "2025-09-18",
				"code": "20250918",
				"sort": "01",
				"balance_before": "14990.69",
				"charge_price": "0.00",
				"refund_price": "0.00",
				"balance_after": "11058.05",
				"bill_price": "-3932.64",
				"status": 1,
				"created_at": "2025-09-18 23:01:12"
			},
			{
				"id": 2,
				"bill_at": "2025-09-11",
				"code": "20250911",
				"sort": "01",
				"balance_before": "13199.24",
				"charge_price": "5000.00",
				"refund_price": "0.00",
				"balance_after": "14990.69",
				"bill_price": "-3208.55",
				"status": 1,
				"created_at": "2025-09-11 23:02:09"
			}
		],
		"last_page": 5,
		"per_page": "2",
		"total": 10
	}
}
🟠404失败
Modified at 2026-01-01 01:06:25
Previous
Order status inquiry
Next
Order details
Built with