申请开票
请求地址
https://www.xxyb.cn/union/api/link/operateInvoiceApply
Header
| 参数名 | 必选 | 类型 | 说明 |
|---|---|---|---|
| token | 是 | String | 应用令牌 |
| cid | 是 | String | 合作ID |
| corpId | 是 | String | 企业ID |
请求参数
ApiConsignorInvoiceApplyReq 申请开票请求
| 字段名 | 类型 | 层级 | 描述 | 必填 |
|---|---|---|---|---|
| billCodes | List<String> | 1 | 运单号 | 是 |
| enterpriseName | String | 1 | 公司名称 | 是 |
| businessLicense | String | 1 | 纳税人识别号 | 是 |
| companyAddress | String | 1 | 公司地址 | 是 |
| companyPhone | String | 1 | 公司电话 | 是 |
| accountBank | String | 1 | 开户行 | 是 |
| bankCardNum | String | 1 | 银行卡号 | 是 |
| addressee | String | 1 | 发票收件人姓名 | 是 |
| addresseePhone | String | 1 | 收件人电话 | 是 |
| addresseeAddress | String | 1 | 发票收货地址 | 是 |
| addresseeProvince | String | 1 | 发票收货省 | 是 |
| addresseeCity | String | 1 | 发票收货市 | 是 |
| addresseeArea | String | 1 | 发票收货区 | 是 |
| addresseeEmail | String | 1 | 发票收货邮箱 | 否 |
| invoiceRemarks | String | 1 | 发票备注 | 否 |
请求参数示例
json
{
"billCodes": [
"10250609552360666",
"10250609552360667"
],
"enterpriseName": "测试企业名称",
"businessLicense": "91370200MA3TGY3Y7R",
"companyAddress": "北京市朝阳区建国路88号",
"companyPhone": "010-12345678",
"accountBank": "中国银行北京分行",
"bankCardNum": "1234567890123456789",
"addressee": "张三",
"addresseePhone": "13812345678",
"addresseeAddress": "北京市朝阳区建国路100号",
"addresseeProvince": "北京市",
"addresseeCity": "北京市",
"addresseeArea": "朝阳区",
"addresseeEmail": "zhangsan@example.com",
"invoiceRemarks": "运费发票"
}