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
Update Tax Code Update a Tax Code's attributes
Create Tax Code Creates a Tax Code for a given Company
Sync Tax Codes This endpoint creates or updates a batch of Tax Codes
Functions
rest_v10_tax_codes_get(connection, procore_company_id, company_id, opts \\ [])
@spec rest_v10_tax_codes_get(Tesla.Env.client(), integer(), integer(), keyword()) :: {:ok, Procore.Model.RestV10CompaniesCompanyIdWorkflowPermanentLogsGet401Response.t()} | {:ok, [Procore.Model.RestV10TaxCodesGet200ResponseInner.t()]} | {:error, Tesla.Env.t()}
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 serverprocore_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
rest_v10_tax_codes_id_get(connection, procore_company_id, id, company_id, opts \\ [])
@spec rest_v10_tax_codes_id_get( Tesla.Env.client(), integer(), String.t(), integer(), keyword() ) :: {:ok, Procore.Model.RestV10TaxCodesGet200ResponseInner.t()} | {:ok, Procore.Model.RestV10CompaniesCompanyIdWorkflowPermanentLogsGet401Response.t()} | {:error, Tesla.Env.t()}
Show Tax Code Show detailed information for a specific Tax Code
Parameters
connection
(Procore.Connection): Connection to serverprocore_company_id
(integer()): Unique company identifier associated with the Procore User Account.id
(String.t): The Tax Code IDcompany_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
rest_v10_tax_codes_id_patch(connection, procore_company_id, id, company_id, rest_v10_tax_codes_id_patch_request, opts \\ [])
@spec rest_v10_tax_codes_id_patch( Tesla.Env.client(), integer(), String.t(), integer(), Procore.Model.RestV10TaxCodesIdPatchRequest.t(), keyword() ) :: {:ok, Procore.Model.RestV10TaxCodesGet200ResponseInner.t()} | {:ok, Procore.Model.RestV10CompaniesCompanyIdWorkflowPermanentLogsGet401Response.t()} | {:ok, Procore.Model.RestV10TaxTypesPost400Response.t()} | {:error, Tesla.Env.t()}
Update Tax Code Update a Tax Code's attributes
Parameters
connection
(Procore.Connection): Connection to serverprocore_company_id
(integer()): Unique company identifier associated with the Procore User Account.id
(String.t): The Tax Code IDcompany_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
rest_v10_tax_codes_post(connection, procore_company_id, company_id, rest_v10_tax_codes_post_request, opts \\ [])
@spec rest_v10_tax_codes_post( Tesla.Env.client(), integer(), integer(), Procore.Model.RestV10TaxCodesPostRequest.t(), keyword() ) :: {:ok, Procore.Model.RestV10TaxCodesGet200ResponseInner.t()} | {:ok, Procore.Model.RestV10CompaniesCompanyIdWorkflowPermanentLogsGet401Response.t()} | {:ok, Procore.Model.RestV10TaxTypesPost400Response.t()} | {:error, Tesla.Env.t()}
Create Tax Code Creates a Tax Code for a given Company
Parameters
connection
(Procore.Connection): Connection to serverprocore_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
rest_v10_tax_codes_sync_patch(connection, procore_company_id, body13, opts \\ [])
@spec rest_v10_tax_codes_sync_patch( Tesla.Env.client(), integer(), Procore.Model.Body13.t(), keyword() ) :: {:ok, Procore.Model.RestV10CompaniesCompanyIdWorkflowPermanentLogsGet401Response.t()} | {:ok, Procore.Model.RestV10TaxCodesSyncPatch200Response.t()} | {:error, Tesla.Env.t()}
Sync Tax Codes This endpoint creates or updates a batch of Tax Codes
Parameters
connection
(Procore.Connection): Connection to serverprocore_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