TaxCodeSummary
Returns a Tax Code Summary Report
Released
Updated
| URL | Supports |
|---|---|
/{cf_uri}/Report/TaxCodeSummary | |
| The following query is required for the above URL: ?StartDate={start_date}&EndDate={end_date}&ReportingBasis={reporting_basis}&YearEndAdjust={year_end_adjust} The {start_date} is the date that you would like to start at. The {end_date} is the date of the end of the period. The {reporting_basis} will either be Cash or Accural. The {year_end_adjust} stats if you are includeding Year end Adjustments. This is a true or false value. | |
Attribute Details
Paging: default page size is set to 400 with a maximum of 1000 results.
| Attribute | Type | Notes |
|---|---|---|
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' } |
ReportingBasis | String | Reporting basis for the report. This will either be Cash or Accural. |
YearEndAdjust | Boolean | Shows if the Year end Addjustments are included. This will either be True or False. |
TaxCodeBreakdown | array | The breakdown of tax codes for the speaific date range |
TaxCodeBreakdown.SalesTotal | Decimal | Total Sales amount for a Tax Code |
TaxCodeBreakdown.PurchasesTotal | Decimal | Total Purchases amount for a Tax Code |
TaxCodeBreakdown.TaxCollected | Decimal | Total Tax Collected amount for a Tax Code |
TaxCodeBreakdown.TaxPaid | Decimal | Total Tax Paid amount for a Tax Code |
TaxCodeBreakdown.TaxRate | Decimal | Tax Rate for the Tax Code |
TaxCodeBreakdown.TaxCode | object | The following set of information pulls through the details for Tax Codes |
TaxCodeBreakdown.TaxCode.UID | GUID (36) | Foreign Key : Unique tax code identifier in the form of a guid |
TaxCodeBreakdown.TaxCode.Code | String (3) | 3 digit code assigned to the tax code. |
TaxCodeBreakdown.TaxCode.URI | String | Uniform resource identifier associated with the tax code object. |
URI | String | Uniform resource identifier encompasses all types of names and addresses that refer to objects on the web. |
Example json GET response
Example
{
"StartDate": "2018-07-01T00:00:00",
"EndDate": "2018-09-30T23:59:59",
"ReportingBasis": "Cash",
"YearEndAdjust": "true",
"URI": "{cf_uri}/Report/TaxCodeSummary?StartDate=2018-07-01&EndDate=2018-09-30&ReportingBasis=Cash&YearEndAdjust=true"
}The {cf_uri} is provided by the businessId parameter as described here.