0

我对任何类型的 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);

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

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;
        }

谢谢你的努力。

4

1 回答 1

0

因此,来自 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) 您尚未注册或您的付款方式注册有问题。
可能是个问题。我不确定这个错误在这种情况下意味着什么。

于 2012-09-14T03:41:31.130 回答