{
"uscc": "{{uscc}}",
"areaCode": "{{areaCode}}",
"personalAccount": "{{personalAccount}}",
"info": [
{
"basicInfo": {
"invoiceType": "全电普通发票",
"specialBusiness": "特殊业务;如需设置,传对应文本值:[建筑服务,货物运输服务,不动产经营租赁服务,不动产销售,旅...",
"variableLevy": "差额征税;如需设置,传对应文本值:[差额征税-全额开票,差额征税-差额开票]",
"reducedTax": "减按征税;如需设置,传对应文本值:[减按征税-销售自己使用过的固定资产,减按征税-住房租赁,减...",
"giveUpReason": "放弃减税优惠原因;如需设置,传'1'或'2';'1'= 前期已开具3%征收率的发票,发生销售折..."
},
"sellerInfo": {
"address": "**省**市**区**路**号",
"phone": "13212345678",
"bank": "XX银行XX分行",
"bankAccount": "1234567890123456789",
"showBankInfo": true,
"showPersonInfo": true
},
"purchaserInfo": {
"isNaturePerson": true,
"name": "***公司",
"uscc": "{{uscc}}",
"address": "**省**市**区**路**号",
"phone": "13212345678",
"showBankInfo": true,
"bank": "XX银行XX分行",
"bankAccount": "1234567890123456789",
"showPersonInfo": true,
"identificationTypeCode": "A",
"identificationNumber": "自然人购买方补充信息-证件号码",
"nationCode": 4403
},
"isIncludeTax": true,
"invoiceDetail": {
"data": [
{
"spbm": "101****************",
"size": "型号",
"unit": "单位",
"price": 100,
"quantity": "10",
"amount": 1000,
"taxRate": "0.13",
"tax": 130,
"discountInfo": {
"discount": 1000,
"discountMode": 0,
"discountAmount": 1000,
"discountTax": 130
},
"variableLevyInfo": [
{
"voucherType": "A",
"voucherNumber": "凭证号",
"sdphm": "2*******************",
"fpdm": "0***********",
"fphm": "12345678",
"voucherAmount": "总额",
"deduction": "扣除额",
"date": "2024-01-01",
"note": "备注信息"
}
],
"projectName": "***名称",
"xsyhzcbz": "Y",
"zzstsgl": "A",
"slqdbz": "若商品在项目信息列表内有记录,传\"Y\";否则传\"N\";默认为\"N\"",
"mtzlDm": "10001",
"sptm": "商品条码,13位",
"jzjtlxDm": "A"
}
],
"amount": 1000,
"tax": 130,
"total": 1130,
"sbxmdm": "10001"
},
"freightageInfo": {
"data": [
{
"shippingType": "运输方式",
"shippingNumber": "号码",
"from": "出发地",
"to": "目的地",
"goods": "货物"
}
]
},
"noteInfo": {
"note": "备注信息",
"payee": "收款人",
"reviewer": "复核人",
"additionalInfo": [
{
"field": "example",
"type": "example",
"value": "example"
}
]
},
"personInfo": {
"name": "***公司",
"nation": "国籍",
"certificateType": "A",
"certificateCode": "证件号码",
"uscc": "{{uscc}}"
},
"buildingServiceInfo": {
"projectCode": "10001",
"projectName": "***名称",
"projectAddress": "**省**市**区**路**号",
"addressDetail": "广东省深圳市南山区科技园",
"crossArea": true,
"crossRegionalTaxRegistrationNumber": 4403,
"regionCode": "行政区划号码"
},
"immovablePropertyInfo": [
{
"immovablePropertyCode": "10001",
"immovablePropertyAddress": "**省**市**区**路**号",
"addressDetail": "广东省深圳市南山区科技园",
"crossArea": true,
"landIncrementTaxProjectCode": "10001",
"priceIncludeTax": "核定计税价格",
"priceIncludeTaxTransaction": 1000,
"certificateOfTitle": "不动产权证号",
"areaUnit": "面积单位",
"regionCode": "行政区划号码"
}
],
"tractorInfo": {
"engineNumber": "发动机号码",
"chassisNumber": "底盘号/机架号"
},
"immovablePropertyRentInfo": [
{
"immovablePropertyAddress": "**省**市**区**路**号",
"addressDetail": "广东省深圳市南山区科技园",
"startTime": "2024-01-01",
"endTime": "2024-12-31",
"crossArea": true,
"certificateOfTitle": "不动产权证号",
"areaUnit": "面积单位",
"cph": "车牌号",
"regionCode": "行政区划号码"
}
],
"passengerTransportationInfo": {
"data": [
{
"name": "***公司",
"date": "2024-01-01",
"certificateType": "A",
"certificateCode": "证件号码",
"from": "出发地",
"to": "目的地",
"vehicle": "A",
"rank": "示例名称"
}
]
},
"paymentInfo": [
{
"payChannelCode": "10001",
"transactionOrderNo": "交易单号"
}
],
"fplsh": "发票流水号",
"isPurchaseByMultipleParties": true,
"coPurchaserInfo": [
{
"purchaserName": "***名称",
"documentTypeCode": "A",
"documentNumber": "证件号码"
}
],
"usedToRegisterTractor": true,
"taxRelatedServiceInfo": {
"sfkjsszyfwfppm": "是否开具涉税专业服务发票品目;\"Y\"表示是,\"N\"表示否;默认为\"N\"",
"sszyfwxybh": "涉税专业服务协议编号; 当sfkjsszyfwfppm为\"Y\"时必填,可通过获取涉税专业服务协...",
"sszyfwxm": "涉税专业服务项目;可不传",
"sszyfwxmSp": [
"涉税专业服务项目商品;可不传"
]
}
}
]
}curl --location 'openapi.nmy.cn/api/v1/open/invoice-issue/issue' \
--header 'Authorization: {{authorization}}' \
--header 'accountId: {{accountId}}' \
--header 'Content-Type: application/json' \
--data '{
"uscc": "{{uscc}}",
"areaCode": "{{areaCode}}",
"personalAccount": "{{personalAccount}}",
"info": [
{
"basicInfo": {
"invoiceType": "全电普通发票",
"specialBusiness": "特殊业务;如需设置,传对应文本值:[建筑服务,货物运输服务,不动产经营租赁服务,不动产销售,旅...",
"variableLevy": "差额征税;如需设置,传对应文本值:[差额征税-全额开票,差额征税-差额开票]",
"reducedTax": "减按征税;如需设置,传对应文本值:[减按征税-销售自己使用过的固定资产,减按征税-住房租赁,减...",
"giveUpReason": "放弃减税优惠原因;如需设置,传'\''1'\''或'\''2'\'';'\''1'\''= 前期已开具3%征收率的发票,发生销售折..."
},
"sellerInfo": {
"address": "**省**市**区**路**号",
"phone": "13212345678",
"bank": "XX银行XX分行",
"bankAccount": "1234567890123456789",
"showBankInfo": true,
"showPersonInfo": true
},
"purchaserInfo": {
"isNaturePerson": true,
"name": "***公司",
"uscc": "{{uscc}}",
"address": "**省**市**区**路**号",
"phone": "13212345678",
"showBankInfo": true,
"bank": "XX银行XX分行",
"bankAccount": "1234567890123456789",
"showPersonInfo": true,
"identificationTypeCode": "A",
"identificationNumber": "自然人购买方补充信息-证件号码",
"nationCode": 4403
},
"isIncludeTax": true,
"invoiceDetail": {
"data": [
{
"spbm": "101****************",
"size": "型号",
"unit": "单位",
"price": 100,
"quantity": "10",
"amount": 1000,
"taxRate": "0.13",
"tax": 130,
"discountInfo": {
"discount": 1000,
"discountMode": 0,
"discountAmount": 1000,
"discountTax": 130
},
"variableLevyInfo": [
{
"voucherType": "A",
"voucherNumber": "凭证号",
"sdphm": "2*******************",
"fpdm": "0***********",
"fphm": "12345678",
"voucherAmount": "总额",
"deduction": "扣除额",
"date": "2024-01-01",
"note": "备注信息"
}
],
"projectName": "***名称",
"xsyhzcbz": "Y",
"zzstsgl": "A",
"slqdbz": "若商品在项目信息列表内有记录,传\"Y\";否则传\"N\";默认为\"N\"",
"mtzlDm": "10001",
"sptm": "商品条码,13位",
"jzjtlxDm": "A"
}
],
"amount": 1000,
"tax": 130,
"total": 1130,
"sbxmdm": "10001"
},
"freightageInfo": {
"data": [
{
"shippingType": "运输方式",
"shippingNumber": "号码",
"from": "出发地",
"to": "目的地",
"goods": "货物"
}
]
},
"noteInfo": {
"note": "备注信息",
"payee": "收款人",
"reviewer": "复核人",
"additionalInfo": [
{
"field": "example",
"type": "example",
"value": "example"
}
]
},
"personInfo": {
"name": "***公司",
"nation": "国籍",
"certificateType": "A",
"certificateCode": "证件号码",
"uscc": "{{uscc}}"
},
"buildingServiceInfo": {
"projectCode": "10001",
"projectName": "***名称",
"projectAddress": "**省**市**区**路**号",
"addressDetail": "广东省深圳市南山区科技园",
"crossArea": true,
"crossRegionalTaxRegistrationNumber": 4403,
"regionCode": "行政区划号码"
},
"immovablePropertyInfo": [
{
"immovablePropertyCode": "10001",
"immovablePropertyAddress": "**省**市**区**路**号",
"addressDetail": "广东省深圳市南山区科技园",
"crossArea": true,
"landIncrementTaxProjectCode": "10001",
"priceIncludeTax": "核定计税价格",
"priceIncludeTaxTransaction": 1000,
"certificateOfTitle": "不动产权证号",
"areaUnit": "面积单位",
"regionCode": "行政区划号码"
}
],
"tractorInfo": {
"engineNumber": "发动机号码",
"chassisNumber": "底盘号/机架号"
},
"immovablePropertyRentInfo": [
{
"immovablePropertyAddress": "**省**市**区**路**号",
"addressDetail": "广东省深圳市南山区科技园",
"startTime": "2024-01-01",
"endTime": "2024-12-31",
"crossArea": true,
"certificateOfTitle": "不动产权证号",
"areaUnit": "面积单位",
"cph": "车牌号",
"regionCode": "行政区划号码"
}
],
"passengerTransportationInfo": {
"data": [
{
"name": "***公司",
"date": "2024-01-01",
"certificateType": "A",
"certificateCode": "证件号码",
"from": "出发地",
"to": "目的地",
"vehicle": "A",
"rank": "示例名称"
}
]
},
"paymentInfo": [
{
"payChannelCode": "10001",
"transactionOrderNo": "交易单号"
}
],
"fplsh": "发票流水号",
"isPurchaseByMultipleParties": true,
"coPurchaserInfo": [
{
"purchaserName": "***名称",
"documentTypeCode": "A",
"documentNumber": "证件号码"
}
],
"usedToRegisterTractor": true,
"taxRelatedServiceInfo": {
"sfkjsszyfwfppm": "是否开具涉税专业服务发票品目;\"Y\"表示是,\"N\"表示否;默认为\"N\"",
"sszyfwxybh": "涉税专业服务协议编号; 当sfkjsszyfwfppm为\"Y\"时必填,可通过获取涉税专业服务协...",
"sszyfwxm": "涉税专业服务项目;可不传",
"sszyfwxmSp": [
"涉税专业服务项目商品;可不传"
]
}
}
]
}'{
"code": 0,
"message": "success",
"data": {
"taskID": 12345
},
"traceId": "xxxx-xxxx-xxxx-xxxx"
}