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
611 stars 733 forks source link

[BUG] [SP-API] [Issue] Invalid value 'JE_VOEC' for 'deemed_reseller_category', must be one of 'IOSS', 'UOSS', 'SG_VOEC', 'GB_VOEC', 'NO_VOEC', 'CA_MPF', 'AU_VOEC', 'NZ_VOEC', 'CH_SUPPLIER_IMPORT' #2629

Closed dv336699 closed 1 year ago

dv336699 commented 1 year ago

I'm submitting a...

[ ] Regression (a behavior that used to work and stopped working in a new release)
[X] Bug report  
[ ] Feature request
[ ] Documentation issue or request
[ ] Other... Please describe:

This issue is similar to the one I'm reporting now https://github.com/amzn/selling-partner-api-models/issues/1586

Invalid value 'JE_VOEC' for 'deemed_reseller_category', must be one of 'IOSS', 'UOSS', 'SG_VOEC', 'GB_VOEC', 'NO_VOEC', 'CA_MPF', 'AU_VOEC', 'NZ_VOEC', 'CH_SUPPLIER_IMPORT'`

This is a private integration and the seller is UK based.

In seller central I see

Marketplace facilitator order (legislation: UK VAT on eCommerce): Amazon is collecting VAT on this transaction.

This is a marketplace facilitator order and hence VAT is being collected and remitted to the tax authorities by Amazon. Your net proceeds will not include VAT for marketplace facilitator order. Please visit Tax regulations - help page for additional information.

jlevers commented 1 year ago

Someone encountered this issue in my library too: https://github.com/jlevers/selling-partner-api/issues/570

dv336699 commented 1 year ago

@jlevers thanks, I didn't realised it could be an issue with the php library. Closing.

mcphelan commented 1 year ago

This bug doesn't look fixed to me - This breaks code when unrecognised enum is returned.

Are the models going to be updated to include these new Enums? As not mentioned here https://github.com/amzn/selling-partner-api-models/blob/main/models/orders-api-model/ordersV0.json

Given the documentations suggest using them here - https://developer-docs.amazon.com/sp-api-blog/docs/automate-your-sp-api-calls-using-the-c-sdk