0

私は、あらゆる種類の API アプリケーションにまったく慣れていません。現在、インドの E-bay サイトに商品を出品するための出品アプリケーションを作成しています。使用されている API バージョンは 767 で、サンドボックスの URL はhttps://api.sandbox.ebay.com/wsapiです。eBay(バイヤー/セラー)用のサンドボックス アカウントと開発者アカウントを持っています。

次のエラーが表示されます: 1) 新しい消費税 / VAT ポリシーに従って、リストから消費税 / VAT が削除されました。アイテムは正常にリストされます。リストを修正して、すべて込みの価格を指定できます。2) 登録していないか、支払い方法の登録に問題がある。

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

また、州ごとに課税を指定する必要がありますか? VAT と配送の詳細については、私のスニペットを次に示します。

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 に答える