Discount

Uses the Component:BaseDiscountType

Discount Component.

Fields and Components

Table 6.17. Fields and Components

Name Description Occurrence Type Data Type User Notes
DiscountTypeCode

Discount type code.

0..1Field scl:DiscountTypeEnumeratedType  
OtherDiscountTypeCode

Other Discountt type code.

0..1Field oag:CodeType  
Description

Discount Description.

0..1Field oag:TextType  
DiscountScope

Describes the aggregation level of the discount. If it's a unit price, extended price, sub total, or total price.

0..1Field oag:TextType  
DiscountObject

Specifies what has been discounted in case the BOD doesn't include the object itself e.g., in an invoice.

0..1Field oag:TextType  
DiscountAmount

Discount amount.

0..1Field oag:AmountType  
DiscountPercent

Discount percent.

0..1Field oag:PercentType  
BasisQuantity

Basis Quantity.

0..1Field sqdt:QuantityType  
EffectivePeriod

A specific period of time such as the length of time between two known date/time points, from a start date onwards, or up to an end date of when something is effective.

0..1Componentoag:TimePeriodType 

Sample XML

The XML Sample provided here is an approximation of the generated XML for this component. Not all of the fields are required for implementation.

Example 6.24. Discount

<Discount>
     <DiscountTypeCode>......</DiscountTypeCode>     [0..1]
     <OtherDiscountTypeCode>......</OtherDiscountTypeCode>     [0..1]
     <Description>......</Description>     [0..1]
     <DiscountScope>......</DiscountScope>     [0..1]
     <DiscountObject>......</DiscountObject>     [0..1]
     <DiscountAmount>......</DiscountAmount>     [0..1]
     <DiscountPercent>......</DiscountPercent>     [0..1]
     <BasisQuantity>......</BasisQuantity>     [0..1]
     <EffectivePeriod>......</EffectivePeriod>     [0..1]
</Discount>