Discussions
API Material Price shows incorrectly on Phone App until tax display setting (ex/inc) is toggled 2 times on computer.
API Price Display and Tax View Setting Issues:
Problem 1. Computer > Job Card Billing Screen. When API posts Materials, Tax View Setting changes to Ex GST but Inc GST price loads.
Problem 2. Phone App > Main Job Card Screen. When API posts ServiceM8 Phone App is adding additional 10% ontop of GST Inclusive Price.
We've had a consitent Tax handling issue with the API, and it looks like maybe a bug in the phone app of how the amount is being displayed for API created Item/Service.
Notes:
Our Material Price is 518 Includes Tax Yes, and Material Cost 0.00.
Global tax settings inclusive.
Last opened job card closed with Amount GST Inclusive selected (now should be the default)
As a B2C business, we don't want to see or handle EX GST. We only want to see and handle INC GST Prices.
$uuid = \[
'job_uuid' => $jobData[0]['uuid'],
'material_uuid' => $jmdfs['uuid']
];
$uuidData\[] = $uuid;
$ex_price = number_format($price/1.1,2);
//echo $ex_price;
$post = [
'active' => $jmdfs['active'],
'job_uuid' => $jobData[0]['uuid'],
'material_uuid' => $jmdfs['uuid'],
'name' => $namedata,
'quantity' => 1,
'price' => $ex_price,
'displayed_amount' => $price,
'displayed_amount_is_tax_inclusive'=>'true',
As above, ex_price = 470.91 and displayed_amount = 518
To clarify
GST Exclusive = 470.91
GST Amount = 47.09
GST Inclusive 518
Testing different Tax View Settings:
Scenario 1.
If we post with job card closed on pc the price loads correctly (inc gst) but tax view setting Amount GST Exclusive has been applied by ServiceM8. If I toggle to Inclusive the price doesn't change. Now if I toggle back to Excluding view ServiceM8 automatically calcluates Ex GST Price and now displays correctly. Then when I toggle back to Including GST view, the correct amount is showing for this view.
Scenario 2.
if we post with job card open view setting Incuding GST shown, the price loads correctly. Then toggle Ex GST the price doesn't adjust, then toggle inc gst again and price doesn't adjust, then if I toggle ex gst again, now the price adjusts to the correctly calculated ex gst price. Then toggle back to inc gst and now it's correctly displayed.
Scenario 3.
if we post with the job card not open on a computer. Then open the job through phone app (no other steps) the price is shown as 569.80. The system has added an additional 10%, but this only displays on the phone app job card screen. If I then open job card on pc and toggle the Tax View Settings as per Scenario 1 or 2, the price updates live on the phone to then show correctly. Note, this only adjusts if I haven't opened Billing, or haven't generated a Quote. Once Billing has been opened, or a quote generated from the phone, the price does not update correctly.
We mainly use the Phone App for all quoting (but also use pc from office). We need the price to load correctly on the phone inline with pc price.
Has anyone had this problem, are there any fixes we could apply?
ServiceM8 team, if this is isolated, can you please help me diagnose why this could be happening.
Thanks for taking the time to read this! Appreciate any feeback. Thanks.