Use Breww order address on Xero Invoice

We’ve double-checked this with Xero, and due to limitations on Xero’s side, this isn’t possible to implement, I’m afraid.

Quote from Xero API docs:

Addresses on Invoices

By default, the address applied to an invoice will use the postal (POBOX) address of the Contact. However, This can be changed in Xero by applying a custom invoice template. It is not possible to manually override the address on a per-invoice basis.

I also believe this cannot be done from within the Xero web interface manually, but I’m not 100% certain about this.

For anyone else reading this, it’s worth noting that this limitation doesn’t apply to our other accounting integrations, such as Quickbooks Online and Sage Accounting. For those other integrations, Breww will upload the invoice-specific addresses.