接口地址

  1. /hr-ty-spd/save/invoice

HTTP方法

  1. post

请求参数类型

  1. body

请求参数示例

  1. {
  2. "code": "123456",
  3. "thirdSupplierId": "321321",
  4. "gmtSettlement": "2021-7-30 15:18:11",
  5. "items": [
  6. {
  7. "thirdOrderId": "1",
  8. "thirdMaterialId": "2",
  9. "saleLot": "3",
  10. "lot": "4",
  11. "qty": 3213
  12. }
  13. ]
  14. }

请求参数说明

字段 字段名称 字段类型 必填 备注
code 推送批次 String 每次推送唯一
thirdSupplierId ERP供应商标识 String
gmtSettlement 结算时间 String yyyy-MM-dd HH:mm:ss
items 明细 []
thirdMaterialId ERP物料标识 String
thirdOrderId ERP单号ID String
saleLot 销售批次 String 第三方系统销售批次
lot 厂家批号 String
qty 数量 Bigdecimal(16, 6)

返回结果示例

返回成功
  1. {
  2. "code": 200,
  3. "msg": null,
  4. "result": null
  5. }

处理失败
  1. {
  2. "code": 405,
  3. "msg": "XXXX",
  4. "result": null
  5. }