This function supplies the information to add apply details to the credit note. The Credit Note Reference parameter must be the unique ID returned by the gtARCreditNote function calls.
Reference
This must be the unique identifier generated by the gtARCreditNote function call. It has the format ARCN-nnn. This ensures the apply details are of the correct credit note header, and it ensures Excel creates the header information before attempting to create the apply details.
Invoice
The invoice reference that the credit note is being applied to. This invoice must already exist.
Net
The net amount being applied to the specified invoice. This must not exceed the outstanding value of the invoice. If it does, an error occurs when you try to upload information.