Procore.Api.ConstructionFinancialsTaxTaxCodes (procore_sdk v0.3.0)

API calls for all endpoints tagged ConstructionFinancialsTaxTaxCodes.

Summary

Functions

List Tax Codes Return a list of all Tax Codes for a given Company When tax suport is enabled in Procore you can associate line items with a specific Tax Code. The Tax Code (sometimes known as a Tax Group) determines the tax rate to be applied to the line item for each Tax Type defined in Procore (Note that presently Procore only supports a single Tax Type per company). You may define as many Tax Codes as required. Through the web interface, a Procore admin user may identify one of these tax codes as the default value to be shown when creating new line items.

Show Tax Code Show detailed information for a specific Tax Code

Sync Tax Codes This endpoint creates or updates a batch of Tax Codes

Functions

Link to this function

rest_v10_tax_codes_get(connection, procore_company_id, company_id, opts \\ [])

List Tax Codes Return a list of all Tax Codes for a given Company When tax suport is enabled in Procore you can associate line items with a specific Tax Code. The Tax Code (sometimes known as a Tax Group) determines the tax rate to be applied to the line item for each Tax Type defined in Procore (Note that presently Procore only supports a single Tax Type per company). You may define as many Tax Codes as required. Through the web interface, a Procore admin user may identify one of these tax codes as the default value to be shown when creating new line items.

Parameters

  • connection (Procore.Connection): Connection to server
  • procore_company_id (integer()): Unique company identifier associated with the Procore User Account.
  • company_id (integer()): Unique identifier for the company.
  • opts (keyword): Optional parameters
    • :page (integer()): Page
    • :per_page (integer()): Elements per page

Returns

  • {:ok, [%RestV10TaxCodesGet200ResponseInner{}, ...]} on success
  • {:error, Tesla.Env.t} on failure
Link to this function

rest_v10_tax_codes_id_get(connection, procore_company_id, id, company_id, opts \\ [])

Show Tax Code Show detailed information for a specific Tax Code

Parameters

  • connection (Procore.Connection): Connection to server
  • procore_company_id (integer()): Unique company identifier associated with the Procore User Account.
  • id (String.t): The Tax Code ID
  • company_id (integer()): Unique identifier for the company.
  • opts (keyword): Optional parameters

Returns

  • {:ok, Procore.Model.RestV10TaxCodesGet200ResponseInner.t} on success
  • {:error, Tesla.Env.t} on failure
Link to this function

rest_v10_tax_codes_id_patch(connection, procore_company_id, id, company_id, rest_v10_tax_codes_id_patch_request, opts \\ [])

Update Tax Code Update a Tax Code's attributes

Parameters

  • connection (Procore.Connection): Connection to server
  • procore_company_id (integer()): Unique company identifier associated with the Procore User Account.
  • id (String.t): The Tax Code ID
  • company_id (integer()): Unique identifier for the company.
  • rest_v10_tax_codes_id_patch_request (RestV10TaxCodesIdPatchRequest):
  • opts (keyword): Optional parameters

Returns

  • {:ok, Procore.Model.RestV10TaxCodesGet200ResponseInner.t} on success
  • {:error, Tesla.Env.t} on failure
Link to this function

rest_v10_tax_codes_post(connection, procore_company_id, company_id, rest_v10_tax_codes_post_request, opts \\ [])

Create Tax Code Creates a Tax Code for a given Company

Parameters

  • connection (Procore.Connection): Connection to server
  • procore_company_id (integer()): Unique company identifier associated with the Procore User Account.
  • company_id (integer()): Unique identifier for the company.
  • rest_v10_tax_codes_post_request (RestV10TaxCodesPostRequest):
  • opts (keyword): Optional parameters

Returns

  • {:ok, Procore.Model.RestV10TaxCodesGet200ResponseInner.t} on success
  • {:error, Tesla.Env.t} on failure
Link to this function

rest_v10_tax_codes_sync_patch(connection, procore_company_id, body13, opts \\ [])

Sync Tax Codes This endpoint creates or updates a batch of Tax Codes

Parameters

  • connection (Procore.Connection): Connection to server
  • procore_company_id (integer()): Unique company identifier associated with the Procore User Account.
  • body13 (Body13):
  • opts (keyword): Optional parameters

Returns

  • {:ok, Procore.Model.RestV10TaxCodesSyncPatch200Response.t} on success
  • {:error, Tesla.Env.t} on failure