Partner Zone

FreightTaxCode not validate with MYOB

This thread is now closed to new comments.
Some of the links and information provided in this thread may no longer be available or relevant.
If you have a question please start a new post.
rickybarker
2 Posts
User

2Posts

0Kudos

0Solutions

FreightTaxCode not validate with MYOB

Hi,

 

We use the WooCommerce plugin to sync orders from Woo to MYOB.

 

We have the file connected however we are getting this error:

 

An error has occurred when syncing your order with MYOB.
Oops! We had a problem processing your order.
Here is the posible errors:
Error code: 400
Name: SerializationError
Message:
Error Type: FreightTaxCode not validate with MYOB

 

Any ideas? all tax codes are set to S15 and i have just eneabled the "I charge freight on sales" via the "Linked Account" menu.

 

We dont actually charge any shipping with our orders. Everything was working fine up untill a couple of days ago, nothing has been changed in Woo or MYOB.

5 REPLIES 5
kjm
Trusted Cover User
160 Posts
Trusted Cover User
Australia
Trusted Cover User

160Posts

20Kudos

2Solutions

Re: FreightTaxCode not validate with MYOB

from https://woocommerce.com/document/myob/


SerializationError kinda gives it away. trying to serialize a null is probably your problem

“Name”: “SerializationError”
“Message”: null
“AdditionalDetails”
“Error converting value {null} to type ‘System.Guid’. Path ‘Lines[0].Item.UID’, line 1, position 454.”,
“ErrorCode”: 50,
“Severity”: “Error”,
“LearnMore”: null

Ordered items are not found in the MYOB dashboard and under WooCommerce >Settings > MYOB AccountRight  “Create Product in MYOB if Not Found” option is disabled.

Enable “Create Product in MYOB if Not Found”. 

 

rickybarker
2 Posts
User

2Posts

0Kudos

0Solutions

Re: FreightTaxCode not validate with MYOB

Hi kjm,

 

The "Create Product in MYOB if Not Found" is ticked and selected in WooCom settings.

 

I have unselected the option and tried to resync invoice manually, and it still produces the same error.

 

The products already exist in MYOB as the integration has been working.

 

I have removed the item from MYOB directly, and still same error.

 

Cheers

 

kjm
Trusted Cover User
160 Posts
Trusted Cover User
Australia
Trusted Cover User

160Posts

20Kudos

2Solutions

Re: FreightTaxCode not validate with MYOB

have you put fiddler or postman on the request to see what your sending?

 

if you capture the request from WooCommerce using Fiddler, browser or something (sorry no experience with Woo) then send that request using Postman to your API you might find some more info. 

 

Atleast you'd be able to see if the TaxCode in the request from Woo is null or not or if it is a different data type to what MYOB is expecting

 

On what object is the FreightTax Code?

kjm
Trusted Cover User
160 Posts
Trusted Cover User
Australia
Trusted Cover User

160Posts

20Kudos

2Solutions

Re: FreightTaxCode not validate with MYOB

I see it on the Invoice/Item Object. 

 

So you're creating an ITEM?
The request out of Woo into MYOB should look lik this then Item (myob.com)

Check the FreightTaxCode that is being sent from Woo and using postman then do a GET on it and see if it comes back

Sean_DC
MYOB Moderator
702 Posts
MYOB Moderator
MYOB Moderator

702Posts

44Kudos

48Solutions

Re: FreightTaxCode not validate with MYOB

Hi @rickybarker 

Thank you for your post. For any API error integration related queries we recommend raising a support request via the following link: https://apisupport.myob.com/hc/en-us/requests/new

 

 

Please feel free to post again. I'm happy to assist further.

 

If my response has answered your enquiry please click "Accept as Solution" to assist other users to find this information.

 

 

Cheers,
Sean
Also known @Sean_DC

MYOB Community Forum

Online Help| Forum Search| my.MYOB| Download Page

Did my answer help?

Accept it as a Solution
Leave a to tell others

Didn't find your answer here?

Try using advanced search to find a post more easily Advanced Search
or
Get the conversation started and make a new post Start a Post