任务描述

交易明细

周


PaymentReports 卖家ID 国家ID public class PaymentReport { public int Id { get; set; } [Required(AllowEmptyStrings = false)] public string PartnerName { get; set; } [Required(AllowEmptyStrings = false)] public string CountryCode { get; set; } public DateTimeOffset Date { get; set; } public string SettlementId { get; set; } public string Type { get; set; } public string OrderId { get; set; } public string SKU { get; set; } public string Description { get; set; } public int? Quantity { get; set; } public string Marketplace { get; set; } public string AccountType { get; set; } public string Fulfillment { get; set; } public string OrderCity { get; set; } public string OrderState { get; set; } public string OrderPostal { get; set; } public string TaxCollectionModel { get; set; } public decimal? ProductSales { get; set; } public decimal? ProductSalesTax { get; set; } public decimal? ShippingCredits { get; set; } public decimal? ShippingCreditsTax { get; set; } public decimal? GiftWrapCredits { get; set; } public decimal? GiftwrapCreditsTax { get; set; } public decimal? CostPoints { get; set; } public decimal? PromotionalRebates { get; set; } public decimal? PromotionalRebatesTax { get; set; } public decimal? SalesTaxCollected { get; set; } public decimal? MarketplaceWithheldTax { get; set; } public decimal? LowValueGoods { get; set; } public decimal? TotalSalesTaxLiable { get; set; } public decimal? TCS_CGST { get; set; } public decimal? TCS_SGST { get; set; } public decimal? TCS_IGST { get; set; } public decimal? SellingFees { get; set; } public decimal? FbaFees { get; set; } public decimal? OtherTransactionFees { get; set; } public decimal? Other { get; set; } public decimal? Total { get; set; } } }


211dfa44-c829-495a-b7f5-f338dca9a1f9.png

需求描述

交易明细

周


PaymentReports 卖家ID 国家ID public class PaymentReport { public int Id { get; set; } [Required(AllowEmptyStrings = false)] public string PartnerName { get; set; } [Required(AllowEmptyStrings = false)] public string CountryCode { get; set; } public DateTimeOffset Date { get; set; } public string SettlementId { get; set; } public string Type { get; set; } public string OrderId { get; set; } public string SKU { get; set; } public string Description { get; set; } public int? Quantity { get; set; } public string Marketplace { get; set; } public string AccountType { get; set; } public string Fulfillment { get; set; } public string OrderCity { get; set; } public string OrderState { get; set; } public string OrderPostal { get; set; } public string TaxCollectionModel { get; set; } public decimal? ProductSales { get; set; } public decimal? ProductSalesTax { get; set; } public decimal? ShippingCredits { get; set; } public decimal? ShippingCreditsTax { get; set; } public decimal? GiftWrapCredits { get; set; } public decimal? GiftwrapCreditsTax { get; set; } public decimal? CostPoints { get; set; } public decimal? PromotionalRebates { get; set; } public decimal? PromotionalRebatesTax { get; set; } public decimal? SalesTaxCollected { get; set; } public decimal? MarketplaceWithheldTax { get; set; } public decimal? LowValueGoods { get; set; } public decimal? TotalSalesTaxLiable { get; set; } public decimal? TCS_CGST { get; set; } public decimal? TCS_SGST { get; set; } public decimal? TCS_IGST { get; set; } public decimal? SellingFees { get; set; } public decimal? FbaFees { get; set; } public decimal? OtherTransactionFees { get; set; } public decimal? Other { get; set; } public decimal? Total { get; set; } } }


211dfa44-c829-495a-b7f5-f338dca9a1f9.png

验收标准
暂无
附件
历史记录  
  1. 2022-05-20 10:31:09, 由 舒鹏明 创建。
  2. 2022-05-21 16:09:56, 由 zhubin 添加备注。
    需求描述

    交易明细周


    原表数据需求

    date/time settlement id type order id sku description quantity marketplace account type fulfillment order city order state order postal tax collection model product sales product sales tax shipping credits shipping credits tax gift wrap credits giftwrap credits tax Regulatory Fee Tax On Regulatory Fee promotional rebates promotional rebates tax marketplace withheld tax selling fees fba fees other transaction fees other total


    附加,更新时间,下载时间,卖家ID,  市场ID, 邮箱账号,

  3. 2022-05-21 16:42:28, 由 zhubin 添加备注。

    抓包工具国家列表接口:

    https://sellercentral.amazon.com/global-picker/data/get-merchant-marketplaces-for-partner-account

  4. 2022-05-21 16:47:17, 由 zhubin 添加备注。

    创建报告接口抓包:

    https://sellercentral.amazon.com/payments/reports/custom/submit/generateReports

    POST /payments/reports/custom/submit/generateReports HTTP/1.1

    {"reportType":"Transaction","timeRangeType":"Monthly","selectedAccountTypeDropdownValue":"All","month":4,"year":2022}

  5. 2022-05-21 16:59:36, 由 zhubin 添加备注。

    抓包列表接口:

    https://sellercentral.amazon.com/payments/api/events-view?limit=10&offset=1&fiqlFiltersString=

    GET /payments/api/events-view?limit=10&offset=1&fiqlFiltersString= HTTP/1.1


  6. 2022-05-21 17:00:29, 由 zhubin 编辑。
    上传了附件 亚马逊交易明细json.txt
  7. 2022-05-21 17:17:41, 由 zhubin 添加备注。

    抓包下载报告请求地址:

    https://sellercentral.amazon.com/payments/reports/download?_encoding=UTF8&contentType=text/csv&fileName=20224月MonthlyUnifiedTransaction.csv&referenceId=118773019133

  8. 2022-05-23 11:47:36, 由 zhubin 添加备注。

    referenceId参数通过抓包工具暂未找到,目前固定一个值


  9. 2022-05-23 15:47:02, 由 zhubin 添加备注。

    部分采集代码实现:

  10. 2022-05-23 18:03:45, 由 zhubin 添加备注。

    抓包请求地址:https://sellercentral.amazon.com/payments/reports/custom/request/refresh/ref=bb_tabela_cont_tabela


    试图跳转页面后通过页面元素抓取下载链接:

    https://sellercentral.amazon.com/payments/reports/custom/request?ref_=xx_report_ttab_disbmt


    document.getElementById("0-ddrAction").getElementsByClassName("a-button-text")[0].href

  11. 2022-05-27 18:04:15, 由 zhubin 完成。
    修改了 总计消耗,旧值为 "0",新值为 "16"。
    修改了 指派给 ,旧值为 "zhubin",新值为 "shupengming"。
    修改了 实际完成,旧值为 "",新值为 "2022-05-27 18:04:07"。
    修改了 任务状态,旧值为 "wait",新值为 "done"。
    修改了 实际开始,旧值为 "0000-00-00 00:00:00",新值为 "2022-05-27 18:04:15"。
    修改了 预计剩余,旧值为 "16",新值为 "0"。
    修改了 由谁完成,旧值为 "",新值为 "zhubin"。
  12. 2023-10-31 14:51:34, 由 周杰 关闭。
    修改了 任务状态,旧值为 "done",新值为 "closed"。
    修改了 指派给 ,旧值为 "shupengming",新值为 "closed"。
    修改了 由谁关闭,旧值为 "",新值为 "zhoujie"。
    修改了 关闭时间,旧值为 "0000-00-00 00:00:00",新值为 "2023-10-31 14:51:34"。
    修改了 关闭原因,旧值为 "",新值为 "done"。
所属迭代 平台财务数据自动化获取(接口/小工具)
所属模块 /
相关需求 亚马逊交易明细表
指派给 Closed 于 2023-10-31 14:51:34
任务类型 后端
任务标签 初始
开发组
任务状态 已关闭
进度 100%
优先级 P2
关键词
抄送给
由谁创建 舒鹏明 于 2022-05-20 10:31:08
由谁完成 zhubin 于 2022-05-27 18:04:07
由谁取消 暂无
由谁关闭 周杰 于 2023-10-31 14:51:34
关闭原因 已完成
最后编辑 周杰 于 2023-10-31 14:51:34
团队 最初预计 总计消耗 预计剩余
工时信息
最初预计 16工时
总计消耗 16工时
预计剩余 0工时
预计开始 0000-00-00
实际开始 2022-05-27
截止日期 0000-00-00