【问题标题】:eBay API AddItem call on India site returns 'Sales Tax / VAT was dropped from the listing' error印度网站上的 eBay API AddItem 调用返回“销售税/增值税已从列表中删除”错误
【发布时间】:2012-04-10 09:44:26
【问题描述】:

我对任何类型的 API 应用程序都是全新的。现在我正在创建一个列表应用程序来列出 E-bay India 网站上的项目。 正在使用的 API 版本是 767, 沙盒 url 是 https://api.sandbox.ebay.com/wsapi。 我有 ebay(买家/卖家)的沙盒账户和开发者账户。

我收到错误消息: 1) 根据新的销售税/增值税政策,销售税/增值税已从列表中删除。项目将成功列出,您可以修改列表以指定全包价格。 2) 您尚未注册或您的付款方式注册有问题。

ItemType type = new ItemType();
 type.PaymentMethods = new BuyerPaymentMethodCodeTypeCollection();
 type.PaymentMethods.Add(BuyerPaymentMethodCodeType.PaisaPayAccepted);

我还必须为每个州指定税收吗? 有关增值税和运费的详细信息,这是我的 sn-p:

private ShippingDetailsType getShippingDetails()
        {
            // Shipping details.
            ShippingDetailsType sd = new ShippingDetailsType();          
            SalesTaxType salesTax = new SalesTaxType();
            ReadSettings rs = new ReadSettings();
            rs.GetSettings();
            salesTax.SalesTaxPercent = 12f;
            salesTax.SalesTaxState = "MH";
            SalesTaxType s = new SalesTaxType();
            salesTax.ShippingIncludedInTax = true;
            salesTax.ShippingIncludedInTaxSpecified = true;
            sd.ApplyShippingDiscount = true;
            AmountType at = new AmountType();
            at.Value = 2.8;
            at.currencyID = CurrencyCodeType.INR;
            sd.InsuranceFee = at;
            sd.InsuranceOption = InsuranceOptionCodeType.NotOffered;
            sd.PaymentInstructions = "These are my instructions.";
            VATDetailsType vd = new VATDetailsType();
            vd.BusinessSeller = false;
            vd.BusinessSellerSpecified = false;
            vd.RestrictedToBusiness = false;
            vd.RestrictedToBusinessSpecified = false;
            vd.VATID = "VATSNO1234567890";
            vd.VATPercent = 12f;
            vd.VATPercentSpecified = true;
            vd.VATSite = "None";

            sd.ShippingType = ShippingTypeCodeType.Flat;
            //
            ShippingServiceOptionsType st1 = new ShippingServiceOptionsType();
            sd.SalesTax = salesTax;
            st1.ShippingService = ShippingServiceCodeType.IN_Express.ToString();
            at = new AmountType();
            at.Value = 50;
            at.currencyID = CurrencyCodeType.INR;
            st1.ShippingServiceAdditionalCost = at;
            at = new AmountType();
            at.Value = 50;
            at.currencyID = CurrencyCodeType.INR;
            st1.ShippingServiceCost = at;
            st1.ShippingServicePriority = 1;
            at = new AmountType();
            at.Value = 1.0;
            at.currencyID = CurrencyCodeType.INR;
            st1.ShippingInsuranceCost = at;
            sd.ShippingServiceOptions = new ShippingServiceOptionsTypeCollection(new ShippingServiceOptionsType[] { st1 });
            return sd;
        }

感谢您的努力。

【问题讨论】:

    标签: c# ebay-api


    【解决方案1】:

    所以,来自 Ebay 的 .IN 网站。 http://pages.ebay.in/help/sell/new-sales-tax-policy.html 您需要修改您的列表以包含总(全包)价格。

    代码方面:

    // Before you assign the Item's price
    allInclusiveItemPrice = itemPrice * VAT; // Sales tax also if needed
    
    Then set the item.price = allInclusiveItemPrice //BuyItNowPrice or Auction price
    

    我不确定如何为印度设定税率。
    还有
    2) 您尚未注册或付款方式注册有问题。
    可能是个问题。我不确定这个错误在这种情况下意味着什么。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2014-06-26
      • 2023-03-24
      • 1970-01-01
      • 1970-01-01
      • 2015-06-28
      • 1970-01-01
      相关资源
      最近更新 更多