Skip to content

NZGSTReport

Returns a GST report for New Zealand files

Released
Updated
URLSupports
/{cf_uri}/Report/GST/NZGSTReport
GET
Requires the query parameters described below.

Query parameters

text
?ReportingPeriod={reporting_period}&EndDate={end_date}&ReportingBasis={reporting_basis}&YearEndAdjust={year_end_adjust}
  • reporting_period: how often you report GST to the IRD: 1m, 2m or 6m.
  • end_date: the date the period ends.
  • reporting_basis: Cash, Invoice or Hybrid.
  • year_end_adjust: whether to include year-end adjustments: true or false.

Attribute Details

Paging: default page size is set to 400 with a maximum of 1000 results.

AttributeTypeNotes
CompanyNameStringThe name of the Business
IrdNumberString(11)The IRD number of the Company, format xxx-xxx-xxx
AddressString (255)The Address of the Company.
PhoneNumberString (20)The Phone number for the Company
ReportingBasisStringReporting basis for the report. This will be Cash, Invoice or Hybrid.
StartDateDateTimeStarting date of the period, format YYYY-MM-DD HH:MM:SS { 'StartDate': '2018-07-01 00:00:00' }
EndDateDateTimeEnding date of the period, format YYYY-MM-DD HH:MM:SS { 'EndDate': '2018-09-30 00:00:00' }
ReportingPeriodStringReporting Period for the report. This will either be 1m, 2m or 6m.
TotalSalesDecimalTotal Amount of Sales for the given date range
ZeroRatedSuppliesDecimalTotal Zero Rated Suppies for the given date range
NetGSTSalesDecimalThe Net GST Sales aomunt for the given date range
TotalGSTCollectedOnSalesDecimalTotal GST Collected on Sales for the given date range
DebitAdjustmentsDecimalThe Debit Adjustments amount for the given date range
TotalGSTCollectedDecimalTotal GST Collected for the given date range
TotalPurchasesDecimalTotal Amount of Purchases for the given date range
TotalGSTCollectedOnPurchasesDecimalTotal GST Collected on Purchases for the given date range
CreditAdjustmentsDecimalThe Credit Adjustments amount for the given date range
TotalGSTCreditDecimalTotal GST Credit for the given date range
PaymentAmountDecimalTotal Payment Amount for the given date range
URIStringUniform resource identifier encompasses all types of names and addresses that refer to objects on the web.

Example json GET response

Example

json
{
  "CompanyName": "API Sandbox Demo NZ 1",
  "IrdNumber": "12-345-678",
  "Address": "25 Spring Street\r\nWellington\r\n\r\n\r\nA/C XX-YYYY-MMMMMMM-123",
  "PhoneNumber": "04-123-4567",
  "ReportingBasis": "Cash",
  "StartDate": "2018-06-01T00:00:00",
  "EndDate": "2018-11-30T00:00:00",
  "ReportingPeriod": "6m",
  "TotalSales": "119.98",
  "ZeroRatedSupplies": "0",
  "NetGSTSales": "119.98",
  "TotalGSTCollectedOnSales": "15.65",
  "DebitAdjustments": "0",
  "TotalGSTCollected": "15.65",
  "TotalPurchases": "1799.98",
  "TotalGSTCollectedOnPurchases": "234.78",
  "CreditAdjustments": "0",
  "TotalGSTCredit": "234.78",
  "PaymentAmount": "219.13",
  "URI": "{cf_uri}/Report/GST/NZGSTReport?ReportingPeriod=6m&EndDate=2018-11-30&ReportingBasis=Cash&YearEndAdjust=true"
}

The {cf_uri} is provided by the businessId parameter as described here.