#g4ppinv_sendInvoice

 *//////////////////////////////////////////////////////////////*
 * #g4ppinv_sendInvoice - Send an Invoice                       *
 *                                                              *
 * Output:                                                      *
 *   out_errMsg - The error message (if error exists).          *
 *                                                              *
 * Returns:                                                     *
 *   -1 for error, 0 for no error.                              *
 *                                                              *
 * Settable Variables ([r]=required)                            *
 *   account - PayPal Account ID [r]                            *
 *   number - Invoice Number. [r]                               *
 *   temporary_directory - Temporary directory to use for work  *
 *     files.  Default /tmp.                                    *
 *   reset - Reset Values After Call (*YES or *NO, Default *YES)*
 *   ccsid - The CCSID to use (1208)                            *
 *   debug - Turn on Debug (*NO, *YES)                          *
 *   debug_file - The debug file name.                          *
 *     (/tmp/g4pp_[account]_sendInvoice)                        *
 *                                                              *
 *//////////////////////////////////////////////////////////////*
D #g4ppinv_sendInvoice...
D                 PR            10i 0
D  out_errMsg                  256    Options(*NOPASS)

#g4ppinv_sendInvoice is used to send an invoice after the draft is created with #g4ppinv_createInvoice().

Optional Parameters:

  • Error Message (output) - Error message

Settable Variables:

  • account - PayPal Account ID (required)
  • number - Invoice Number (required)
  • temporary_directory - Temporary directory to use for work files. Default /tmp.
  • reset - Reset Values After Call (*YES or *NO, Default *YES)
  • ccsid - The CCSID to use (1208)
  • debug - Turn on Debug (*NO, *YES, default *NO)
  • debug_file - The debug file name (default /tmp/g4pp_[account]_sendInvoice)