Tax Calculation XML Elements
Determination uses the following XML Input and XML Output elements. The following topics have tables describing individual elements.
Batch-level elements set the defaults for all invoices in the batch. They can be overridden by invoice-level elements of the same name.
If the element type is structural, the elements in the structure are listed immediately following, and are indented and italicized for easy scanning.
For XML Output Elements, an additional column describes if the element is saved to the audit tables.
Element Types
Each element is one of the following types:
- Structural: Contains sub-elements.
- Number: A number.
- Varchar2(x): A string of x characters. See the Warning below.
- Date: A date in YYYY-MM-DD format (ISO 8601). The representation in your database is dependent on your database configuration settings. The Output XML always returns the format shown above.
- Boolean: The Output XML always returns true or false. In the Input XML, you can also specify Y or N as a convenience to enable backwards compatibility.
Throughout this reference, elements listed as types such as varchar2(100) and varchar2(50) indicate the number of single-byte characters that can be successfully contained within the element. If you include multi-byte characters, you need to account for their size when submitting data. Most Western currencies and accented characters are 2 bytes; most Asian characters are 3 bytes; depending on your database character set setting, multi-byte characters may require more than 2 or 3 bytes of storage space.