Product
Jentic OSThe workplace. An in-house AI platform for every employeeJentic OneSafe access. Agents reach your systems without holding keysJentic AIRThe foundation. Gets your existing platforms ready for AI
Pricing
Developers

GET STARTED

API DirectoryBrowse 10,000+ APIs Ready For AI Agent IntegrationDocumentationGuides and API reference

TOOLS

API ScoringCheck your AI Readiness using our scorecardArazzo UIVisualize Arazzo Workflows As Interactive DocumentationArazzo EditorBuild And Edit Multi-Step API Workflows Visually

COMMUNITY

GitHubOpen source projects and examplesOpen StandardsBuilt on open specs. Never locked in.
Resources
Company
About UsOur mission and teamCareersJoin our teamContactGet in touch
Try it now
Jentic OSJentic OneJentic AIR
Pricing
API DirectoryDocumentationAPI ScoringArazzo UIArazzo EditorGitHubOpen Standards
Resources
About UsCareersContact
Try it now
JenticJentic
Products
  • Jentic OS
  • Jentic One
  • Jentic AIR
For Developers
  • API Directory
  • Documentation
  • GitHub
Company
  • About Jentic
  • Careers
  • Contact Us
  • Trust Centre
ISO/IEC 27001:2022 certification badge issued by Prescient SecurityISO/IEC 27001:2022 certification badge issued by Prescient Security

Information Security Management System

Certified to ISO/IEC 27001:2022 by Prescient Security

Terms & Conditions•Privacy Policy•
© 2026 Jentic Technology Ltd. All rights reserved.
Switch to light modeSwitch to dark mode
APIs / Finance / Hnry Partner API
Hnry Partner API logo

Hnry Partner API

Official vendor OpenAPI document · agent-readyFinanceTaxoauth21 EndpointsREST

For Agents

Register Hnry users, raise expenses, and manage invoices on behalf of self-employed contractors via the Hnry GraphQL Partner API.

Use for: I want to register a new contractor in Hnry through our partner integration, Raise an expense against a contractor's Hnry account, Create an invoice for a contractor's client and return the invoice id, Retrieve the current invoice status for a contractor

Not supported: Does not handle payment collection, accounting general ledger, or non-AU/NZ tax filing - use for Hnry partner-driven contractor registration, expenses, and invoicing only.

Hnry is a financial admin platform for self-employed contractors and freelancers in Australia and New Zealand: it handles tax, invoicing, expenses, and statutory deductions automatically. The Partner API is a GraphQL endpoint that lets approved partners register users, raise expenses, and manage invoices on behalf of Hnry-customers. Authentication uses OAuth2 authorization code flow, so end users grant scoped consent before partner agents transact on their behalf.

Jentic One on GithubView OpenAPI Document

Install Jentic One Beta

Connect the Hnry Partner API to your agent

Jentic One is a self-hosted execution layer for AI agents. It lets your agent call the Hnry Partner API, or any other public or private API you need. You set the rules, the agent never sees your credentials, and every call is logged.

Two steps, two machines. Install the instance in a safe environment, then register your agent from wherever it runs.

1

Step 1: Jentic One Host machine

# On the machine that will host your Jentic One instance:
curl -fsSL "https://jentic.com/install.sh?src=apis&api=%2Fapis%2Fhnry.co%2Fhnry" | sh
2

Step 2: Agent machine

# On the machine where your agent runs (keep this separate from the instance):
curl -fsSL "https://jentic.com/install.sh?src=apis&api=%2Fapis%2Fhnry.co%2Fhnry" | sh
jentic register       # connects your agent to your Jentic One instance

Jentic One is in public beta. The setup above keeps your agent separate from the instance, which is what you want before using real credentials: an agent running as the same OS user as Jentic One can read its stored keys directly. Just evaluating? A single local install is fine to start. See the secure deployment guide for the tiers.

Capabilities

What an agent can do with Hnry Partner API.

Register a new self-employed user into Hnry through the partner flow

Raise expense entries against a user's Hnry account for tax treatment

Create and manage invoices for a contractor's clients

Run any partner-permitted GraphQL query or mutation through a single endpoint

Use the OAuth2 authorization code flow to obtain scoped user consent

Use Cases

Patterns agents use Hnry Partner API for, with concrete tasks.

★ Partner-Driven Contractor Onboarding

Marketplaces and platforms that pay contractors register those contractors into Hnry so taxes and statutory deductions are handled automatically. The agent calls the Hnry registerUser mutation through the GraphQL endpoint after OAuth consent. Contractors avoid year-end tax stress and platforms reduce compliance friction.

Run the registerUser mutation against POST /graphql with the contractor's name, email, and platform reference id.

Automated Expense Capture

Bookkeeping or expense tools push expenses into Hnry on the contractor's behalf so deductions are applied to the correct income stream. The agent invokes the raiseExpense mutation against /graphql for each expense receipt or category. This means contractors keep accurate, real-time tax treatment without manual entry.

Invoke the raiseExpense mutation for user_456 with $120 categorised as 'Software Subscription' on today's date.

Invoicing for Contractor Clients

Platforms that handle work allocation also need invoicing on behalf of contractors. Hnry's GraphQL surface supports invoice creation and management, so an agent can mint invoices linked to platform-side jobs and read back their status. This avoids contractors maintaining a separate invoicing tool.

Run a createInvoice mutation for user_456 against client 'Acme' for $1,500 and return the new invoice id.

Agent-Run Contractor Operations

An AI ops agent connected via Jentic handles end-to-end contractor administration: register, raise expenses, mint invoices, and read state. OAuth2 tokens are stored in your Jentic One instance and refreshed at execution time, so the agent never holds the raw access_token. End-to-end setup is under an hour because the agent loads the GraphQL operation on demand.

Onboard a new contractor into Hnry, raise their first expense from a receipt, and create their opening invoice for client 'Acme'.

Key Endpoints

1 endpoints — hnry is a financial admin platform for self-employed contractors and freelancers in australia and new zealand: it handles tax, invoicing, expenses, and statutory deductions automatically.

METHOD

PATH

DESCRIPTION

POST

/graphql

Execute any GraphQL query or mutation

POST

/graphql

Execute any GraphQL query or mutation

Why Jentic?

What agents get from Jentic-routed access to this vendor.

Setup

Setup

Wiring the Hnry Partner API by hand means completing an OAuth2 flow, refreshing the access token, and composing GraphQL queries and mutations against a single /graphql endpoint. Through Jentic you install once, import the Hnry Partner API from the API Directory, store the OAuth2 credential once, and your agent calls it.

Permission scoping

Permission scoping

Hnry exposes a single GraphQL endpoint where the operation and target travel in the request body, so scoping stays at the operation level: limit the agent to the operations it needs, such as registering a contractor or filing an expense. You choose that set, and the spec's OAuth2 scopes such as expense:create back it, so a broader mutation is only available if you include it.

Credential management

Credential isolation

Your Hnry OAuth2 token is stored once, encrypted, by your own Jentic One instance, refreshed and injected at execution time. The raw access_token never enters the agent's prompt, logs, or context.

Intent-based discovery

Intent-based discovery

Agents search Jentic by intent such as 'register a contractor in Hnry', and Jentic returns the GraphQL operation with the corresponding mutation schema so the agent sends the right body without reading the GraphQL schema directly.

Related APIs

Alternatives and complements available in the Jentic catalogue.

Alternative

Xero Accounting API

→

Xero is a full accounting platform widely used in AU and NZ

Choose Xero when the contractor manages full books themselves; choose Hnry when statutory tax handling is bundled into the platform.

Complementary

Stripe API

Stripe handles payment collection that flows into Hnry-managed contractor income

Choose Stripe to actually collect client payments; pair with Hnry to handle the tax and invoicing side for self-employed contractors.

Complementary

Quaderno API

→

Tax compliance API used alongside invoicing for global tax handling

Choose Quaderno for global tax compliance on top of payment flows; choose Hnry for AU/NZ specific automated contractor tax handling.

FAQs

Specific to using Hnry Partner API through Jentic.

What authentication does the Hnry Partner API use?

Hnry uses OAuth2 authorization code flow: end users grant consent and the partner receives scoped access tokens. Through Jentic, OAuth tokens are stored encrypted in your Jentic One instance and refreshed at execution time, so the agent never holds the raw token.

Can I register users through the Hnry Partner API?

Yes. The Partner API exposes a registerUser-style mutation through POST /graphql so partners can onboard contractors after OAuth consent. The mutation typically returns the new user reference for use in subsequent expense and invoice operations.

Why does the Hnry API only show one endpoint?

Hnry is a GraphQL API: all queries and mutations are sent to the single POST /graphql endpoint, with the actual operation expressed in the request body. The OpenAPI spec captures this single entry point; the operation surface is described in the GraphQL schema itself.

How do I raise an expense for a contractor through Jentic?

Search Jentic for 'raise hnry expense', load the GraphQL POST operation, and execute with the raiseExpense mutation body containing user id, amount, and category. Use pip install jentic with the async SearchRequest, LoadRequest, ExecutionRequest pattern.

What countries does the Hnry API support?

Hnry primarily serves self-employed contractors in Australia and New Zealand, where the platform handles statutory deductions and tax filing. The Partner API is intended for platforms operating in those markets that need to wire contractor tax handling into their flow.

Can I limit what my agent is allowed to do with the Hnry Partner API?

Yes. Because you run Jentic One yourself, your own rules decide which Hnry operations the agent may call, so you can allow just registerUser while withholding raiseExpense or createInvoice even though they all travel to the single POST /graphql endpoint. Since the operation and target ride in the GraphQL request body, scoping stays at the operation level, and the OAuth2 scopes you grant, such as expense:create, back that boundary so a broader mutation is only reachable if you include it. Your Hnry OAuth2 credential is held by your own instance and injected at execution time, so the agent never sees the raw token.

GET STARTED

Start building with Hnry Partner API

Explore with Jentic One
View OpenAPI Document