avadev / AvaTax-REST-V2-DotNet-SDK

AvaTax v2 SDK for languages using the Dot Net Framework
Apache License 2.0
28 stars 37 forks source link

WithLine add parameter for line number #47

Closed mikegellis closed 2 years ago

mikegellis commented 6 years ago

The line number allows the developer to uniquely identify a line. That is is necessary so that in the client program the tax calculated and can be applied to the correct line item.

This was done for java sdk https://github.com/avadev/AvaTax-REST-V2-JRE-SDK/commit/03d95abb68508217b497d0661a21416d37f39135

jwenger100 commented 2 years ago

This functionality is added on the WithLineitem function as an optional parameter:

public TransactionBuilder WithLineItem(decimal amount, decimal quantity = 1, string taxCode = null, string description = null, string itemCode = null, string lineNumber = null, string entityUseCode = null) { string lineNumStr =