- 使用须知
- 访问凭证
- SAP
- 分销商
- 商品
- 订单
- 物流
- 库存
- 发票
- 售后
- 退换货
- QDS安装包上传
- dealer邮件通知
- SSO
- pds
- onpage
- 注册平台
发票信息回传
开发中
POST
inventory-server/api/invoice/report/info
请求参数
Header 参数
Content-Type
string
必需
示例值:
application/json;charset=utf-8
sys
string
必需
示例值:
pp
token
string
必需
traceId
string
必需
deviceType
integer
取值:1
示例值:
1
lang
string
取值:en
示例值:
en
uid
integer
取值:1
示例值:
1
Body 参数application/json
array of:
orderId
string
订单id
sapOrderId
string
必需
invoiceId
string
发票id
amount
integer
必需
taxAmount
string
必需
dueDate
string
必需
distributionChannel
string
分销渠道
deliveryNote
string
DN
currency
string
币种
payer
string
必需
reverseMark
integer
必需
createDate
string
必需
taxRate
integer
必需
taxCode
string
税码
invoiceDate
string
必需
orderItem
string
销售订单行
reverseId
string
被冲销发票id
invoiceType
string
必需
amountLC
integer
发票本位币金额
currencyLC
string
本位币币种
taxAmountLC
integer
必需
orderItems
array [object {1}]
必需
itemNo
string
订单行号
billTo
string
必需
示例
[
{
"orderId": "66",
"sapOrderId": "33",
"invoiceId": "80",
"amount": 6,
"taxAmount": "90",
"dueDate": "2011-12-02",
"distributionChannel": "sunt labore veniam magna",
"deliveryNote": "sunt incididunt ullamco",
"currency": "ex minim incididunt est",
"payer": "001700142",
"reverseMark": 92,
"createDate": "2012-07-22",
"taxRate": 75,
"taxCode": "90",
"invoiceDate": "2023-02-12",
"orderItem": "tempor voluptate",
"reverseId": "7",
"invoiceType": "M",
"amountLC": 6,
"currencyLC": "USD",
"taxAmountLC": 90,
"orderItems": [
{
"itemNo": "000001"
},
{
"itemNo": "000002"
}
],
"billTo": "0017001245"
},
{
"orderId": "78",
"sapOrderId": "4",
"invoiceId": "55",
"amount": 70,
"taxAmount": "44",
"dueDate": "1982-01-04",
"distributionChannel": "laborum dolor Ut aliqua minim",
"deliveryNote": "Ut dolor adipisicing mollit officia",
"currency": "aute",
"payer": "001700142",
"reverseMark": 7,
"createDate": "1975-04-11",
"taxRate": 81,
"taxCode": "66",
"invoiceDate": "1974-01-24",
"orderItem": "cupidatat",
"reverseId": "67",
"invoiceType": "M",
"amountLC": 6,
"currencyLC": "USD",
"taxAmountLC": 90,
"orderItems": [
{
"itemNo": "000001"
},
{
"itemNo": "000002"
}
],
"billTo": "0017001245"
},
{
"orderId": "11",
"sapOrderId": "25",
"invoiceId": "57",
"amount": 81,
"taxAmount": "16",
"dueDate": "1993-10-17",
"distributionChannel": "in aute",
"deliveryNote": "do elit Duis sit eu",
"currency": "exercitation veniam",
"payer": "001700142",
"reverseMark": 18,
"createDate": "2008-12-20",
"taxRate": 33,
"taxCode": "25",
"invoiceDate": "2017-07-12",
"orderItem": "ipsum esse occaecat nisi",
"reverseId": "44",
"invoiceType": "M",
"amountLC": 6,
"currencyLC": "USD",
"taxAmountLC": 90,
"orderItems": [
{
"itemNo": "000001"
},
{
"itemNo": "000002"
}
],
"billTo": "0017001245"
},
{
"orderId": "53",
"sapOrderId": "92",
"invoiceId": "36",
"amount": 34,
"taxAmount": "42",
"dueDate": "1988-01-28",
"distributionChannel": "non ut",
"deliveryNote": "do aliquip qui",
"currency": "laboris et amet non",
"payer": "001700142",
"reverseMark": 62,
"createDate": "1973-02-03",
"taxRate": 99,
"taxCode": "26",
"invoiceDate": "1983-11-02",
"orderItem": "pariatur mollit ea qui in",
"reverseId": "58",
"invoiceType": "M",
"amountLC": 6,
"currencyLC": "USD",
"taxAmountLC": 90,
"orderItems": [
{
"itemNo": "000001"
},
{
"itemNo": "000002"
}
],
"billTo": "0017001245"
}
]
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'inventory-server/api/invoice/report/info' \
--header 'sys: pp' \
--header 'token;' \
--header 'traceId;' \
--header 'deviceType: 1' \
--header 'lang: en' \
--header 'uid: 1' \
--header 'Content-Type: application/json;charset=utf-8' \
--data-raw '[
{
"orderId": "66",
"sapOrderId": "33",
"invoiceId": "80",
"amount": 6,
"taxAmount": "90",
"dueDate": "2011-12-02",
"distributionChannel": "sunt labore veniam magna",
"deliveryNote": "sunt incididunt ullamco",
"currency": "ex minim incididunt est",
"payer": "001700142",
"reverseMark": 92,
"createDate": "2012-07-22",
"taxRate": 75,
"taxCode": "90",
"invoiceDate": "2023-02-12",
"orderItem": "tempor voluptate",
"reverseId": "7",
"invoiceType": "M",
"amountLC": 6,
"currencyLC": "USD",
"taxAmountLC": 90,
"orderItems": [
{
"itemNo": "000001"
},
{
"itemNo": "000002"
}
],
"billTo": "0017001245"
},
{
"orderId": "78",
"sapOrderId": "4",
"invoiceId": "55",
"amount": 70,
"taxAmount": "44",
"dueDate": "1982-01-04",
"distributionChannel": "laborum dolor Ut aliqua minim",
"deliveryNote": "Ut dolor adipisicing mollit officia",
"currency": "aute",
"payer": "001700142",
"reverseMark": 7,
"createDate": "1975-04-11",
"taxRate": 81,
"taxCode": "66",
"invoiceDate": "1974-01-24",
"orderItem": "cupidatat",
"reverseId": "67",
"invoiceType": "M",
"amountLC": 6,
"currencyLC": "USD",
"taxAmountLC": 90,
"orderItems": [
{
"itemNo": "000001"
},
{
"itemNo": "000002"
}
],
"billTo": "0017001245"
},
{
"orderId": "11",
"sapOrderId": "25",
"invoiceId": "57",
"amount": 81,
"taxAmount": "16",
"dueDate": "1993-10-17",
"distributionChannel": "in aute",
"deliveryNote": "do elit Duis sit eu",
"currency": "exercitation veniam",
"payer": "001700142",
"reverseMark": 18,
"createDate": "2008-12-20",
"taxRate": 33,
"taxCode": "25",
"invoiceDate": "2017-07-12",
"orderItem": "ipsum esse occaecat nisi",
"reverseId": "44",
"invoiceType": "M",
"amountLC": 6,
"currencyLC": "USD",
"taxAmountLC": 90,
"orderItems": [
{
"itemNo": "000001"
},
{
"itemNo": "000002"
}
],
"billTo": "0017001245"
},
{
"orderId": "53",
"sapOrderId": "92",
"invoiceId": "36",
"amount": 34,
"taxAmount": "42",
"dueDate": "1988-01-28",
"distributionChannel": "non ut",
"deliveryNote": "do aliquip qui",
"currency": "laboris et amet non",
"payer": "001700142",
"reverseMark": 62,
"createDate": "1973-02-03",
"taxRate": 99,
"taxCode": "26",
"invoiceDate": "1983-11-02",
"orderItem": "pariatur mollit ea qui in",
"reverseId": "58",
"invoiceType": "M",
"amountLC": 6,
"currencyLC": "USD",
"taxAmountLC": 90,
"orderItems": [
{
"itemNo": "000001"
},
{
"itemNo": "000002"
}
],
"billTo": "0017001245"
}
]'
返回响应
🟢200Success
application/json
Body
code
integer
操作状态码
msg
string
操作描述
示例
{
"code": 0,
"msg": "success"
}
修改于 2025-03-03 07:26:36