# Shiphero Billing Graphql

**URL:** https://community.shiphero.com/t/shiphero-billing-graphql/3590
**Category:** GraphQL API
**Created:** [November 7, 2025, 4:27pm UTC](https://community.shiphero.com/t/shiphero-billing-graphql/3590 "2025-11-07T16:27:34Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Haad\_uddin](https://avatars.discourse-cdn.com/v4/letter/h/dec6dc/32.png) [@Haad\_uddin](https://community.shiphero.com/u/Haad_uddin)
#### Post date: [November 7, 2025, 4:27pm UTC](https://community.shiphero.com/t/shiphero-billing-graphql/3590/1 "2025-11-07T16:27:34Z")

</div>

Hi we are trying to create an automation where we can grab the bills in “draft” status, so whenever they are created, the automation can run and create invoices. We are having trouble with grabbing the information, I tried running this query:

query {  
bills {  
request\_id  
complexity  
data(first: 10) {  
edges {  
node {  
id  
status  
bill\_exports(first: 5) {  
edges {  
node {  
id  
status  
file\_url  
}  
}  
}  
}  
}  
pageInfo {  
hasNextPage  
endCursor  
}  
}  
}  
}

Please advise

---

<div class="post-metadata">

### Author: ![Nathan-Rhodes](https://avatars.discourse-cdn.com/v4/letter/n/9dc877/32.png) [@Nathan-Rhodes](https://community.shiphero.com/u/Nathan-Rhodes)
#### Post date: [November 7, 2025, 4:30pm UTC](https://community.shiphero.com/t/shiphero-billing-graphql/3590/2 "2025-11-07T16:30:11Z")

</div>

Be sure you are using authentication for an admin account in Shiphero when using the bills query specifically. Developer users do not have access to that query. You can find the process for acquiring credentials for a full user instead of a developer user here: [Getting Started – Developer Resources | ShipHero](https://developer.shiphero.com/getting-started/#authentication)

---

<div class="post-metadata">

### Author: ![Haad\_uddin](https://avatars.discourse-cdn.com/v4/letter/h/dec6dc/32.png) [@Haad\_uddin](https://community.shiphero.com/u/Haad_uddin)
#### Post date: [November 7, 2025, 6:05pm UTC](https://community.shiphero.com/t/shiphero-billing-graphql/3590/3 "2025-11-07T18:05:44Z")

</div>

Oh gotcha, thank you. I think it worked

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex020/uploads/shiphero/original/2X/8/83f2a5ec5d7908b156cb6999baa4c753fadfa85d.svg) [@system](https://community.shiphero.com/u/system)
#### Post date: [February 5, 2026, 6:05pm UTC](https://community.shiphero.com/t/shiphero-billing-graphql/3590/4 "2026-02-05T18:05:54Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
