{ "openapi": "3.0.3", "info": { "title": "Taxer 9.4 Mock API", "version": "1.0.0", "description": "用于 TaxerInfo 联调的 9.4 接口定义(9.4.1 / 9.4.2 / 9.4.10)" }, "servers": [ { "url": "{{baseUrl}}", "description": "Mock 或真实服务地址" } ], "paths": { "/taxCommon/doService": { "post": { "summary": "9.4.1 smz.jhxtGetBsyxxByqhhm", "description": "根据取号号码获取办税员信息及办理纳税人", "operationId": "smz_jhxtGetBsyxxByqhhm", "requestBody": { "required": true, "content": { "application/x-www-form-urlencoded": { "schema": { "$ref": "#/components/schemas/DoServiceRequest" }, "examples": { "request-9-4-1": { "value": { "domain.ywId": "smz.jhxtGetBsyxxByqhhm", "domain.parmJson": "{\"qhhm\":\"A001\"}" } } } } } }, "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/BsyxxResponse" }, "examples": { "success": { "value": { "code": "00", "mess": "成功", "result": { "xm": "张三", "sfzhm": "330381199806263611", "xb": "1", "mz": "汉", "csrq": "1998-06-26", "zz": "浙江省温州市", "sfzzmPic": "", "headPic": "", "sjhm": "13800000000", "bsyly": "请携带完整资料", "dataList": [ { "djxh": "91330100X12345678A" } ] } } } } } } } } } }, "/taxCommon/doService/bdNsrxx": { "post": { "summary": "9.4.2 smz.jhxtGetBdNsrxx", "description": "根据身份证号码获取绑定纳税人信息", "operationId": "smz_jhxtGetBdNsrxx", "requestBody": { "required": true, "content": { "application/x-www-form-urlencoded": { "schema": { "$ref": "#/components/schemas/DoServiceRequest" }, "examples": { "request-9-4-2": { "value": { "domain.ywId": "smz.jhxtGetBdNsrxx", "domain.parmJson": "{\"sfzhm\":\"330381199806263611\"}" } } } } } }, "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/BdNsrxxResponse" }, "examples": { "success": { "value": { "code": "00", "mess": "成功", "result": { "dataList": [ { "djxh": "91330100X12345678A", "nsrsbh": "91330100X12345678A", "nsrmc": "杭州示例科技有限公司", "tsyjbz": "0", "tsyjnr": "", "zdbz": "0" }, { "djxh": "92330100MA2ABCDE1X", "nsrsbh": "92330100MA2ABCDE1X", "nsrmc": "杭州示例个体工商户", "tsyjbz": "1", "tsyjnr": "请核验税务状态", "zdbz": "0" } ] } } } } } } } } } }, "/taxCommon/doService/smzcj": { "post": { "summary": "9.4.10 smz.getSmzcjxx", "description": "获取办税员采集信息", "operationId": "smz_getSmzcjxx", "requestBody": { "required": true, "content": { "application/x-www-form-urlencoded": { "schema": { "$ref": "#/components/schemas/DoServiceRequest" }, "examples": { "request-9-4-10": { "value": { "domain.ywId": "smz.getSmzcjxx", "domain.parmJson": "{\"sfzhm\":\"330381199806263611\"}" } } } } } }, "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/SmzcjResponse" }, "examples": { "collected": { "value": { "code": "00", "mess": "成功", "result": { "code": "00", "sjhm": "13800000000", "bz": "已实名采集", "sfwxgz": "Y" } } }, "uncollected": { "value": { "code": "00", "mess": "成功", "result": { "code": "01", "sjhm": "", "bz": "未实名采集", "sfwxgz": "N" } } } } } } } } } } }, "components": { "schemas": { "DoServiceRequest": { "type": "object", "required": [ "domain.ywId", "domain.parmJson" ], "properties": { "domain.ywId": { "type": "string" }, "domain.parmJson": { "type": "string", "description": "JSON 字符串(未 URL 编码版本,便于调试)" } } }, "BsyxxResponse": { "type": "object", "properties": { "code": { "type": "string" }, "mess": { "type": "string" }, "result": { "type": "object" } } }, "BdNsrxxResponse": { "type": "object", "properties": { "code": { "type": "string" }, "mess": { "type": "string" }, "result": { "type": "object" } } }, "SmzcjResponse": { "type": "object", "properties": { "code": { "type": "string" }, "mess": { "type": "string" }, "result": { "type": "object" } } } } } }