Uses the Component:BaseDiscountType
Discount Component.
Table 6.17. Fields and Components
| Name | Description | Occurrence | Type | Data Type | User Notes |
|---|---|---|---|---|---|
| DiscountTypeCode |
Discount type code. | 0..1 | Field | scl:DiscountTypeEnumeratedType | |
| OtherDiscountTypeCode |
Other Discountt type code. | 0..1 | Field | oag:CodeType | |
| Description |
Discount Description. | 0..1 | Field | oag:TextType | |
| DiscountScope |
Describes the aggregation level of the discount. If it's a unit price, extended price, sub total, or total price. | 0..1 | Field | oag:TextType | |
| DiscountObject |
Specifies what has been discounted in case the BOD doesn't include the object itself e.g., in an invoice. | 0..1 | Field | oag:TextType | |
| DiscountAmount |
Discount amount. | 0..1 | Field | oag:AmountType | |
| DiscountPercent |
Discount percent. | 0..1 | Field | oag:PercentType | |
| BasisQuantity |
Basis Quantity. | 0..1 | Field | 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..1 | Component | oag:TimePeriodType |
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>