Skip to content

FousmyIR

Turn myIR into an API

Read your GST periods, notices of assessment and saved returns from myIR with one API call each. Or have a workflow check each GST account on the 20th and email you the periods still to file before the 28th.

Works with your own myIR account. Fous is an independent product.

What you can build on myIR

  • Get GST periods and filing status

    Build this

    Opens Returns and transactions next to a GST account and reads each period, whether it still shows a File return link, and the amount assessed.

    Takes
    IRD number, periods back (optional)
    Returns
    Period end, filed or not filed, date received, GST to pay or refund
  • Get acknowledgements and notices of assessment

    Build this

    Reads the return acknowledgements and notices of assessment that myIR holds for one account, newest first.

    Takes
    IRD number, tax type (optional), issued since (optional)
    Returns
    Document type, tax type, period, date issued, amount
  • Find saved returns not yet submitted

    Build this

    Opens each account and lists the returns that were started and saved in myIR but never submitted.

    Takes
    IRD number
    Returns
    Account, tax type, period
  • Prepare a GST return

    Build this

    Selects File return next to a period, chooses GST amounts, fills in sales and income, purchases and expenses and adjustments, then submits or leaves it saved.

    Takes
    IRD number, period end, nil or not, sales and income, purchases and expenses, adjustments, submit or save
    Returns
    Period end, GST to pay or refund, submitted or saved

Automate myIR with a workflow

A workflow runs your methods as one process, with nobody at the screen. A schedule or a call from your own system starts it, the steps run in order, and the result arrives in your inbox or in the systems you already use.

  • GST periods not yet filed, checked before the 28th

    Build this
    Starts
    Every month on the 20th at 9:00 (Pacific/Auckland)
    Step 1
    For each IRD number you name, get the GST periods from Returns and transactions.
    Step 2
    Keep the periods that still show a File return link.
    Step 3
    Email you the list, one line per IRD number with the period end.
  • New notices of assessment, handed to accounting

    Build this
    Starts
    Every weekday at 8:00 (Pacific/Auckland)
    Step 1
    For each IRD number, get the acknowledgements and notices of assessment issued in the last 7 days.
    Step 2
    Keep the ones that were not there on the last run.
    Step 3
    Post document type, tax type, period, date issued and amount to your accounting webhook.
  • Saved returns left unsubmitted

    Build this
    Starts
    Every Monday at 8:00 (Pacific/Auckland)
    Step 1
    For each IRD number, find the returns saved in myIR but not submitted.
    Step 2
    Stop when there are none.
    Step 3
    Email you each one with its account, tax type and period.

You can run a workflow by hand on every plan, Free included. Schedules and webhook triggers come with the paid plans, from $29 a month.

Once built, one call from your code

Once you have built a method, it is one POST to /v1/runs from your backend, or a tool an AI agent calls over MCP. This is what “Get GST periods and filing status” would look like.

Example request
curl https://api.fous.com/v1/runs \
  -H "Authorization: Bearer $FOUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "method": "myir.ird.govt.nz/get_gst_periods",
    "input": {
      "ird_number": "000-000-000",
      "periods_back": 3
    }
  }'
Example response
{
  "status": "completed",
  "data": {
    "ird_number": "000-000-000",
    "account": "GST",
    "periods": [
      {
        "period_end": "2026-10-31",
        "status": "Not filed",
        "received": null,
        "gst_to_pay": null,
        "gst_refund": null
      }
    ],
    "currency": "NZD",
    "count": 1
  }
}

An example with invented data, not a ready-made endpoint. The method exists in your organization once you build it, and its name, inputs and fields follow your request.

MyIR’s own options

Inland Revenue's gateway services file returns such as GST and payday employment information, but they are offered to digital service providers, who register, are approved and build them into their software. You use them through that software with your myIR logon. Correspondence cannot go through gateway services: secure messages stay in myIR.

OptionWhat it coversWhat it takes
Gateway servicesGST and payday filing returns, prepopulated GST figures and the next filing obligation, in software that has built them.Software from a provider that registered and was approved, and your own myIR logon with the right level of access.
myIR file uploadPayday employment information each pay cycle, and employee details for new and departing employees, as files from your payroll software.A myIR logon. Employment information is due on payday or within 2 days of it.
myIR by handReturns and transactions for each account, GST returns, saved returns, secure web messages and documents Inland Revenue asked for.A myIR logon for each person, with two-step verification.

Read on November 12, 2026: Gateway services for intermediaries, About the developer portal, Payday filing through file upload services.

Signing in to myIR

myIR signs you in with a username and password, and two-step verification is compulsory: a security code by email, text message or an authenticator app, or a passkey. A new code is asked at each login unless you use a passkey or a device trusted for up to 90 days. With Fous you sign in once with your own logon: it is sealed with AES-256, an emailed code is handled and an expired session is signed back in.

Worth knowing

GST is due on the 28th, with two exceptions
Returns and payment are due by the 28th of the month after the period ends, except 7 May for March and 15 January for November. Nil returns must be filed too, and extensions are not available.
One logon per person, clients linked first
Each staff member needs their own myIR logon. Agents get client lists through Manage agency, and a client must be linked to the agency before anyone can act on it.
After a not filed letter, check myIR first
If you get a letter saying a GST return was not filed, check whether myIR shows the return as received. If it does, nothing more is needed. If not, file a new return.
Payday filing has a 2-day window
Employment information is filed each pay cycle, on payday or within 2 days of it. New and departing employees go in separately, as employee details.

More in Government: East and South-East Asia, Oceania

Other industries: EPFO Unified Portal (Employer), IATA BSPlink, Previred, CAC Company Registration Portal, Segurança Social Direta, FCA RegData.

Frequently asked questions

Not one you call yourself. Inland Revenue's gateway services file returns such as GST and payday information, but digital service providers that register and are approved build them into their software, and you use them there with your myIR logon. Secure messages and anything your software lacks stay in myIR.

No. Correspondence cannot go through gateway services, so requests go by secure web message in myIR. Return acknowledgements and notices of assessment are in myIR or come through the document service in your software.

Log back in to myIR and open the account the return belongs to: the saved return is there to finish and submit. A workflow can check each account every week and email you any saved return still waiting.

By the 28th of the month after the period ends, with payment due the same day. The period ending 31 March is due 7 May and the period ending 30 November is due 15 January. There are no extensions, and nil returns must still be filed.

No. Fous is an independent product. You use it with your own myIR logon, and a method reads and does only what that logon can.

Put myIR behind an API call

Describe one job in Studio and see the method it builds, with 100 credits a month and no credit card, or book a demo and bring the sites your team signs in to.

Read nextMyTax登記情報提供サービスCổng thông tin hóa đơn điện tửEPFO Unified Portal (Employer)How methods workHow workflows run

Fous is an independent product: it is not affiliated with, endorsed by or sponsored by the operator of myIR (Inland Revenue, New Zealand). The name is used only to say which system this page is about. Something here wrong or out of date? Write to legal@fous.com.