业务需求
需求描述

背景:智能采集数据已预备上线阶段, 需数据中心进行对接



需求:

http://139.9.47.106:8001/swagger/index.html
http://139.9.47.106:8001/PaymentBalances?$filter=SellerId eq 'A7HZCBVX53G4O'  
数据字段过滤 通过 $filter= 字段 操作符(eq nq 等等 参照odata 协议) 值 的方式
odata 详细协议 参照 https://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part2-url-conventions.html#_Toc31360959 

对接内容4 类: 平台余额,亚马逊账单汇总,亚马交易明细 ,亚马交易结算

平台余额

http://139.9.47.106:8001/PaymentBalances

class PaymentBalance {

    Id: number;

    /** 账号名称 */

    PartnerName: string;

    /** 国家代码 */

    CountryCode: string;

    /** 创建日期 */

    Date: string;

    /** 账户类型 PAYABLE:标准订单 INVOICING:发票订单 */

    AccountType: string;

    /** 订单类型:Standard Orders or  Invoiced Orders*/

    MarketplaceName: string;

    /**总余额币种 */

    TotalUnit: string;

    /**总余额 */

    TotalAmount: number;

    /**当前可用资金币种 */

    NowUnit: string;

    /**当前可用资金金额 */

    NowAmount: number;

    /**结算结束时可用资金币种 */

    EndUnit: string;

    /**结算结束时可用资金金额 */

    EndAmount: number;

    /** 卖家ID */

    SellerId: string;

    /** 市场ID */

    MarketplaceId: string;

}


亚马逊账单汇总

http://139.9.47.106:8001/PaymentSummaries


export interface PaymentSummary {

    Id: number;

    /** 账号名称 */

    PartnerName: string;

    /**国家代码 */

    CountryCode: string;

    /** id */

    Identifier: string;

    /** 账户类型 PAYABLE:标准订单 INVOICING:发票订单 */

    Kind: PaymentAccountKind;

    /**开始时间 */

    StartTime: Date;

    /**结束时间 */

    EndTime?: Date;

    /** 币种 */

    Unit: string;

    /**状态 */

    Status: string;

    /** 转账明细记录 */

    Transfers: PaymentTransfer[];

    /** 总收入 */

    TotalAmount: number;

    /** 净收入 */

    NetProceedsAmount: number;

    /** 销售额 */

    SalesAmount: number;

    /** 支出 */

    ExpensesAmount: number;

    /** 期初余额 */

    BeginningBalanceAmount: number;

    /** 账户级别的预留金额 */

    AccountLevelReserveAmount: number;

    /** 退款金额 */

    RefundsAmount: number;

    /** 卖家ID */

    SellerId: string;

    /** 市场ID */

    MarketplaceId: string;

}


export interface PaymentTransfer {


    Id: number;

    /**银行转账编号 */

    Identifier: string;

    /** 转账状态 */

    PayoutStatus: string;

    /** 转账发起日期 */

    InitiatedTime: Date;

    /** 转账完成日期 */

    CompletionTime?: Date;

    /**币种 */

    Unit: string;

    /**金额 */

    Amount: number;

    /**错误信息 */

    ErrorCode: string;

    /** 账户尾号 */

    AccountTail: string

}


亚马交易明细

http://139.9.47.106:8001/PaymentReports

export interface PaymentReport {


    Id: number;

    /** 账号名称 */

    PartnerName: string;

    /**国家代码 */

    CountryCode: string;

    /** 卖家ID */

    SellerId: string;

    /** 市场ID */

    MarketplaceId: string;

    /**日期 */

    Date: Date;

    /**结算id */

    SettlementId: string;

    /**结算类型*/

    Type?: string;

    /**平台订单号*/

    OrderId?: string;

    /**渠道SKU*/

    SKU?: string;

    /**描述*/

    Description?: string;

    /**数量*/

    Quantity?: number;

    /**区域编号*/

    Marketplace?: string;

    /**账号类型*/

    AccountType?: string;

    /**Fulfillment*/

    Fulfillment?: string;

    /**订单国家*/

    OrderCity?: string;

    /**订单状态*/

    OrderState?: string;

    /**OrderPostal*/

    OrderPostal?: string;

    /**税费类型*/

    TaxCollectionModel?: string;

    /**商品销售收入*/

    ProductSales?: number;

    /**商品税*/

    ProductSalesTax?: number;

    /**运费费*/

    ShippingCredits?: number;

    /**运费税*/

    ShippingCreditsTax?: number;

    /**包装费*/

    GiftWrapCredits?: number;

    /**包装税*/

    GiftwrapCreditsTax?: number;

    /**COSTPOINTS*/

    CostPoints?: number;

    /**优惠金额*/

    PromotionalRebates?: number;

    /**优惠税*/

    PromotionalRebatesTax?: number;

    /**销售税*/

    SalesTaxCollected?: number;

    /**MarketplaceWithheldTax*/

    MarketplaceWithheldTax?: number;

    /**LowValueGoods*/

    LowValueGoods?: number;

    /**标签费*/

    TotalSalesTaxLiable?: number;

    /** TCS_CGST */

    TCS_CGST?: number;

    /** TCS_SGST */

    TCS_SGST?: number;

    /** TCS_IGST */

    TCS_IGST?: number;

    /** SellingFees */

    SellingFees?: number;

    /**亚马逊平台运费*/

    FbaFees?: number;

    /**OtherTransactionFees*/

    OtherTransactionFees?: number;

    /**其他 */

    Other?: number;

    /** Total */

    Total?: number;

}

亚马交易结算

http://139.9.47.106:8001/PaymentSettlement

export interface PaymentStatementsReport {

    /** 卖家ID */

    SellerId: string;

    /** 市场ID */

    MarketplaceId: string;

    /** 账号名称 */

    PartnerName: string;

    /**国家代码 */

    CountryCode: string;

    /**结算id */

    SettlementId: string;

    /** 开始日期 */

    StartDate?: Date;

    /** 结束日期 */

EndDate?: Date;

/** 划款日期 */

    DepositDate?: Date;

    /** 总金额 */

    TotalAmount?: number;

     /** 币种 */

    Currency?: string;

    /** 结算明细 */

    items: PaymentStatementsDetailsReport[];

    /** 账户类型 PAYABLE:标准订单 INVOICING:发票订单 */

    Kind: string;

}

export interface PaymentStatementsDetailsReport {

    /**结算id */

    SettlementId: string;

    /**TransactionType*/

    TransactionType?: string;

    /**平台订单号*/

    OrderId?: string;

    /**MerchantOrderId*/

    MerchantOrderId?: string;

    /**调整类ID*/

    AdjustmentId?: string;

    /**店铺类ID*/

    ShipmentId?: string;

    /**区域名称*/

    MarketplaceName?: string;

    /**费用类型*/

    AmountType?: string;

    /**费用描述*/

    AmountDescription?: string;

    /**费用金额*/

    Amount?: number;

    /**FulfillmentId*/

    FulfillmentId?: string;

    /**PostedDate*/

    PostedDate?: Date;

    /**PostedDateTime*/

    PostedDateTime?: Date;

    /**OrderItemCode*/

    OrderItemCode?: string;

    /** MerchantOrderItemId */

    MerchantOrderItemId?: string;

    /**AdjustmentItemId*/

    MerchantAdjustmentItemId?: string;

    /**渠道SKU */

    Sku?: string;

    /**渠道SKU*/

    QuantityPurchased?: string;

    /**优惠ID*/

    PromotionId?: string;

}



对接报告类型:
验收标准
价值描述
独立项目
历史记录  
  1. 2022-03-12 16:40:45, 由 林很 创建。
  2. 2022-03-12 17:44:04, 由 刘灿 记录评审结果,结果为 确认通过。
    修改了 评审时间,旧值为 "0000-00-00",新值为 "2022-03-12"。
    修改了 指派给 ,旧值为 "Admin186",新值为 "linhen"。
    修改了 当前状态,旧值为 "draft",新值为 "active"。
    修改了 由谁评审,旧值为 "",新值为 "Admin186"。
    让架构师评审存储方案
  3. 2022-03-15 16:55:19, 由 林很 关联到迭代 平台财务数据自动化获取(接口/小工具) 。
  4. 2022-03-15 16:55:43, 由 林很 指派给 许瑞丰。
    修改了 指派给,旧值为 "linhen",新值为 "xuruifeng"。
  5. 2022-09-22 14:34:22, 由 林很 编辑。
    修改了 指派给 ,旧值为 "xuruifeng",新值为 "shupengming"。
    修改了 需求来源,旧值为 "xm",新值为 ""。
  6. 2022-09-22 14:37:01, 由 林很 编辑。
    修改了 受益业务部门,旧值为 "",新值为 "10"。
    修改了 所属模块 ,旧值为 "1644",新值为 "1679"。
    修改了 所属计划 ,旧值为 "522",新值为 "537"。
    修改了 需求来源 ,旧值为 "",新值为 "it"。
    修改了 指派给 ,旧值为 "shupengming",新值为 "xuruifeng"。
  7. 2022-09-22 15:10:10, 由 林很 关闭,原因为 已完成 。
    修改了 关闭原因,旧值为 "",新值为 "done"。
    修改了 当前状态,旧值为 "active",新值为 "closed"。
    修改了 指派给 ,旧值为 "xuruifeng",新值为 "closed"。
    修改了 所处阶段,旧值为 "projected",新值为 "closed"。
    修改了 关闭日期,旧值为 "0000-00-00 00:00:00",新值为 "2022-09-22 15:10:10"。
    修改了 由谁关闭,旧值为 "",新值为 "linhen"。
  8. 2022-11-04 08:33:41, 由 梁贵荣 从计划 #537 (待删除)Backlog_FMS 移除。
  9. 2023-03-04 15:26:44, 由 周杰 编辑。
    修改了 所属模块,旧值为 "1679",新值为 "1748"。
迭代版本
提报业务部门
提报人员 独立项目
需求来源 公司战略需求
所属项目 技术中心-需求池
所属模块 财务   财务管理
所属计划
业务价值
开发组
受益业务部门 技术研发中心
验收人员
业务目标类型
中心业务目标
业务价值 控制风险
每月价值量 独立项目
每月节省人数 0
优先级 P2
价值类型
预计工时 48
成本
ROI
操作手册
高价值
主被动
复杂度
工作流ID
工作流创建时间
更新点
是否高危 否
评分
当前状态 已关闭
所处阶段 已关闭
关键词
评审次数
计划上线
上线时间
计划验收时间
业务验收时间
满意度
价值验收
满意度分值
业务回填价值
验收达成价值
验收达成ROI
抄送给
由谁创建 林很 于 2022-03-12 16:40:45
指派给 Closed 于 2022-09-22 15:10:10
由谁评审 刘灿
评审时间 2022-03-12
由谁关闭 林很 于 2022-09-22 15:10:10
关闭原因 已完成
最后修改 周杰 于 2023-03-04 15:26:39
相关Bug
相关用例
相关需求
细分需求