/bd/profit/report/open/report/ads/invoice/detail{
"operation": {
"method": "POST",
"path": "/bd/profit/report/open/report/ads/invoice/detail"
},
"protocol": "HTTPS",
"host": "https://openapi.lingxing.com",
"rateLimit": {
"tokenBucketCapacity": 10,
"text": ""
},
"requestExample": {
"invoice_id": "TRF6K4FJN-1",
"sid": 136
},
"responseExample": {
"code": 0,
"message": null,
"data": {
"amount": 1.94,
"address": null,
"invoice_id": "TRF6K4FJN-1",
"payment_method": "UNIFIED_BILLING",
"from_date": "2024-06-03",
"to_date": "2024-06-04",
"currency_icon": "$",
"currency_code": "USD",
"invoice_date": "2024-06-03"
},
"error_details": null,
"request_id": "9941460b-ae8b-4c88-865d-de9f28272915.1721897153312",
"response_time": "2024-07-25 16:45:53",
"total": 0
}
}| 序号 | 字段 | 名称 | 类型 | 默认值 | 必填 | 描述 |
|---|---|---|---|---|---|---|
| 1 | invoice_id | 广告发票编号 | string | — | 必填 | 广告发票编号 |
| 2 | sid | 店铺id | integer | — | 必填 | 店铺id ,对应查询亚马逊店铺列表接口对应字段【sid】 |
| 序号 | 字段 | 名称 | 类型 | 默认值 | 必填 | 描述 |
|---|---|---|---|---|---|---|
| 1 | code | 状态码 | integer | 0 | 必填 | 状态码,0 成功 |
| 2 | message | 提示消息 | string | success | 必填 | 提示消息 |
| 3 | error_details | 错误信息 | array<any> | — | 必填 | 错误信息 |
| 4 | request_id | 请求链路id | string | 81CA6A9A-A5C4-8B5E-5FED-E1C2EC04753C | 必填 | 请求链路id |
| 5 | response_time | 响应时间 | string | 2023-04-07 12:11:12 | 必填 | 响应时间 |
| 6 | data | 响应数据 | object | — | 必填 | 响应数据 |
| 6.1 | invoice_id | 广告发票编号 | string | TRF6K4FJN-1 | 必填 | 广告发票编号 |
| 6.2 | payment_method | 付款类型 | string | UNIFIED_BILLING | 必填 | 付款类型 |
| 6.3 | from_date | 账单周期开始时间 | string | 2023-01-02 | 必填 | 账单周期开始时间 |
| 6.4 | to_date | 账单周期结算时间 | string | 2023-01-06 | 必填 | 账单周期结算时间 |
| 6.5 | currency_icon | 币种符号 | string | $ | 必填 | 币种符号 |
| 6.6 | currency_code | 符号币种 | string | USD | 必填 | 符号币种 |
| 6.7 | amount | 账单金额 | number | 1.94 | 必填 | 账单金额 |
| 6.8 | invoice_date | 发票时间 | string | 2023-01-05 | 必填 | 发票时间 |
| 6.9 | address | 地址 | string | null | 必填 | 地址 |
领星ERP的接口:查询广告发票基本信息(/bd/profit/report/open/report/ads/invoice/detail),由轻易云数据集成平台 API 资产管理模块整理收纳,并随领星ERP版本更新同步更新。