Function icvFeesMatchedExVAT

Description

This function is given the Amount and matched amount as on a fees posting, plus the VAT amount (which may be NULL). It calculates the matched portion of the ex VAT amount by apportionment.

Parameters

pAmount The fees posting amount
pMatched The matched amount from the fees posting
pVATAmount The VAT amount of the posting
Returns The apportioned matched ex VAT amount

 

  •