feat(tenpayv3): 新增出租车电子发票相关接口

This commit is contained in:
Fu Diwei
2023-03-31 11:26:58 +08:00
parent b55561aef1
commit 770ee8d590
42 changed files with 1789 additions and 7 deletions

View File

@@ -0,0 +1,57 @@
{
"company_mchid": "1900000109",
"token": "ESvqG19gjw0qiiy1eeRA4VusLrOmIYQOMJ8rXX2V-ztUUuQvu_YBEZg9FAht0Y15r71mft9rcaMIjn7y6x0KSg",
"appid": "wxb1170446a4c0a5a2",
"openid": "oUypO5aQ1oOCaSiNZUpT5kxxJHuc",
"region_id": 310100,
"fapiao_card_information": {
"fapiao_media_id": "ASNFZ4mrze/+3LqYdlQyEA==",
"fapiao_number": "12897794",
"fapiao_code": "044001911211",
"fapiao_time": "2020-07-01T12:00:00+08:00",
"check_code": "69001808340631374774",
"password": "006>299-375/326>2+7/*0-+<351059<80<4*/5>+<11631+*3030/5*37+/-243159658+013>3409*044>4-/1+/9->*>69501*6++1997--21",
"total_amount": 382895,
"tax_amount": 44050,
"amount": 338845,
"buyer_information": {
"type": "CORPORATION",
"name": "深圳市南山区测试企业",
"taxpayer_id": "202003261233701778",
"address": "深圳市南山区深南大道10000号",
"telephone": "075512345678",
"bank_name": "测试银行",
"bank_account": "62001234567890"
},
"seller_information": {
"name": "深圳市南山区测试公司",
"taxpayer_id": "202003261233701778",
"address": "深圳市南山区深南大道10000号",
"telephone": "075512345678",
"bank_name": "测试银行",
"bank_account": "62001234567890"
},
"extra_information": {
"payee": "张三",
"reviewer": "李四",
"drawer": "王五"
},
"items": [
{
"tax_code": "3010101020203000000",
"goods_name": "出租汽车客运服务",
"specification": "A4",
"unit": "次",
"quantity": 100000000,
"unit_price": 380442000000,
"amount": 380442,
"tax_amount": 49458,
"total_amount": 429900,
"tax_rate": 1300,
"tax_prefer_mark": "NO_FAVORABLE",
"discount": false
}
],
"remark": "备注"
}
}

View File

@@ -0,0 +1,6 @@
{
"company_mchid": "1900000109",
"digest": "addca90a6a290b9642dbaccffdf01e8c22aa348940b2e96754169ba08c19e5db",
"digest_algorithm": "DIGEST_ALGORITHM_SM3",
"region_id": 310100
}

View File

@@ -0,0 +1,3 @@
{
"fapiao_media_id": "ASNFZ4mrze/+3LqYdlQyEA=="
}