POST Invoice/CreateInvoice
请求参数
URI 参数
无。
Body 参数
CreateInvoiceRequest| 名称 | 描述 | 类型 | 附加信息 |
|---|---|---|---|
| orderId | string |
无。 |
|
| invoiceHeader | string |
无。 |
|
| expectInvoiceDate | date |
无。 |
|
| deliveryMethod | string |
无。 |
|
| deliveryAddress | string |
无。 |
|
| invoiceType | string |
无。 |
|
| customerID | string |
无。 |
|
| access_token | string |
无。 |
|
| userName | string |
无。 |
请求格式
application/json, text/json
示例:
{
"orderId": "sample string 1",
"invoiceHeader": "sample string 2",
"expectInvoiceDate": "2025-12-14 02:49:13",
"deliveryMethod": "sample string 3",
"deliveryAddress": "sample string 4",
"invoiceType": "sample string 5",
"customerID": "sample string 6",
"access_token": "sample string 7",
"userName": "sample string 8"
}
application/xml, text/xml
示例:
<CreateInvoiceRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/OpenAPI.Models"> <access_token>sample string 7</access_token> <customerID>sample string 6</customerID> <deliveryAddress>sample string 4</deliveryAddress> <deliveryMethod>sample string 3</deliveryMethod> <expectInvoiceDate>2025-12-14T02:49:13.7787707+08:00</expectInvoiceDate> <invoiceHeader>sample string 2</invoiceHeader> <invoiceType>sample string 5</invoiceType> <orderId>sample string 1</orderId> <userName>sample string 8</userName> </CreateInvoiceRequest>
application/x-www-form-urlencoded
示例:
Sample not available.
Response 信息
资源描述
HttpResponseMessage| 名称 | 描述 | 类型 | 附加信息 |
|---|---|---|---|
| Version | Version |
无。 |
|
| Content | HttpContent |
无。 |
|
| StatusCode | HttpStatusCode |
无。 |
|
| ReasonPhrase | string |
无。 |
|
| Headers | Object 集合 |
无。 |
|
| RequestMessage | HttpRequestMessage |
无。 |
|
| IsSuccessStatusCode | boolean |
无。 |