Jump to content

API for Invoice Creation


Recommended Posts

  • 3 weeks later...



Another small problem - there's no way to check that an invoice is paid before paying it. In terms of data integrity I would want to make sure people don't double-enter payments against invoices.


One solution would be to add an argument to the addinvoicepayment API call something like "ifnotpaid" (ugly name, something nicer should be possible) - if true, the payment would only be added if invoice status was "Unpaid". It would also be nice to know if the amount paid had paid out an invoice fully as a return value from the call.


Maybe this is beyond the call of what's needed in the API for now for most people in which case I can write some code, but would be interested to see what others think.

Link to comment
Share on other sites

  • 1 month later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated