Jump to content
conecta6

How to relate orders to invoices?

Recommended Posts

Hello I am developing an addon and need to link purchase orders with your invoices to see the status of payment. I see that whmcs displays it in the order payment info but I don't see any fields in the order table or invoice table that relate to them. How does whmcs relate to them?

thanks

miguel

Share this post


Link to post
Share on other sites

the tblorders database table has an 'invoiceid' field -> this value will match the 'id' value in tblinvoices for any given order... or you could use the API.

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.

  • Recently Browsing   0 members

    No registered users viewing this page.

×

Important Information

By using this site, you agree to our Terms of Use & Guidelines