Skip to content

TaxCode

Return, update, create and delete tax codes setup.

Released
Updated
URLSupports
/{cf_uri}/GeneralLedger/TaxCode
GETPUTPOSTDELETE

Attribute Details

AttributeTypeNotes
UID
Required
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
Required
String (3)3 digit code assigned to the tax code.
Description
Required
String (30)Description given to the tax code.
Type
Required
TaxCodeTypeTax Types consist of the following: ImportDuty SalesTax GST_VAT (Goods and Services Tax) InputTaxed Consolidated LuxuryCarTax WithholdingsTax NoABN_TFN
RateDecimal (8.4)Rate of tax assigned
IsRateNegativeBooleanTrue indicates the tax rate is a negative value. False indicates the tax rate is a positive value.
TaxCollectedAccountobjectThe following set of information pulls through tax collected account details.
TaxCollectedAccount.UID
Required
Guid (36)Foreign Key : Unique identifier for the account in the form of a guid for tax collected.
TaxCollectedAccount.Name
Read-only
String (60)Name of the account for tax collected.
TaxCollectedAccount.DisplayID
Read-only
String (6)Account code format includes separator ie 1-1100
TaxCollectedAccount.URI
Read-only
StringUniform resource identifier associated with the account object.
TaxPaidAccountobjectThe following set of information pulls through tax paid account details.
TaxPaidAccount.UID
Required
Guid (36)Foreign Key : Unique identifier for the account in the form of a guid for tax paid.
TaxPaidAccount.Name
Read-only
String (60)Name of the account for tax paid.
TaxPaidAccount.DisplayID
Read-only
String (6)Account code format includes separator ie 1-1100
TaxPaidAccount.URI
Read-only
StringUniform resource identifier associated with the account object.
WithholdingCreditAccountobjectThe following set of information pulls through withholding credit account details.
WithholdingCreditAccount.UIDGuid (36)Foreign Key : Unique identifier for the account in the form of a guid for withholding credits.
WithholdingCreditAccount.Name
Read-only
String (60)Name of the account for withholding credits.
WithholdingCreditAccount.DisplayID
Read-only
String (6)Account code format includes separator ie 1-1100
WithholdingCreditAccount.URI
Read-only
StringUniform resource identifier associated with the account object.
WithholdingPayableAccountobjectThe following set of information pulls through withholding payable account details.
WithholdingPayableAccount.UIDGuid (36)Foreign Key : Unique identifier for the account in the form of a guid for withholding payables.
WithholdingPayableAccount.Name
Read-only
String (60)Name of the account for withholding payables.
WithholdingPayableAccount.DisplayID
Read-only
String (6)Account code format includes separator ie 1-1100
WithholdingPayableAccount.URI
Read-only
StringUniform resource identifier associated with the account object.
ImportDutyPayableAccountobjectThe following set of information pulls through import duty payable account details.
ImportDutyPayableAccount.UIDGuid (36)Foreign Key : Unique identifier for the account in the form of a guid.for import duty payables.
ImportDutyPayableAccount.Name
Read-only
String (60)Name of the account for import duty payables.
ImportDutyPayableAccount.DisplayID
Read-only
String (6)Account code format includes separator ie 1-1100
ImportDutyPayableAccount.URI
Read-only
StringUniform resource identifier associated with the account object.
LinkedSupplierobjectThe following set of information pulls through linked supplier details.
LinkedSupplier.UIDGuid (36)Foreign Key : Supplier contact unique guid identifier.
LinkedSupplier.Name
Read-only
String (10)Supplier contact name.
LinkedSupplier.DisplayIDString (15)Supplier contact Card ID, can also be used as a unique supplier contact identifier.
LinkedSupplier.URI
Read-only
StringUniform resource identifier associated with the supplier contact object.
LuxuryCarTaxThresholdDecimal (13.6)Dollar value which must be exceeded before tax is calculated using this tax code.
LastModified
Read-only
DateTimeDateTime of the last time this resource was modified through a direct action to the object. eg a field was updated.
URI
Read-only
StringUniform resource identifier encompasses all types of names and addresses that refer to objects on the web.
RowVersion
Required
StringNumber 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

json
{
  "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.