Taxes | Tax Posting
Service to manage entities of type 'TaxPosting'.
Overview
URL | api/{tenantKey}/{orgKey}/taxesCore/taxPostings |
Methods Supported | GET |
All Operations
This service includes the following operations:
All Resources
This service uses the following resources:
All Enumerations
This service uses the following enumerations:
GET TaxPostings (odata)
Returns a page of the list of all the entity records available.
The following elements are optional:
opts | (ODataQueryOptions) OData query option. |
Response:
When successful, the response body contains the list of records available. See TaxPostingResource. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
Resource URL:
GET TaxPosting by identifier
Returns the entity record that matches the specified identifier.
The following elements are required:
id | (string) The record identifier. |
Response:
When successful, the response body contains the entity record. See TaxPostingResource. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
404 | NotFound. The specified record does not exist. |
Resource URL:
GET TaxPosting by key
Returns the entity record that matches the specified key.
The following elements are required:
taxPostingKey | (int) The tax's posting key. |
Response:
When successful, the response body contains the entity record. See TaxPostingResource. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
404 | NotFound. The specified record does not exist. |
Resource URL:
Resources
TaxPostingResource
The following elements are required:
taxableAmount | (MoneyResource) The taxable amount.
See MoneyResource . |
taxAmount | (MoneyResource) The tax's amount.
See MoneyResource . |
taxPercentage | (decimal) The tax's percentage. |
exchangeRate | (decimal) The price of the document's currency expressed in the company's base currency. In other words, the rate at which the document's currency can be exchanged for the company's base currency. The default is inferred using the defined exchange rates on the system for the document date and currency. |
taxPostingKey | (int) The tax's posting key. |
issueDate | (DateTime) Data da transação original. |
postingDate | (DateTime) Data em que a transacção é contabilizada. |
sourceDocId | (Guid) Source Doc. Id. |
sourceDoc | (string) Identificação (legível do documento que deu origem a esta transacção de taxa). |
currency | (string) Currency.
(fk) Allowed value: the natural key of a record of type Currency. These records are accessibly through the Currencies service. |
country | (string) Country.
(fk) Allowed value: the natural key of a record of type Country. These records are accessibly through the Countries service. |
taxTypeCode | (string) Tax Type Code.
(fk) Allowed value: the natural key of a record of type TaxTypeCode. These records are accessibly through the TaxTypeCodes service. |
taxSummary | (string) Tax Summary.
(fk) Allowed value: the natural key of a record of type TaxSummary. |
schemaEntity | (string) Schema Entity.
(fk) Allowed value: the natural key of a record of type SchemaEntity. These records are accessibly through the SchemaEntities service. |
postDocSchemaEntity | (string) Post. Doc. Schema Entity.
(fk) Allowed value: the natural key of a record of type SchemaEntity. These records are accessibly through the SchemaEntities service. |
company | (string) Company.
(fk) Allowed value: the natural key of a record of type Company. These records are accessibly through the Companies service. |
deductiblePercentage | (decimal) Deductible. |
deductibleAmount | (MoneyResource) Deductible Amount.
See MoneyResource . |
The following elements are optional:
isExempt | (bool) Is exempt. |
exchangeRateDate | (DateTime) The exchange rate creation date. |
companyTaxId | (string) The company's tax identifier. |
postDocId | (Guid) Posting Doc. Id. |
postDoc | (string) Posting Doc. |
fiscalSpace | (enum FiscalSpace) Tax Regional Area.
See FiscalSpace. |
exemptionReasonCode | (string) Exemption Reason Code.
(fk) Allowed value: the natural key of a record of type ExemptionReasonCode. These records are accessibly through the ExemptionReasonCodes service. |