Constructor parameters.
Optional
baseThe tax base
Contains exactly 4 relative vertices coordinates (points) of a right rectangle containing the field in the document.
Optional
codeThe tax code (HST, GST... for Canadian; City Tax, State tax for US, etc..).
The confidence score of the prediction.
The document page on which the information was found.
Contains the relative vertices coordinates (points) of a polygon containing the field in the document.
Optional
rateThe tax rate.
true
when the field was reconstructed or computed using other fields.
Optional
valueThe tax amount.
Default string representation.
Output in a format suitable for inclusion in an rST table.
Static
arrayStatic
arrayStatic
compare
Represent a single tax line.