<?php
namespace ModulesAbstract\ElectronicInvoice\UBL21Structure;

/**
 * CreditNoteLine
 *
 * @see http://www.datypic.com/sc/ubl21/e-cac_CreditNoteLine.html
 */
class TypeCreditNoteLine extends AbstractPeppolElement
{

	/**
	 * cbc:ID, 1..1, MANDATORY tag
	 *
	 * An identifier for this credit note line.
	 * @var mixed
	 */
	public $ID = null;

	/**
	 * cbc:UUID, 0..1, optional tag
	 *
	 * A universally unique identifier for this credit note line.
	 * @var mixed
	 */
	public $UUID = null;

	/**
	 * cbc:Note, 0..*
	 *
	 * Free-form text conveying information that is not contained explicitly in other structures.
	 * @var mixed
	 */
	public $Note = null;

	/**
	 * cbc:CreditedQuantity, 0..1, optional tag
	 *
	 * The quantity of items on this credit note line.
	 * @var mixed
	 */
	public $CreditedQuantity = null;

	/**
	 * cbc:LineExtensionAmount, 1..1, MANDATORY tag
	 *
	 * The total amount for this credit note line, including allowance charges but net of taxes.
	 * @var mixed
	 */
	public $LineExtensionAmount = null;

	/**
	 * cbc:TaxPointDate, 0..1, optional tag
	 *
	 * The date of this credit note line, used to indicate the point at which tax becomes applicable.
	 * @var mixed
	 */
	public $TaxPointDate = null;

	/**
	 * cbc:AccountingCostCode, 0..1, optional tag
	 *
	 * The buyer's accounting cost centre for this credit note line, expressed as a code.
	 * @var mixed
	 */
	public $AccountingCostCode = null;

	/**
	 * cbc:AccountingCost, 0..1, optional tag
	 *
	 * The buyer's accounting cost centre for this credit note line, expressed as text.
	 * @var mixed
	 */
	public $AccountingCost = null;

	/**
	 * cbc:PaymentPurposeCode, 0..1, optional tag
	 *
	 * A code signifying the business purpose for this payment.
	 * @var mixed
	 */
	public $PaymentPurposeCode = null;

	/**
	 * cbc:FreeOfChargeIndicator, 0..1, optional tag
	 *
	 * An indicator that this credit note line is free of charge (true) or not (false). The default is false.
	 * @var mixed
	 */
	public $FreeOfChargeIndicator = null;

	/**
	 * cac:InvoicePeriod, 0..*
	 *
	 * An invoice period to which this credit note line applies.
	 * @var mixed
	 */
	public $InvoicePeriod = null;

	/**
	 * cac:OrderLineReference, 0..*
	 *
	 * A reference to an order line associated with this credit note line.
	 * @var mixed
	 */
	public $OrderLineReference = null;

	public $DiscrepancyResponse = null;

	/**
	 * cac:DespatchLineReference, 0..*
	 *
	 * A reference to a despatch line associated with this credit note line.
	 * @var mixed
	 */
	public $DespatchLineReference = null;

	/**
	 * cac:ReceiptLineReference, 0..*
	 *
	 * A reference to a receipt line associated with this credit note line.
	 * @var mixed
	 */
	public $ReceiptLineReference = null;

	/**
	 * cac:BillingReference, 0..*
	 *
	 * A reference to a billing document associated with this credit note line.
	 * @var mixed
	 */
	public $BillingReference = null;

	/**
	 * cac:DocumentReference, 0..*
	 *
	 * A reference to a document associated with this credit note line.
	 * @var mixed
	 */
	public $DocumentReference = null;

	/**
	 * cac:PricingReference, 0..1, optional tag
	 *
	 * A reference to pricing and item location information associated with this credit note line.
	 * @var mixed
	 */
	public $PricingReference = null;

	/**
	 * cac:OriginatorParty, 0..1, optional tag
	 *
	 * The party who originated the Order to which the CreditNote is related.
	 * @var mixed
	 */
	public $OriginatorParty = null;

	/**
	 * cac:Delivery, 0..*
	 *
	 * A delivery associated with this credit note line.
	 * @var mixed
	 */
	public $Delivery = null;

	/**
	 * cac:PaymentTerms, 0..*
	 *
	 * A specification of payment terms associated with this credit note line.
	 * @var mixed
	 */
	public $PaymentTerms = null;

	/**
	 * cac:TaxTotal, 0..*
	 *
	 * A total amount of taxes of a particular kind applicable to this credit note line.
	 * @var mixed
	 */
	public $TaxTotal = null;

	/**
	 * cac:AllowanceCharge, 0..*
	 *
	 * An allowance or charge associated with this credit note line.
	 * @var mixed
	 */
	public $AllowanceCharge = null;

	/**
	 * cac:WithholdingTaxTotal, 0..*
	 *
	 * A reference to a TaxTotal class describing the amount that has been withhold by the authorities.
	 * @var mixed
	 */
	public $WithholdingTaxTotal = null;

	/**
	 * cac:Item, 1..1, MANDATORY tag
	 *
	 * The item associated with this credit note line.
	 * @var mixed
	 */
	public $Item = null;

	/**
	 * cac:Price, 0..1, optional tag
	 *
	 * The price of the item associated with this credit note line.
	 * @var mixed
	 */
	public $Price = null;

	/**
	 * cac:DeliveryTerms, 0..1, optional tag
	 *
	 * Terms and conditions of the delivery associated with this credit note line.
	 * @var mixed
	 */
	public $DeliveryTerms = null;

	/**
	 * cac:SubCreditNoteLine, 0..*
	 *
	 * A credit note line subsidiary to this credit note line.
	 * @var mixed
	 */
	public $SubCreditNoteLine = null;

	/**
	 * cac:ItemPriceExtension, 0..1, optional tag
	 *
	 * The price extension, calculated by multiplying the price per unit by the quantity of items on this credit note line.
	 * @var mixed
	 */
	public $ItemPriceExtension = null;

}
