Vendor Credits

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
User avatar
EARS
Posts: 29
Joined: Mon Oct 31, 2022 4:37 am
Location: Melbourne AU

Vendor Credits

Post by EARS » Fri Sep 15, 2023 12:02 am

Hi,

Using the web frontend - Orders/Credits/Credit#, I can see the Invoice Date for a credit.

Using endpoint "/api/v1.0/companies/{companyID}/vendorOrders/{vendorOrderID}/receipts/{vendorReceiptID}/credits/{vendorCreditID}" does
not give me this date/value in the returned payload.
Am I missing something ?

Thanks
EARS
Sindre
Posts: 493
Joined: Wed Apr 20, 2022 4:51 am
Location: Brisbane

Re: Vendor Credits

Post by Sindre » Fri Sep 15, 2023 2:02 am

Hi,
I think I might have mistaken the invoice date for the date issued before on this endpoint.

The "DateIssued" value is the credit date on the vendor order credits.

The Invoice date is not available on the vendor credits endpoint.

I think you will find the invoice date if you go up one level and look at the receipts, they will have a DateIssued which match the invoice date shown on credits in Simpro.

Regards
Sindre
API Developer | Simpro Software Group
User avatar
EARS
Posts: 29
Joined: Mon Oct 31, 2022 4:37 am
Location: Melbourne AU

Re: Vendor Credits

Post by EARS » Fri Sep 15, 2023 2:27 am

Thanks Sindre

EARS
Post Reply