API - Invoices & Custom Fields
Is there a way to get custom fields for all invoices without having to make individual calls to the API for each invoice. I specifically need one of our custom fields at the moment for each invoice that might or might not have it and for 493,084 invoices I do not want to even attempt that may API calls.
GL > Projects (Search) includes custom fields in the results and that was the endpoint I used to get our complete project list out of FE. Something similar for AP > Invoice (List) would be ideal.
Comments
-
@Daniel Maxwell
You can “kind of” achieve this using Query API.method one, iterate through all invoice custom fields category using adhoc querying: criteria on each invoice custom field category's import id being not bank, and output the custom field's value (description), comment, date, etc.
method two, create ONE query (no need to loop for each custom field), where you criteria on each custom field category's import id being not blank using OR:
Inv CF Cat1 import id not blank
OR Inv CF Cat2 import id not blank
OR Inv CF Cat3 import id not blankthen output ALL the invoice custome fields' value (description), comment, date:
invoice system record id
Inv CF Cat1 description
Inv CF Cat1 comment
Inv CF Cat1 date
Inv CF Cat2 description
Inv CF Cat2 comment
Inv CF Cat2 date
Inv CF Cat3 description
Inv CF Cat3 comment
Inv CF Cat3 datein your api calling app (power automate flow or other high code app), you will filter the data result from the query to “un-pivot”
0 -
@Alex Wong Wonderful! I'm just starting to try to tap into the Query API and have found it very powerful, but still hitting walls.
0
Categories
- All Categories
- 6 Blackbaud Community Help
- 206 bbcon®
- 1.4K Blackbaud Altru®
- 394 Blackbaud Award Management™ and Blackbaud Stewardship Management™
- 1.1K Blackbaud CRM™ and Blackbaud Internet Solutions™
- 15 donorCentrics®
- 357 Blackbaud eTapestry®
- 2.5K Blackbaud Financial Edge NXT®
- 646 Blackbaud Grantmaking™
- 561 Blackbaud Education Management Solutions for Higher Education
- 3.2K Blackbaud Education Management Solutions for K-12 Schools
- 934 Blackbaud Luminate Online® and Blackbaud TeamRaiser®
- 84 JustGiving® from Blackbaud®
- 6.4K Blackbaud Raiser's Edge NXT®
- 3.6K SKY Developer
- 242 ResearchPoint™
- 118 Blackbaud Tuition Management™
- 165 Organizational Best Practices
- 238 The Tap (Just for Fun)
- 33 Blackbaud Community Challenges
- 28 PowerUp Challenges
- 3 (Open) Raiser's Edge NXT PowerUp Challenge: Product Update Briefing
- 3 (Closed) Raiser's Edge NXT PowerUp Challenge: Standard Reports+
- 3 (Closed) Raiser's Edge NXT PowerUp Challenge: Email Marketing
- 3 (Closed) Raiser's Edge NXT PowerUp Challenge: Gift Management
- 4 (Closed) Raiser's Edge NXT PowerUp Challenge: Event Management
- 3 (Closed) Raiser's Edge NXT PowerUp Challenge: Home Page
- 4 (Closed) Raiser's Edge NXT PowerUp Challenge: Standard Reports
- 4 (Closed) Raiser's Edge NXT PowerUp Challenge: Query
- 778 Community News
- 2.9K Jobs Board
- 53 Blackbaud SKY® Reporting Announcements
- 47 Blackbaud CRM Higher Ed Product Advisory Group (HE PAG)
- 19 Blackbaud CRM Product Advisory Group (BBCRM PAG)

