amzn / selling-partner-api-models

This repository contains OpenAPI models for developers to use when developing software to call Selling Partner APIs.
Apache License 2.0
616 stars 738 forks source link

/finances/2024-06-19/transactions 返回的 transactionType 为 Retrocharge 并且 description 为 RetroChargeRefund 的数据不对 #4271

Open thesky2017 opened 3 weeks ago

thesky2017 commented 3 weeks ago

image 如上图 日期范围报告有 product sales tax 和 marketplace withheld tax
但是API 却返回如下图所示:无法区分是 product sales tax 和 marketplace withheld tax Array ( [sellingPartnerMetadata] => Array ( [sellingPartnerId] => xxxxx [marketplaceId] => xxxxxxx [accountType] => Standard Orders )

[transactionType] => Retrocharge
[transactionId] => xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
[transactionStatus] => Released
[relatedIdentifiers] => Array
    (
        [0] => Array
            (
                [relatedIdentifierName] => ORDER_ID
                [relatedIdentifierValue] => xxxxxxxxxxxxxxxxxxxxxxxx
            )

        [1] => Array
            (
                [relatedIdentifierName] => FINANCIAL_EVENT_GROUP_ID
                [relatedIdentifierValue] => xxxxxxxxxxxxxxxxxxxxxxxxxx
            )

    )

[totalAmount] => Array
    (
        [currencyAmount] => 0
        [currencyCode] => USD
    )

[description] => RetroChargeRefund
[postedDate] => 2024-08-18T01:24:20Z
[marketplaceDetails] => Array
    (
        [marketplaceId] => xxxxxxxxxxxxxxxx
        [marketplaceName] => Amazon.com
    )

[items] => 
[breakdowns] => Array
    (
        [0] => Array
            (
                [breakdownType] => Sales
                [breakdownAmount] => Array
                    (
                        [currencyAmount] => 0.7
                        [currencyCode] => USD
                    )

                [breakdowns] => Array
                    (
                        [0] => Array
                            (
                                [breakdownType] => Other
                                [breakdownAmount] => Array
                                    (
                                        [currencyAmount] => 0.7
                                        [currencyCode] => USD
                                    )

                                [breakdowns] => 
                            )

                    )

            )

        [1] => Array
            (
                [breakdownType] => Expenses
                [breakdownAmount] => Array
                    (
                        [currencyAmount] => -0.7
                        [currencyCode] => USD
                    )

                [breakdowns] => Array
                    (
                        [0] => Array
                            (
                                [breakdownType] => RetrochargeReversal
                                [breakdownAmount] => Array
                                    (
                                        [currencyAmount] => -0.7
                                        [currencyCode] => USD
                                    )

                                [breakdowns] => 
                            )

                    )

            )

    )

[contexts] => 

)

weilinggu commented 3 weeks ago

Hello @thesky2017,

Thank you for raising this issue.This issue requires further investigation, Please open a support case following the guidance here. Please ensure you provide the following information in your support case.

Thanks, Weiling Selling Partner API Developer Services