差额征税 - 全额开票:0; 差额征税 - 差额开票: 0< 扣除额 <= 含税金额。 明细行只能是一行。 1. 具体差额征税发票的计算方法如下: 1.1 不含税差额 = 不含税金额 - 扣除额; 税额 = 不含税差额 * 税率。 扣除额不能大于不含税金额。预留字段,暂不支持
{
"creditCode": "3B5912776YJP5M8740",
"invoiceSerialNumber": "do officia irure",
"createIdentity": 1,
"blueInvoiceCode": "ut",
"blueInvoiceNum": "Excepteur",
"blueInvoiceDate": "ex aute ipsum dolor eiusmod",
"tolAmtIncl": 51819621.93209323,
"totalAmt": -3703054.2995714694,
"taxAmt": -88809234.71717174,
"isTax": "in exercitation",
"redReason": "3",
"createName": "anim in veniam Lorem",
"otherSideCreditCode": "id mollit adipisicing in",
"otherSideName": "qui laborum in",
"blueTotalAmt": 23480274.515178174,
"blueTaxAmt": -45175450.25030274,
"blueInvType": "61",
"blueSpecialInvoiceMark": "06",
"creditType": "ipsum dolor",
"differenceTax": "sed sint",
"detailItemList": [
{
"blueSerialNo": 9487358,
"serialNo": 87653694,
"matName": "ex sunt qui",
"spec": "pariatur tempor do nisi Lorem",
"unit": "minim Excepteur eu laborum pariatur",
"quantity": "occaecat id anim laborum veniam",
"price": "cupidatat et dolor",
"amt": 76948053.20479205,
"taxRate": -6533487.1469088495,
"taxAmount": -48837093.578173764,
"balance": 81062646.31372279,
"revenueCode": "et deserunt cupidatat reprehenderit adipisicing",
"privilegeType": "09",
"taxShortName": "velit Excepteur"
}
]
}
curl --location --request POST 'http://192.168.51.174/eTaxManage/openApi/apiPost' \
--header 'SID: 5007' \
--header 'Authorization: bearer token' \
--header 'Content-Type: application/json' \
--data-raw '{
"creditCode": "3B5912776YJP5M8740",
"invoiceSerialNumber": "do officia irure",
"createIdentity": 1,
"blueInvoiceCode": "ut",
"blueInvoiceNum": "Excepteur",
"blueInvoiceDate": "ex aute ipsum dolor eiusmod",
"tolAmtIncl": 51819621.93209323,
"totalAmt": -3703054.2995714694,
"taxAmt": -88809234.71717174,
"isTax": "in exercitation",
"redReason": "3",
"createName": "anim in veniam Lorem",
"otherSideCreditCode": "id mollit adipisicing in",
"otherSideName": "qui laborum in",
"blueTotalAmt": 23480274.515178174,
"blueTaxAmt": -45175450.25030274,
"blueInvType": "61",
"blueSpecialInvoiceMark": "06",
"creditType": "ipsum dolor",
"differenceTax": "sed sint",
"detailItemList": [
{
"blueSerialNo": 9487358,
"serialNo": 87653694,
"matName": "ex sunt qui",
"spec": "pariatur tempor do nisi Lorem",
"unit": "minim Excepteur eu laborum pariatur",
"quantity": "occaecat id anim laborum veniam",
"price": "cupidatat et dolor",
"amt": 76948053.20479205,
"taxRate": -6533487.1469088495,
"taxAmount": -48837093.578173764,
"balance": 81062646.31372279,
"revenueCode": "et deserunt cupidatat reprehenderit adipisicing",
"privilegeType": "09",
"taxShortName": "velit Excepteur"
}
]
}'
{
"message": "成功",
"msgCode": 0,
"success": true,
"value": "{\"confirmNo\":\"44201422081000000301\",\"confirmStatus\":\"TZD0000\",\"creditCode\":\"915101000549157085\",\"uuid\":\"2ae145de60a74d5789d1a40f966026ae\"}"
}