TaxCode
Return, update, create and delete tax codes setup.
Released
Updated
| URL | Supports |
|---|---|
/{cf_uri}/GeneralLedger/TaxCode |
Attribute Details
| Attribute | Type | Notes |
|---|---|---|
UID | Guid (36) | Unique tax code identifier in the form of a guid. ONLY required for updating an existing tax code. NOT required when creating a new tax code. |
Code | String (3) | 3 digit code assigned to the tax code. |
Description | String (30) | Description given to the tax code. |
Type | TaxCodeType | Tax Types consist of the following: ImportDuty SalesTax GST_VAT (Goods and Services Tax) InputTaxed Consolidated LuxuryCarTax WithholdingsTax NoABN_TFN |
Rate | Decimal (8.4) | Rate of tax assigned |
IsRateNegative | Boolean | True indicates the tax rate is a negative value. False indicates the tax rate is a positive value. |
TaxCollectedAccount | object | The following set of information pulls through tax collected account details. |
TaxCollectedAccount.UID | Guid (36) | Foreign Key : Unique identifier for the account in the form of a guid for tax collected. |
TaxCollectedAccount.Name | String (60) | Name of the account for tax collected. |
TaxCollectedAccount.DisplayID | String (6) | Account code format includes separator ie 1-1100 |
TaxCollectedAccount.URI | String | Uniform resource identifier associated with the account object. |
TaxPaidAccount | object | The following set of information pulls through tax paid account details. |
TaxPaidAccount.UID | Guid (36) | Foreign Key : Unique identifier for the account in the form of a guid for tax paid. |
TaxPaidAccount.Name | String (60) | Name of the account for tax paid. |
TaxPaidAccount.DisplayID | String (6) | Account code format includes separator ie 1-1100 |
TaxPaidAccount.URI | String | Uniform resource identifier associated with the account object. |
WithholdingCreditAccount | object | The following set of information pulls through withholding credit account details. |
WithholdingCreditAccount.UID | Guid (36) | Foreign Key : Unique identifier for the account in the form of a guid for withholding credits. |
WithholdingCreditAccount.Name | String (60) | Name of the account for withholding credits. |
WithholdingCreditAccount.DisplayID | String (6) | Account code format includes separator ie 1-1100 |
WithholdingCreditAccount.URI | String | Uniform resource identifier associated with the account object. |
WithholdingPayableAccount | object | The following set of information pulls through withholding payable account details. |
WithholdingPayableAccount.UID | Guid (36) | Foreign Key : Unique identifier for the account in the form of a guid for withholding payables. |
WithholdingPayableAccount.Name | String (60) | Name of the account for withholding payables. |
WithholdingPayableAccount.DisplayID | String (6) | Account code format includes separator ie 1-1100 |
WithholdingPayableAccount.URI | String | Uniform resource identifier associated with the account object. |
ImportDutyPayableAccount | object | The following set of information pulls through import duty payable account details. |
ImportDutyPayableAccount.UID | Guid (36) | Foreign Key : Unique identifier for the account in the form of a guid.for import duty payables. |
ImportDutyPayableAccount.Name | String (60) | Name of the account for import duty payables. |
ImportDutyPayableAccount.DisplayID | String (6) | Account code format includes separator ie 1-1100 |
ImportDutyPayableAccount.URI | String | Uniform resource identifier associated with the account object. |
LinkedSupplier | object | The following set of information pulls through linked supplier details. |
LinkedSupplier.UID | Guid (36) | Foreign Key : Supplier contact unique guid identifier. |
LinkedSupplier.Name | String (10) | Supplier contact name. |
LinkedSupplier.DisplayID | String (15) | Supplier contact Card ID, can also be used as a unique supplier contact identifier. |
LinkedSupplier.URI | String | Uniform resource identifier associated with the supplier contact object. |
LuxuryCarTaxThreshold | Decimal (13.6) | Dollar value which must be exceeded before tax is calculated using this tax code. |
LastModified | DateTime | DateTime of the last time this resource was modified through a direct action to the object. eg a field was updated. |
URI | String | Uniform resource identifier encompasses all types of names and addresses that refer to objects on the web. |
RowVersion | String | Number value that changes upon a record update, can be used for change control but does does not preserve a date or a time. ONLY required for updating an existing tax code. NOT required when creating a new tax code. |
Example json GET response
Example
{
"UID": "e1b278bb-9ba3-4d2a-8dda-a49d09dcc471",
"Code": "ABN",
"Description": "No ABN Withholding",
"Type": "NoABN_TFN",
"Rate": null,
"IsRateNegative": null,
"TaxCollectedAccount": null,
"TaxPaidAccount": null,
"Name": "ABN Withholdings Payable",
"DisplayID": "2-1320",
"URI": "{cf_uri}/GeneralLedger/TaxCode/780a1c74-e557-4bf5-afeb-8ef819c84f8e",
"ImportDutyPayableAccount": null,
"LinkedSupplier": null,
"LuxuryCarTaxThreshold": null,
"LastModified": "2019-05-01T00:47:43.757",
"RowVersion": "-7133420334778155008"
}The {cf_uri} is provided by the businessId parameter as described here.