Cost center totals per invoice/jobs

Posts about the simPRO API. Help/support/how-to etc.
Forum rules
  • Check the documentation first. Before posting questions, please check the documentation to ensure it doesn't already cover what you need.
  • No spam. All automated messages, advertisements, and links to competitor websites will be deleted immediately.
  • Post in relevant sub-forums only. Messages posted in the wrong topic area will be removed and placed in the correct sub-forum by moderators.
  • Respect other users. No flaming or abusing fellow forum members. Users who continue to post inflammatory, abusive comments will be deleted from the forum after two warnings are issued by moderators.
  • Harassment. No threats or harassment of other users will be tolerated. Any instance of threatening or harassing behavior is grounds for deletion from the forums.
  • Adult content. No profanity or pornography is allowed. Posts containing adult material will be deleted.
  • Bandwidth. All images and signatures must be 500 x 500 pixels or smaller. Posts containing over-sized images and signatures will be removed.
  • Illegal content. No re-posting of copyrighted materials or other illegal content is allowed. Any posts containing illegal content or copyrighted materials will be deleted.
Post Reply
gavynj
Posts: 13
Joined: Fri May 01, 2020 1:34 am

Cost center totals per invoice/jobs

Post by gavynj » Wed Jan 11, 2023 12:38 am

We use the deprecated endpoint

Code: Select all

/api/v1.0/companies/{companyID}/jobs/{jobID}/invoices/{invoiceID}
in order to export each cost center's current amount per job per invoice.

A couple of questions:

1) Some calls to that endpoint return an error: "Job cost center labor item was not found in this cost center.". Do you have any insight into what causes this, or if there's anything a user in Simpro should be doing (or not doing) to avoid this?

2) The reason we use this endpoint is to get a cost center breakdown for each invoice. For each one, we can access 'Claimed.Current.Amount', returning the amount assigned to this invoice/job. This is particularly useful for progress claims, where the total amount may be spread across multiple invoices, but we're only interested in one particular invoice. Without using this deprecated endpoint, it's not obvious how I can fetch the same data. For example, if I use the main invoices endpoint (/api/v1.0/companies/{companyID}/invoices/{invoiceID}), it lists all the jobs with their total values (not the values listed on this particular invoice or progress claim), and it lists all the cost centers, but there's no way to know which ones apply to this invoice (only links to the job ID, which may be associated with multiple invoices in the case of a progress claim).

Does that make sense? I can PM you specific examples if you would like.

Thanks,
Gavyn
robbertcha
Posts: 416
Joined: Thu Apr 15, 2021 10:07 pm

Re: Cost center totals per invoice/jobs

Post by robbertcha » Wed Jan 11, 2023 1:00 am

Hi,

1) Do you mind to send us your build details and the invoice ID via private message? we can check it for you;

2) Please create a post on "Feature Requests" section regarding to this request, so our engineers will follow up.

thank you.
Robbert
API Developer | simPRO Software Group
aijuy
Posts: 6
Joined: Wed Mar 06, 2024 4:32 am

Re: Cost center totals per invoice/jobs

Post by aijuy » Sun Apr 27, 2025 4:52 am

robbertcha wrote: ↑Wed Jan 11, 2023 1:00 am Hi,

1) Do you mind to send us your build details and the invoice ID via private message? we can check it for you;

2) Please create a post on "Feature Requests" section regarding to this request, so our engineers will follow up.

thank you.
Hi, we are having the same question about the claimed cost center for individual progress claim invoice dataset.

We are aiming to identify which cost center is paid via the specific individual progress claim, but the API returned data are always listing all the cost centers.

Does Simpro have any solution/API update for this one?

Thanks for your checking in advance!
SimproAPITeam
Posts: 831
Joined: Wed May 01, 2024 2:31 am

Re: Cost center totals per invoice/jobs

Post by SimproAPITeam » Thu May 01, 2025 4:52 am

Hi aijuy,

You do get the claim amount/percent on the response from the invoice endpoint : https://developer.simprogroup.com/apido ... 55f63584ea

You can check the isPaid column if the invoice is fully paid.

Hope that helps
Simpro API Team | Simpro Software Group
aijuy
Posts: 6
Joined: Wed Mar 06, 2024 4:32 am

Re: Cost center totals per invoice/jobs

Post by aijuy » Wed May 07, 2025 12:29 am

SimproAPITeam wrote: ↑Thu May 01, 2025 4:52 am Hi aijuy,

You do get the claim amount/percent on the response from the invoice endpoint : https://developer.simprogroup.com/apido ... 55f63584ea

You can check the isPaid column if the invoice is fully paid.

Hope that helps
Hi, thanks for providing the link!
I checked again and cannot see the invoice endpoint is returning data that identify which cost centers are included in this specific payment.
Same as Gavyn mentioned, if use the main invoices endpoint (/api/v1.0/companies/{companyID}/invoices/{invoiceID}), it lists all the jobs cost centers with their total values (not the values listed on this particular invoice or progress claim), and it lists all the cost centers, but there's no way to know which ones apply to this invoice..

If there's a way we can contact you to check this one further if still not clear?
Thanks!
SimproAPITeam
Posts: 831
Joined: Wed May 01, 2024 2:31 am

Re: Cost center totals per invoice/jobs

Post by SimproAPITeam » Fri May 09, 2025 3:33 am

Hi,
Unfortunately I don't think it's broken down fined than this in the API. Payments will be related to a an invoice which is again related to a job and related cost centers.

Regards
Simpro API Team | Simpro Software Group
Post Reply