差额征税 - 全额开票:0; 差额征税 - 差额开票: 0< 扣除额 <= 含税金额。 明细行只能是一行。 1. 具体差额征税发票的计算方法如下: 1.1 不含税差额 = 不含税金额 - 扣除额; 税额 = 不含税差额 * 税率。 扣除额不能大于不含税金额。预留字段,暂不支持
{
"creditCode": "915101000549157085",
"invoiceSerialNumber": "202304130001",
"totalAmt": -1,
"tolAmtIncl": -1.09,
"blueInvoiceDate": "2023-04-13 16:29:48",
"blueInvoiceNum": "23446000000000000653",
"createIdentity": 0,
"taxAmt": -0.09,
"isTax": "0",
"detailItemList": [
{
"blueSerialNo": 1,
"matName": "*海水产品*三目蟹",
"serialNo": 1,
"revenueCode": "1010403000000000000",
"taxAmount": -0.09,
"taxRate": 0.09,
"amt": -1,
"spec": "",
"price": "",
"taxShortName": ""
}
]
}
curl --location --request POST 'http://192.168.51.174/eTaxManage/openApi/apiPost/8' \
--header 'SID: 5007' \
--header 'Authorization: bearer token' \
--header 'Content-Type: application/json' \
--data-raw '{
"creditCode": "915101000549157085",
"invoiceSerialNumber": "202304130001",
"totalAmt": -1,
"tolAmtIncl": -1.09,
"blueInvoiceDate": "2023-04-13 16:29:48",
"blueInvoiceNum": "23446000000000000653",
"createIdentity": 0,
"taxAmt": -0.09,
"isTax": "0",
"detailItemList": [
{
"blueSerialNo": 1,
"matName": "*海水产品*三目蟹",
"serialNo": 1,
"revenueCode": "1010403000000000000",
"taxAmount": -0.09,
"taxRate": 0.09,
"amt": -1,
"spec": "",
"price": "",
"taxShortName": ""
}
]
}'