cosbe
Forum Replies Created
-
I also added now this into my php.ini. Woud this make a difference?
date.timezone = "Europe/myCity"
The timezone set for the city I am and is set as standard time, does show the local time correctly.
I do have LS cache plugin.
What precisely should I check with the timezone?!
done.
I would rather prefer to contact you on the website with this information, ok?
I updated to Woocommerce 8.5.2. Checked the debug mode and whatever numbers come from UPS API (NET rates without VAT), are interpreted as GROSS amounts WITH VAT included. Are any fixes in sight anytime soon?
In the meantime, I still offer UPS shipping at a loss due to the plugin not adding VAT to the net UPS live rate, but subtracting it from a net rate!
Please do something.
I understand. Thank you for taking care of this.
I missed the invitation to contact you on the website, but I don’t know if it is necessary now.
One thing to note, though, is that your Woocommerce seems to be older than the latest 8.5.0, which I have. Maybe this has an influence as well.
Looking forward to see how this can be solved. In the meantime, I pay VAT at UPS, which I don’t recover from the customer! Running at a loss here…
Let me get this straight: your environment gets UPS API rates in NET and your shop does add VAT to those rates while my shop subtracts VAT from those rates? Can you actually share this information in images, like I did? I would like to see your shop adding VAT on top of the exact NET rate received by the API.
Once again, in my case, the rate that plugin debug sees is exactly my negotiated NET rate that I see in the excel file that UPS gave me. The “fuel surcharge” might have been added for that particular zip code.
On another note, I don’t understand why you don’t simply add the VAT handling to the plugin, like you have for Flexible Shipping? Wouldn’t that clarify things immediately?the amount returned by the API is correct, and represents the NET amount!
You must investigate further, because the plugin tells the shop that the amount is GROSS and subtracts from it instead of adding tax to it. this is WRONG.
The confirmation of this comes from the picture I showed you, that UPS adds tax to the NET 11.28.
The shop subtracts tax from 11.28, and that is incorrect. I don’t know how more precisely than this, I am supposed to explain.
- This reply was modified 10 months, 1 week ago by cosbe.
hmm, if that is the case, then obviously there is still a problem with the plugin because the VAT on top of what is coming from UPS API is not added by the shop/plugin, but subtracted. So we are back at square one! It means the UPS rates plus added VAT are correct. The plugin tells the shop to subtract VAT from the net rate coming in. Is this not clear enough that is a huge problem!?! Basically your plugin forces me to pay tax FROM not FOR a net rate. And UPS charges me another VAT on top of the net rate. I wonder how this is not acknowledged by you with all the evidence provided.
- This reply was modified 10 months, 1 week ago by cosbe.
Now seeing the code it seems to me that the rates come as they should and the VAT is added on top of the NET negotiated rate: 9.44 + 1.84 = 11.28. Looks like a rounding problem, but it is just about there, 20%.
"NegotiatedRateCharges": { "BaseServiceCharge": { "CurrencyCode": "EUR", "MonetaryValue": "9.44" }, "ItemizedCharges": { "Code": "375", "CurrencyCode": "EUR", "MonetaryValue": "1.84" }, "TotalCharge": { "CurrencyCode": "EUR", "MonetaryValue": "11.28"
It looks like a sort of coincidence or at least something strange that the whole 11.28 reported by the API is actually used by UPS official cost calculator as NET and then they apply another 20% on top. That baffled me and I thought is the plugin at fault. I have to take this to them, because while the API works well in sending the negotiated rates and VAT amount (is that what it is? Code 375?), they charge another 20% on top. I believe the plugin actually does the job as it should, no? Admitting this, I must apologize for all the trouble that I have caused. I was mislead by the way they display the VAT on top of what their API is sending to the Shop.
{ "RateResponse": { "Response": { "ResponseStatus": { "Code": "1", "Description": "Success" }, "Alert": [ { "Code": "110971", "Description": "Your invoice may vary from the displayed reference rates" } ], "TransactionReference": { "CustomerContext": "Octolize Plugin", "TransactionIdentifier": "xwssoas281q7nLxf0stnKy" } }, "RatedShipment": [ { "Service": { "Code": "07", "Description": "" }, "RatedShipmentAlert": { "Code": "110971", "Description": "Your invoice may vary from the displayed reference rates" }, "BillingWeight": { "UnitOfMeasurement": { "Code": "KGS", "Description": "Kilograms" }, "Weight": "0.5" }, "TransportationCharges": { "CurrencyCode": "EUR", "MonetaryValue": "61.67" }, "BaseServiceCharge": { "CurrencyCode": "EUR", "MonetaryValue": "47.79" }, "ItemizedCharges": [ { "Code": "375", "CurrencyCode": "EUR", "MonetaryValue": "13.77" }, { "Code": "430", "CurrencyCode": "EUR", "MonetaryValue": "0.11", "SubType": "Commercial_Seasonal_Surcharge" } ], "ServiceOptionsCharges": { "CurrencyCode": "EUR", "MonetaryValue": "0.00" }, "TotalCharges": { "CurrencyCode": "EUR", "MonetaryValue": "61.67" }, "NegotiatedRateCharges": { "BaseServiceCharge": { "CurrencyCode": "EUR", "MonetaryValue": "14.06" }, "ItemizedCharges": [ { "Code": "375", "CurrencyCode": "EUR", "MonetaryValue": "4.07" }, { "Code": "430", "CurrencyCode": "EUR", "MonetaryValue": "0.11", "SubType": "Commercial_Seasonal_Surcharge" } ], "TotalCharge": { "CurrencyCode": "EUR", "MonetaryValue": "18.24" } }, "RatedPackage": { "NegotiatedCharges": { "BaseServiceCharge": { "CurrencyCode": "EUR", "MonetaryValue": "0.00" }, "TransportationCharges": { "CurrencyCode": "EUR", "MonetaryValue": "0.00" }, "ServiceOptionsCharges": { "CurrencyCode": "EUR", "MonetaryValue": "0.00" }, "TotalCharge": { "CurrencyCode": "EUR", "MonetaryValue": "0.00" } }, "Weight": "0.3" } }, { "Service": { "Code": "11", "Description": "" }, "RatedShipmentAlert": { "Code": "110971", "Description": "Your invoice may vary from the displayed reference rates" }, "BillingWeight": { "UnitOfMeasurement": { "Code": "KGS", "Description": "Kilograms" }, "Weight": "0.5" }, "TransportationCharges": { "CurrencyCode": "EUR", "MonetaryValue": "28.92" }, "BaseServiceCharge": { "CurrencyCode": "EUR", "MonetaryValue": "24.20" }, "ItemizedCharges": { "Code": "375", "CurrencyCode": "EUR", "MonetaryValue": "4.72" }, "ServiceOptionsCharges": { "CurrencyCode": "EUR", "MonetaryValue": "0.00" }, "TotalCharges": { "CurrencyCode": "EUR", "MonetaryValue": "28.92" }, "NegotiatedRateCharges": { "BaseServiceCharge": { "CurrencyCode": "EUR", "MonetaryValue": "9.44" }, "ItemizedCharges": { "Code": "375", "CurrencyCode": "EUR", "MonetaryValue": "1.84" }, "TotalCharge": { "CurrencyCode": "EUR", "MonetaryValue": "11.28" } }, "RatedPackage": { "NegotiatedCharges": { "BaseServiceCharge": { "CurrencyCode": "EUR", "MonetaryValue": "0.00" }, "TransportationCharges": { "CurrencyCode": "EUR", "MonetaryValue": "0.00" }, "ServiceOptionsCharges": { "CurrencyCode": "EUR", "MonetaryValue": "0.00" }, "TotalCharge": { "CurrencyCode": "EUR", "MonetaryValue": "0.00" } }, "Weight": "0.3" } }, { "Service": { "Code": "65", "Description": "" }, "RatedShipmentAlert": { "Code": "110971", "Description": "Your invoice may vary from the displayed reference rates" }, "BillingWeight": { "UnitOfMeasurement": { "Code": "KGS", "Description": "Kilograms" }, "Weight": "0.5" }, "TransportationCharges": { "CurrencyCode": "EUR", "MonetaryValue": "52.59" }, "BaseServiceCharge": { "CurrencyCode": "EUR", "MonetaryValue": "40.74" }, "ItemizedCharges": [ { "Code": "375", "CurrencyCode": "EUR", "MonetaryValue": "11.74" }, { "Code": "430", "CurrencyCode": "EUR", "MonetaryValue": "0.11", "SubType": "Commercial_Seasonal_Surcharge" } ], "ServiceOptionsCharges": { "CurrencyCode": "EUR", "MonetaryValue": "0.00" }, "TotalCharges": { "CurrencyCode": "EUR", "MonetaryValue": "52.59" }, "NegotiatedRateCharges": { "BaseServiceCharge": { "CurrencyCode": "EUR", "MonetaryValue": "12.07" }, "ItemizedCharges": [ { "Code": "375", "CurrencyCode": "EUR", "MonetaryValue": "3.50" }, { "Code": "430", "CurrencyCode": "EUR", "MonetaryValue": "0.11", "SubType": "Commercial_Seasonal_Surcharge" } ], "TotalCharge": { "CurrencyCode": "EUR", "MonetaryValue": "15.68" } }, "RatedPackage": { "NegotiatedCharges": { "BaseServiceCharge": { "CurrencyCode": "EUR", "MonetaryValue": "0.00" }, "TransportationCharges": { "CurrencyCode": "EUR", "MonetaryValue": "0.00" }, "ServiceOptionsCharges": { "CurrencyCode": "EUR", "MonetaryValue": "0.00" }, "TotalCharge": { "CurrencyCode": "EUR", "MonetaryValue": "0.00" } }, "Weight": "0.3" } } ] } }
Or, in other words, what customers must pays for shipping (13.54) should cancel out exactly what I’ll pay to UPS for his shipment (13.54). vAT included.
The plugin should add shop’s VAT to the rate taken from UPS without VAT.
Totally correct. Except I showed you that the live rate taken from UPS is 11.28 WITHOUT VAT!, and the plugin should add VAT on top of it (because I will pay 11.28 + VAT to UPS) so the shop can then subtract what the plugin added (IF). Instead, the shop acts correctly as it is set, and subtracts 20% from 11.28. So the customers pays for the shipping 11.28 including VAT, and I pay to UPS 13.54 including VAT. Do you really not see the problem?