When I sold some software in Canada, I ended up get tax consultants which did that end of the paperwork. In some cases you pay VAT, and both at home and abroad. You need a tax consultant too.