# 承运人申请线下开票
1.承运人申请线下开票接口只支持撮合模式企业使用
接口名称:/trade/driver/applicationInvoice
请求参数
| 序号 | 层级 | 英文名称 | 中文名称 | 类型 | 是否必填 | 说明 | 
|---|---|---|---|---|---|---|
| 1 | 1 | transportBillNumberList | 运单号列表 | List<String> | 是 | |
| 2 | 1 | invoiceAmount | 申请开票总金额 | Long | 是 | 单位为"分" | 
mock数据示例
{
  "transportBillNumberList":["202403190004000001","202403190004000002"],
  "invoiceAmount":100000
}
返回参数
| 序号 | 层级 | 英文名称 | 中文名称 | 类型 | 说明 | 
|---|---|---|---|---|---|
| 1 | 1 | invoiceProofNumber | 开票凭证号 | String | |
| 2 | 1 | invoiceAmount | 开票总金额 | Long | 单位:分 | 
| 3 | 1 | serviceCost | 服务费 | Long | 单位:分 | 
| 4 | 1 | valueAddedTax | 增值税额 | Long | 单位:分 | 
| 5 | 1 | othersTax | 其他税额 | Long | 单位:分 | 
| 6 | 1 | transportBillCount | 运单数 | Integer | 
mock数据示例
{
  "invoiceProofNumber":"FP1202403190004000001",
  "invoiceAmount":100000,
  "serviceCost":2000,
  "valueAddedTax":300,
  "othersTax": 700,
  "transportBillCount":1
}
# 查询承运人开票状态
1.承运人开票查询接口只支持撮合模式企业使用
接口名称:/trade/driver/getDriverInvoiceProof
请求参数:
| 序号 | 层级 | 英文名称 | 中文名称 | 参数类型 | 是否必填 | 说明 | 
|---|---|---|---|---|---|---|
| 1 | 1 | invoiceProofNumber | 开票凭证号 | String | 是 | 
mock数据示例
{
  "invoiceProofNumber":"FP1202403190004000001"
}
返回结果:
| 序号 | 层级 | 英文名称 | 中文名称 | 参数类型 | 说明 | 
|---|---|---|---|---|---|
| 1 | 1 | invoiceProofNumber | 开票凭证号 | String | |
| 2 | 1 | transportBillNumberList | 运单号列表 | List<String> | |
| 3 | 1 | auditStatus | 审核状态 | Byte | 1-未通过,2-审核中,3-已通过 | 
| 4 | 1 | invoiceStatus | 开票状态 | Integer | 40-待开票,44-开票中,48-开票失败,70-已开票 | 
| 5 | 1 | rejectReason | 审核拒绝原因 | String | 
mock数据示例
{
  "invoiceProofNumber": "FP1202403190004000001",
  "transportBillNumberList": [""],
  "auditStatus": 2,
  "invoiceStatus": 40,
  "rejectReason": null
}
