complexType AllowanceAndChargeType
diagram AbaDoc-2.0041_p35.png
children abans:Detail abans:Total
used by
element DocumentType/LineItem/AllowanceAndCharge
annotation
documentation
Information about an allowance (for example, a Discount) or a charge (e.g. Shipping and handling costs)

element AllowanceAndChargeType/Detail
diagram AbaDoc-2.0041_p36.png
properties
minOcc 0
maxOcc unbounded
content complex
children abans:BaseAmount abans:Rate abans:Amount abans:Tax abans:UseSubTotalForNextDetail abans:AgreedCode abans:Description
annotation
documentation
Detailed specification of an allowance or charge. If present, the sum of the Amount values must match the appropriate elements in Total

element AllowanceAndChargeType/Detail/BaseAmount
diagram AbaDoc-2.0041_p37.png
type extension of abans:AmountType
properties
minOcc 0
maxOcc 2
content complex
attributes
Name  Type  Use  Default  Fixed  Annotation
currency  derived by: abans:CurrencyType  required      
inclusiveTax  xs:boolean  optional  false    
annotation
documentation
Basis for allowance or charge calculation. Usually, this is positive even for allowances.
There may be two values present, one incl. and one excl. tax. The must have the same currency.

attribute AllowanceAndChargeType/Detail/BaseAmount/@inclusiveTax
type xs:boolean
properties
use optional
default false

element AllowanceAndChargeType/Detail/Rate
diagram AbaDoc-2.0041_p38.png
type abans:RateType
properties
minOcc 0
maxOcc 1
content complex
attributes
Name  Type  Use  Default  Fixed  Annotation
category  abans:RateEnum  optional      
documentation
S=Standard
M=Mixed
E=Excempt
annotation
documentation
Percentage of BaseAmount for allowance or charge. In case of allowance, this value is usually negative.

element AllowanceAndChargeType/Detail/Amount
diagram AbaDoc-2.0041_p39.png
type extension of abans:AmountType
properties
minOcc 0
maxOcc 2
content complex
attributes
Name  Type  Use  Default  Fixed  Annotation
currency  derived by: abans:CurrencyType  required      
inclusiveTax  xs:boolean  optional  false    
annotation
documentation
Resulting Amount of allowance or charge. In case of allowance, this value is usually negative.
There may be two values present, one incl. and one excl. tax. The must have the same currency.

attribute AllowanceAndChargeType/Detail/Amount/@inclusiveTax
type xs:boolean
properties
use optional
default false

element AllowanceAndChargeType/Detail/Tax
diagram AbaDoc-2.0041_p40.png
type abans:TaxType
properties
minOcc 0
maxOcc 1
content complex
children abans:Detail abans:TotalBaseAmount abans:TotalAmount
annotation
documentation
Tax info for this allowance or charge

element AllowanceAndChargeType/Detail/UseSubTotalForNextDetail
diagram AbaDoc-2.0041_p41.png
type xs:boolean
properties
minOcc 0
maxOcc 1
content simple
default false
annotation
documentation
True if the next allowance or charge is to be calculated regarding the Amount of this Detail element.

element AllowanceAndChargeType/Detail/AgreedCode
diagram AbaDoc-2.0041_p42.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
Mutually Agreed code for allowance or charge

element AllowanceAndChargeType/Detail/Description
diagram AbaDoc-2.0041_p43.png
type abans:StringWithLanguageType
properties
minOcc 0
maxOcc 1
content complex
attributes
Name  Type  Use  Default  Fixed  Annotation
language  abans:LanguageType  optional      
annotation
documentation
Description of this detail

element AllowanceAndChargeType/Total
diagram AbaDoc-2.0041_p44.png
properties
minOcc 0
maxOcc 1
content complex
children abans:Amount abans:Tax
annotation
documentation
Total of all Allowances or Charges

element AllowanceAndChargeType/Total/Amount
diagram AbaDoc-2.0041_p45.png
type extension of abans:AmountType
properties
minOcc 0
maxOcc 2
content complex
attributes
Name  Type  Use  Default  Fixed  Annotation
currency  derived by: abans:CurrencyType  required      
inclusiveTax  xs:boolean  optional  false    

attribute AllowanceAndChargeType/Total/Amount/@inclusiveTax
type xs:boolean
properties
use optional
default false

element AllowanceAndChargeType/Total/Tax
diagram AbaDoc-2.0041_p46.png
type abans:TaxType
properties
minOcc 0
maxOcc 1
content complex
children abans:Detail abans:TotalBaseAmount abans:TotalAmount


XML Schema documentation generated by XMLSpy Schema Editor http://www.altova.com/xmlspy