If you haven't checked the "invoice content" boxes on the invoice, VAT will not be shown on test print. Also the project's VAT code could be incorrect.