The TDS is a suite of business services that provides access to IR customers transaction data for consumption by software packages. In turn these packages present that data to their users. Financial transaction data includes amounts assessed and associated credits or debits. There is no data sent associated with the details of how an assessment has been calculated
- Mock environment information - emulated service, scenarios mindmap and test data
- Test URL endpoints
- Production URL endpoints
This is an emulated service which emulates the TDS Gateway Service APIs. It provides static responses for a subset of scenarios invoked on each API.
Please note that not all requests and responses are emulated.
- Summary Status
- Summary
- Transactions/Batch
- Financials
- Transactions/Realtime
The hosted service is available at: https://tds-api.test.services.ird.govt.nz (IP Address whitlisting is required)
The mind map for the emulated service View larger image
- Consumers of this mock service must be authenticated for the Realtime Model.
- Access delegation/restriction is not emulated, and any authenticated user has access to the test data.
- OAuth
- OAuth token issued by the mock OAuth service. Any valid token issued by the mock OAuth service can be used to access this service.
- Please consult the mock OAuth service documentation for further details about the authentication process.
- The OAuth token should be provided in the 'Authorization' request header as follows:
Authorization: Bearer {OAuthAccessToken}
- OAuth
clientListId | linked account | filing periods |
---|---|---|
139702328 | INC | 2019-03-31, 2021-03-31 |
139723834 | INC | 2021-03-31 |
customerId | linked account | filing periods |
---|---|---|
139476387 | FBT | 2021-12-31, 2022-03-31 |
GST | 2021-12-31, 2022-03-31 | |
INC | 2019-03-31, 2021-03-31 | |
139723848 | INC | 2021-03-31 |
139724348 | INC | 2020-03-31, 2021-03-31 |
accountId | filing periods |
---|---|
139476387FBT005 | 2021-12-31, 2022-03-31 |
139476387GST004 | 2021-12-31, 2022-03-31 |
139476387INC002 | 2019-03-31, 2021-03-31 |
139723848INC002 | 2021-03-31 |
139724348INC002 | 2020-03-31, 2021-03-31 |
accountId | linked account | filing periods |
---|---|---|
139476387INC002 | INC | 2019-03-31, 2021-03-31 |
customerId | account | filing periods |
---|---|---|
139476387 | FBT | 2021-12-31, 2022-03-31 |
GST | 2021-12-31, 2022-03-31 | |
INC | 2019-03-31, 2021-03-31 |
- Slice Data URL Endpoint: https://test5.services.ird.govt.nz:4046/gateway/tds/
- URL Endpoint: https://services.ird.govt.nz:4046/gateway/tds/
PLEASE NOTE: IR requires DSP’s to provide a separate mutual TLS certificate which will be used exclusively for the TDS API /Summary and /transaction/batch.