Sample XML for Allowance in credit Note

Please provide a sample xml for charge in credit note at line level and how it affects the base price calculation. please provide full XML.