Attributes total_tax within the TransactionTaxDetail model and rate_percent
within the SalesItemLineDetail model should not be set by default. Using
the :to_xml with no nil? check automatically creates that attribute within
a request. Using the proc returned from to_xml_big_decimal method does
do a nil check.

Lastly, the percent_based attribute
within the TaxLineDetail model should be a ROXML boolean.