| $$BN | 
This returns the receivable bill number.
 
 | 
 | 
$$CAT | 
This function returns the receivable category
(pointer to file #430.2).
 
 | 
 | 
$$CLO | 
This function returns the date that a receivable was
closed (or -1 if the receivable is not closed).
 
 | 
 | 
$$ORI | 
This function returns the receivable Original Amount.
 
 | 
 | 
$$PUR | 
This function is called by the IB purge routines and
is used to determine the date that a receivable was closed out.
 
 | 
 | 
$$RETN | 
This function determines whether a bill has the AR
Status RETURNED FROM AR (NEW) in Accounts Receivable.  The call is made to
determine whether a bill has been returned to billing and is thus editable in
Integrated Billing.
 
 | 
 | 
$$STA | 
This function returns the receivable status.
 
 | 
 | 
$$TPR | 
This function returns the total paid principal on the
receivable.
 
 | 
 | 
$$PST | 
This call is made to retrieve the day of the month
that a patient's statement is generated.
 
 | 
| VARIABLES | 
TYPE | 
VARIABLES DESCRIPTION | 
 
X | 
Input | 
Equals the string DFN_";DPT(" being the pointer to
the patient in file #2)
 | 
 
 | 
$$CATN | 
This call is made to retrieve the AR Category name.
 
 | 
| VARIABLES | 
TYPE | 
VARIABLES DESCRIPTION | 
 
X | 
Input | 
Pointer to the category in file 430.2
 
 | 
 
 |