Sales Tax code calculation question?

In the United States, sales tax is usually calculated for each invoice line, and the total sales tax on the invoice is the sum of sales taxes on each line. I want to clarify/confirm the options for marginal base is – “Net Line Amount” . The example in the demo data shows Invoice Total Invoice Amount. Which is correct?