NZGSTReport
Returns a GST report for New Zealand files
Released
Updated
| URL | Supports |
|---|---|
/{cf_uri}/Report/GST/NZGSTReport | |
| Requires the query parameters described below. | |
Query parameters
?ReportingPeriod={reporting_period}&EndDate={end_date}&ReportingBasis={reporting_basis}&YearEndAdjust={year_end_adjust}reporting_period: how often you report GST to the IRD:1m,2mor6m.end_date: the date the period ends.reporting_basis:Cash,InvoiceorHybrid.year_end_adjust: whether to include year-end adjustments:trueorfalse.
Attribute Details
Paging: default page size is set to 400 with a maximum of 1000 results.
| Attribute | Type | Notes |
|---|---|---|
CompanyName | String | The name of the Business |
IrdNumber | String(11) | The IRD number of the Company, format xxx-xxx-xxx |
Address | String (255) | The Address of the Company. |
PhoneNumber | String (20) | The Phone number for the Company |
ReportingBasis | String | Reporting basis for the report. This will be Cash, Invoice or Hybrid. |
StartDate | DateTime | Starting date of the period, format YYYY-MM-DD HH:MM:SS { 'StartDate': '2018-07-01 00:00:00' } |
EndDate | DateTime | Ending date of the period, format YYYY-MM-DD HH:MM:SS { 'EndDate': '2018-09-30 00:00:00' } |
ReportingPeriod | String | Reporting Period for the report. This will either be 1m, 2m or 6m. |
TotalSales | Decimal | Total Amount of Sales for the given date range |
ZeroRatedSupplies | Decimal | Total Zero Rated Suppies for the given date range |
NetGSTSales | Decimal | The Net GST Sales aomunt for the given date range |
TotalGSTCollectedOnSales | Decimal | Total GST Collected on Sales for the given date range |
DebitAdjustments | Decimal | The Debit Adjustments amount for the given date range |
TotalGSTCollected | Decimal | Total GST Collected for the given date range |
TotalPurchases | Decimal | Total Amount of Purchases for the given date range |
TotalGSTCollectedOnPurchases | Decimal | Total GST Collected on Purchases for the given date range |
CreditAdjustments | Decimal | The Credit Adjustments amount for the given date range |
TotalGSTCredit | Decimal | Total GST Credit for the given date range |
PaymentAmount | Decimal | Total Payment Amount for the given date range |
URI | String | Uniform resource identifier encompasses all types of names and addresses that refer to objects on the web. |
Example json GET response
Example
{
"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.