In invoicing each line has its corresponding entries to Income & COGS, and its associated tax amount for the tax lines. The invoice lines and GL lines are one and the same.
Clifford MacKay, Support