Allowance
Specifies the discount or allowance that the Customer is to receive off of the TotalAmount owed as a result of the associated document or sub-portion of a document.
Element information
Namespace: http://www.openapplications.org/oagis/10
Schema document: Common.xsd
Type: AllowanceType
Properties: Global, Qualified, ID: oagis-id-df5c422e45704c7eaaa09bfaefdc4c9a
Content
- Sequence [1..1]
- BasisAmount [0..1] Is the base amount from which the charge/allowance is derived.
- BasisQuantity [0..1] Is the base quantityfrom which the charge/allowance is derived.
- Description [0..*]
- Amount [0..1] The monetary value of the object in which the amount is associated
- Calculation [0..1] Specifies details for and the names and descriptions as to how a Charge or Allowance was calculated.
- ReasonCode [0..*] Identifies the reason for an activity
- CurrencyExchangeRate [0..*] A rate of exchange between two currencies.
- TimePeriod [0..1] An explicit period of time for the bucket.
- Extension [0..1] Allows the user of OAGIS to extend the specification in order to provide additional information that is not captured in OAGIS.This is done by defining the additional information in XML Schema and referencing the new schema in the xml instance document through the use of namespaces. Once this is done the additional information defined there can be carried in the BOD XML instance document.The Open Applications Group will make best efforts to quickly consider all proposed submissions.The Extension is always the last element in all components, except where the component has been extended inline.
from type IdentificationTypefrom type AllowanceChargeABIEType
Attributes
Name | Occ | Type | Description | Notes |
---|---|---|---|---|
typeCode | [0..1] | CodeType_1E7368 | from type IdentificationType | |
actionCode | [0..1] | ActionCodeContentType | from type IdentificationType | |
sequenceNumber | [0..1] | NumberType_B98233 | When an object occurs multiple times, this sequence number can be used to provide the order. | from type AllowanceChargeABIEType |
Used in
- Type DiscountAllowancePricingBaseType
- Type DiscountAllowancePricingType via extension of DiscountAllowancePricingBaseType (Elements DiscountAllowancePricing, ServicesDiscountAllowancePricing)
- Type FreightInvoiceHeaderBaseType
- Type FreightInvoiceHeaderType via extension of FreightInvoiceHeaderBaseType (Element FreightInvoiceHeader)
- Type InvoiceHeaderBaseType
- Type InvoiceHeaderType via extension of InvoiceHeaderBaseType (Element InvoiceHeader)
- Type OrderHeaderBaseType via extension of ProcurementHeaderBaseType
- Type ProcurementHeaderBaseType
- Type ProcurementScheduleBaseType
- Type PurchaseOrderHeaderBaseType via extension of ProcurementHeaderBaseType
- Type PurchaseOrderHeaderType via extension of ProcurementHeaderBaseType (Element PurchaseOrderHeader)
- Type PurchaseOrderScheduleType via extension of ProcurementScheduleBaseType (Element PurchaseOrderSchedule)
- Type QuoteHeaderBaseType via extension of ProcurementHeaderBaseType
- Type QuoteHeaderType via extension of ProcurementHeaderBaseType (Element QuoteHeader)
- Type QuoteScheduleBaseType via extension of ProcurementScheduleBaseType
- Type QuoteScheduleType via extension of ProcurementScheduleBaseType (Element QuoteSchedule)
- Type RFQHeaderBaseType via extension of ProcurementHeaderBaseType
- Type RFQHeaderType via extension of ProcurementHeaderBaseType (Element RFQHeader)
- Type RFQScheduleType via extension of ProcurementScheduleBaseType (Element RFQSchedule)
- Type SalesOrderHeaderBaseType via extension of ProcurementHeaderBaseType
- Type SalesOrderHeaderType via extension of ProcurementHeaderBaseType (Element SalesOrderHeader)
- Type SalesOrderScheduleBaseType via extension of ProcurementScheduleBaseType
- Type SalesOrderScheduleType via extension of ProcurementScheduleBaseType (Element SalesOrderSchedule)
- Type WarehouseShippingAdviceLineBaseType
- Type WarehouseShippingAdviceLineType via extension of WarehouseShippingAdviceLineBaseType (Element WarehouseShippingAdviceLine)
Sample instance
<Allowance> <ID/> <IDSet> <ID/> </IDSet> <BasisAmount/> <BasisQuantity>1.0</BasisQuantity> <Description/> <Amount/> <Calculation> <ID/> <IDSet> <ID/> </IDSet> <Formula/> <RateNumber>1.0</RateNumber> <Description/> <ApplicableTimePeriod> <InclusiveIndicator>true</InclusiveIndicator> <StartDateTime></StartDateTime> <StartTime>token</StartTime> <Duration>P1Y2M3DT10H</Duration> <EndDateTime></EndDateTime> <EndTime>token</EndTime> </ApplicableTimePeriod> <Extension> <AnyExtension> <!--any element--> </AnyExtension> <Amount/> <Code/> <DateTime></DateTime> <ID/> <Indicator>true</Indicator> <Measure/> <Name/> <Number>1.0</Number> <Quantity/> <Text/> <Time></Time> <ValueText>string</ValueText> </Extension> </Calculation> <ReasonCode>normalizedString</ReasonCode> <CurrencyExchangeRate> <ID/> <IDSet> <ID/> </IDSet> <SourceCurrencyCode>token</SourceCurrencyCode> <SourceUnitBaseNumber>1.0</SourceUnitBaseNumber> <TargetCurrencyCode>token</TargetCurrencyCode> <TargetUnitBaseNumber>1.0</TargetUnitBaseNumber> <RateNumber>1.0</RateNumber> <SetDateTime></SetDateTime> <SourceID>normalizedString</SourceID> <EffectiveTimePeriod> <InclusiveIndicator>true</InclusiveIndicator> <StartDateTime></StartDateTime> <StartTime>token</StartTime> <Duration>P1Y2M3DT10H</Duration> <EndDateTime></EndDateTime> <EndTime>token</EndTime> </EffectiveTimePeriod> <Extension> <AnyExtension> <!--any element--> </AnyExtension> <Amount/> <Code/> <DateTime></DateTime> <ID/> <Indicator>true</Indicator> <Measure/> <Name/> <Number>1.0</Number> <Quantity/> <Text/> <Time></Time> <ValueText>string</ValueText> </Extension> </CurrencyExchangeRate> <TimePeriod> <InclusiveIndicator>true</InclusiveIndicator> <StartDateTime></StartDateTime> <StartTime>token</StartTime> <Duration>P1Y2M3DT10H</Duration> <EndDateTime></EndDateTime> <EndTime>token</EndTime> </TimePeriod> <Extension> <AnyExtension> <!--any element--> </AnyExtension> <Amount/> <Code/> <DateTime></DateTime> <ID/> <Indicator>true</Indicator> <Measure/> <Name/> <Number>1.0</Number> <Quantity/> <Text/> <Time></Time> <ValueText>string</ValueText> </Extension> </Allowance>