Create receipt for Customer Credit Memo

SOLVED

Currently, I create credit memos through the API and have to manually create receipts in Sage 50.

Is it possible to create receipt through the API? I would think it would be very similar.

Please advise.

Parents Reply Children
  • 0 in reply to wood

    Hi Matt,

    Thank you for the response.

    How do I handle the line items?

    In my method that I use to create a receipt for the Sales Invoice, I call the AddInvoiceLine method.

               Dim line As Sage.Peachtree.API.ReceiptInvoiceLine = receipt.AddInvoiceLine(salesInvoice)

               line.AmountPaid = salesInvoice.AmountDue

    How would I handle this for a Credit Memo?

  • 0 in reply to jrockfl
    verified answer

    The same AddInvoiceLine method exists for Receipts as well. Intellisense should pull it up, but you can also look up this information in the .chm help file included in the documentation or through the object browser.