diff --git a/src/main/java/net/avalara/avatax/rest/client/TransactionBuilder.java b/src/main/java/net/avalara/avatax/rest/client/TransactionBuilder.java index a49a1929..5ce5afee 100644 --- a/src/main/java/net/avalara/avatax/rest/client/TransactionBuilder.java +++ b/src/main/java/net/avalara/avatax/rest/client/TransactionBuilder.java @@ -218,6 +218,12 @@ public TransactionBuilder withLineAddress(TransactionAddressType type, String li return this; } + public TransactionBuilder withTaxIncluded(boolean taxIncluded) { + LineItemModel line = getMostRecentLine("WithLineAddress"); + line.setTaxIncluded(taxIncluded); + return this; + } + public TransactionBuilder withTaxOverride(TaxOverrideType type, String reason, BigDecimal taxAmount, Date taxDate) { if (taxAmount == null) { taxAmount = new BigDecimal(0);