Skip to content

NETPAY ​

Returns net amount of payments for a receipt #.

Reporting Area(s) ​

Accounting

Required Parameters ​

  1. Receipt Number (pyrecnum)

Optional Parameters ​

  1. Numeric return value:

0= all payments less any refunds applied to this receipt (default)

1= sum of all payments, including refunds for this receipt

2= sum of all refunds for this receipt

Example(s) ​

NETPAY(pyrecnum) returns total of all payments less any refunds for this receipt #. E.g. if $500.00 was paid and $200.00 was refunded, returns $300.00.

NETPAY(pyrecnum,1) returns total of all payments for this receipt #. E.g. if $500.00 was paid and $200.00 was refunded, returns $700.00.

NETPAY(pyrecnum,2) returns total of all refunds for this receipt #. E.g. if $200.00 was refunded, returns -$200.00.

Notes ​

This function automatically ignores Voids and Billings.

ADDAPAY
ADDPAY
RCPTINFO
RCTTPAY
WHOPAY
WHORECT