<?php
namespace ModulesAbstract\ElectronicInvoice\UBL21Structure;

/**
 * TaxTotal
 *
 * @see http://www.datypic.com/sc/ubl21/e-cac_TaxTotal.html
 */
class TypeTaxTotal extends AbstractPeppolElement
{

	/**
	 * cbc:TaxAmount, 1..1, MANDATORY tag
	 *
	 * The total tax amount for a particular taxation scheme, e.g., VAT; the sum of the tax subtotals for each tax category
	 *   within the taxation scheme.
	 * @var mixed
	 */
	public $TaxAmount = null;

	/**
	 * cbc:RoundingAmount, 0..1, optional tag
	 *
	 * The rounding amount (positive or negative) added to the calculated tax total to produce the rounded TaxAmount.
	 * @var mixed
	 */
	public $RoundingAmount = null;

	/**
	 * cbc:TaxEvidenceIndicator, 0..1, optional tag
	 *
	 * An indicator that this total is recognized as legal evidence for taxation purposes (true) or not (false).
	 * @var mixed
	 */
	public $TaxEvidenceIndicator = null;

	/**
	 * cbc:TaxIncludedIndicator, 0..1, optional tag
	 *
	 * An indicator that tax is included in the calculation (true) or not (false).
	 * @var mixed
	 */
	public $TaxIncludedIndicator = null;

	/**
	 * cac:TaxSubtotal, 0..*
	 *
	 * One of the subtotals the sum of which equals the total tax amount for a particular taxation scheme.
	 * @var mixed
	 */
	public $TaxSubtotal = null;

}
