gtARStandingInvoiceTOLine
This function supplies the information to add TO lines to AR Standing Invoice headers. The InvoiceReference parameter must be the unique ID returned by the gtARStandingInvoice function call.
Each AR Standing Invoice is uploaded to Greentree Desktop as a complete transaction set. The standing invoice either uploads in its entirety or nothing of the document is loaded into Greentree Desktop.
InvoiceReference
This must be the unique identifier generated by the gtARStandingInvoice function call. It has the format ARST-nnn. This ensures the lines are of the correct invoice header details and it ensures Excel creates the header information before attempting to calculate and create the invoice line item details.
Narration
The text for the invoice.
Returns
- Ok - If there are no errors.
- Error - If there is an error.
Errors Returned
Must have a valid Invoice Reference number.