Jump to content
Server Maintenance This Week. ×

Open balance of a bill


This topic is 1985 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Hey folks

What's the best way of determining if a bill has had any payments applied to it? I have discovered that you can query the bill and get AmountDue, which I think is the total of the line items. You can also get OpenBalance, which would seem like it's the right field. But, if you have a credit on the account, the open balance is reduced by the credit, even if you haven't actually used the credit to pay the bill.

Any thoughts?

Thanks

Link to comment
Share on other sites

Hi soundsessential, 

      I would set the "IncludeLinkedTxns" to true in the BillQuery request. Then I would loop through all the LinkedTxn in the response and look for any records with a TxnType of "BillPaymentCheck" or "BillPaymentCreditCard". Please give it a try. Thank you. 

 

Sincerely, Carson

Link to comment
Share on other sites

This topic is 1985 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

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