In order to determine the correct tax treatment for an order and to categorise it correctly, Link My Books needs to determine the destination country.
In most cases this is very easy as Shopify include the country code in the Shipping Address for the order in the data we receive from them.
However, in some cases the country code or entire shipping address for an order is missing from the data. In these cases we follow this logic to determine the destination country for an order.
This logic is in priority order, so if we find the location in one step we don't need to move to the next step.
Country code in shipping address
Country name in shipping address
Country code/name in customer default address
Country code/name in customer billing address
Customer IP address
Store location (for POS orders)
Customer language
Customer currency
There are some exceptions to this country ruling too:
If country is UK but postcode starts with JE we change the country to Jersey
If country is UK but postcode starts with GY we change the country to Guernsey
If you have any questions about this article or feedback on how we could make it better please reach out to the support team via the blue chat icon on the bottom right of the page or via email to [email protected].