{"id":10316420,"date":"2018-05-24T06:42:25","date_gmt":"2018-05-24T06:42:25","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/shipping-codes\/"},"modified":"2018-05-24T06:42:25","modified_gmt":"2018-05-24T06:42:25","slug":"shipping-codes","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/shipping-codes\/","title":{"rendered":"Shipping codes"},"content":{"rendered":"<p>I am having exactly this problem which is outlined on the help page.<\/p>\n<p>Error sending invoices: \u201cTaxType code \u2018xxx\u2019 cannot be used with account code \u2018yyy\u2019<br \/>\nYou may see the following error in the order notes:<\/p>\n<p>ERROR creating Xero invoice: ErrorNumber: 10 ErrorType: ValidationException Message: A validation exception occurred Detail: The TaxType code \u2018xxx\u2019 cannot be used with account code \u2018yyy\u2019.<\/p>\n<p>If so, this is related to the shipping account being set to the wrong type in the WooCommerce Xero settings: it must match the account setting in Xero.  You can set it in the WooCommerce &gt; Xero settings option Treat Shipping As:<\/p>\n<p>The problem is that I don&#8217;t have &#8216;xero settings&#8217; as an option in my woocommerce settings.  What have I done wrong?<\/p>\n","protected":false},"template":"","class_list":["post-10316420","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/10316420","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/10316420\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=10316420"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}