Adding Purchase Orders to Invoices

Discussion in 'Developers Forum' started by knu, Apr 18, 2011.

  1. knu New Member

    Hello all.

    I am puzzled about how to populate the Purchase Order field when creating an invoice using InsertInvoice.

    Looking at the Invoice type (KashFlow API - Manual - Classes - Invoice) and the InsertInvoice SOAP examples (KashFlowAPI Web Service) I cannot see any object member that might correspond to the purchase order field.

    Has anyone else managed to get around this one. If so, I'd be very interested to hear how.

    Mark
  2. knu New Member

    It's CustomerReference.
  3. neotericuk New Member

    Hi Knu.

    Can i add that purchase Order Number (or CustomerReference) to the invoice using API (PHP)
  4. knu New Member

    Yes.

    Using the api, the CustomerReference in the Invoice class (see KashFlow API - Manual - Classes - Invoice) corresponds to the value that you would put into the 'Purchase Order' box on the invoice web form.
  5. neotericuk New Member

    Thanks
    It works

Share This Page