MYOB Greentree

HideShow

  • Contents
  • Index
  • Search
 
Display results with all search words

 

gtARCreditNoteAddApply


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.

Returns

  • Ok - If there are no errors.
  • Error - If there is an error.

Errors Returned

  • Invalid AR Credit Note header reference
  • Invoice reference must be entered
  • Net value must be entered
  • Net value must be greater than 0.00
  • The total apply value cannot be greater than the total value of the credit note
  • The apply value cannot be greater than the invoice outstanding value