Portuguese Payroll | DMR
Service to manage entities of type 'DmrAt'.
Overview
| URL | api/{tenantKey}/{orgKey}/payrollPT/dmrAts |
| Methods Supported | GET, POST, PUT, DELETE |
All Operations
This service includes the following operations:
- GET:
- POST:
-
PUT:
- PUT Set IsActive DmrAt
- PUT Set DmrKey DmrAt
- PUT Set Period DmrAt
- PUT Set Description DmrAt
- PUT Set DeliveryDate DmrAt
- PUT Set Currency DmrAt
- PUT Set Company DmrAt
- PUT Set DummyValue DmrAt
- PUT Set ImpedimentReason DmrAt
- PUT Set ImpedimentDate DmrAt
- PUT Set ImpedimentEndDate DmrAt
- PUT Set AtTechnicalAccountantId DmrAt
- PUT Set HasSubstituteTechnicalAccount DmrAt
- PUT Set HasNoSubstituteTechnicalAccount DmrAt
- PUT Set DmrState DmrAt
- PUT Set IsSubmitted DmrAt
- PUT Set IsSubmittedWithErrors DmrAt
- PUT Set IncomeNature DmrAtResume
- PUT Set IncomeValues DmrAtResume
- PUT Set WithholdingTax DmrAtResume
- PUT Set CompulsoryContributions DmrAtResume
- PUT Set UnionFees DmrAtResume
- PUT Set Currency DmrAtResume
- PUT Set Employee DmrAtDetail
- PUT Set Year DmrAtDetail
- PUT Set YearIncome DmrAtDetail
- PUT Set SubscriberId DmrAtDetail
- PUT Set IncomeNature DmrAtDetail
- PUT Set IncomeType DmrAtDetail
- PUT Set LocalOBT DmrAtDetail
- PUT Set WithholdingTax DmrAtDetail
- PUT Set CompulsoryContributions DmrAtDetail
- PUT Set NIPC1 DmrAtDetail
- PUT Set NIPC2 DmrAtDetail
- PUT Set NIPC3 DmrAtDetail
- PUT Set UnionFees DmrAtDetail
- PUT Set Currency DmrAtDetail
- PUT Set IsCalculated DmrAtDetail
- PUT Set IsModified DmrAtDetail
- DELETE:
All Resources
This service uses the following resources:
- ApiDmrAtDmrAtDetailsProcessingDetailsResource
- ApiDmrAtDmrAtDetailsResource
- ApiDmrAtDmrAtResumesResource
- ApiDmrAtResource
- DmrAtDetailResource
- DmrAtMainDmrAtDetailsResource
- DmrAtMainDmrAtResumesResource
- DmrAtMainResource
- DmrAtProcessingDetailResource
- DmrAtResource
- DmrAtResumeResource
- MoneyResource
All Enumerations
This service uses the following enumerations:
GET DmrAts
Returns the list of all the entity records available.
Response:
| When successful, the response body contains the list of records available. See DmrAtResource. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
Resource URL:
GET DmrAts (paged)
Returns a page of the list of all the entity records available.
The following elements are optional:
| page | (int) The index of the page of the list that should be returned. This is a query string parameter. |
| pageSize | (int) The number of page elements that should be returned (max. is 1000). This is a query string parameter. |
Response:
| When successful, the response body contains the list of records available. See DmrAtResource. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
Resource URL:
GET DmrAt 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 DmrAtResource. |
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 DmrAt by key
Returns the entity record that matches the specified key.
The following elements are required:
| companyKey | (string) The company key. |
| dmrKey | (string) DMR - AT. |
Response:
| When successful, the response body contains the entity record. See DmrAtResource. |
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 Print DmrAt by identifier
Prints the specified entity record.
The following elements are required:
| id | (string) The record identifier. |
The following elements are optional:
| template | (string) The report template that should be used. This is a query string parameter. |
Response:
| When successful, the response body contains a stream with the printed file. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 404 | NotFound. The specified resord does not exist. |
Resource URL:
GET Print DmrAt by key
Prints the specified entity record.
The following elements are required:
| companyKey | (string) The company key. |
| dmrKey | (string) DMR - AT. |
The following elements are optional:
| template | (string) The report template that should be used. This is a query string parameter. |
Response:
| When successful, the response body contains a stream with the printed file. |
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 Original Print DmrAtOriginal by identifier
Prints the specified entity record.
The following elements are required:
| id | (string) The record identifier. |
The following elements are optional:
| template | (string) The report template that should be used. This is a query string parameter. |
Response:
| When successful, the response body contains a stream with the printed file. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 404 | NotFound. The specified resord does not exist. |
Resource URL:
GET Original Print DmrAt by key
Prints the specified entity record.
The following elements are required:
| companyKey | (string) The company key. |
| dmrKey | (string) DMR - AT. |
The following elements are optional:
| template | (string) The report template that should be used. This is a query string parameter. |
Response:
| When successful, the response body contains a stream with the printed file. |
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:
POST DmrAts
Creates a new entity record.
The following elements are required:
| dmrAtResource | (ApiDmrAtResource) The request body should contain the entity record that should be created. See ApiDmrAtResource. |
Response:
| When successful, the response body contains the new entity record identifier. The resource header location property contains the URL for the new entity record. See ApiDmrAtResource. |
Response status codes:
| 201 | Created. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
Resource URL:
POST DMR
Inserts a new 'Dmr Summary' in the 'DMR'.
The following elements are required:
| dmrKey | (string) DMR - AT. |
| companyKey | (string) The company key. |
| value | (ApiDmrAtDmrAtResumesResource) The ApiDmrAtDmrAtResumesResource instance. See ApiDmrAtDmrAtResumesResource. |
Response:
| When successful, the response body is empty. |
Response status codes:
| 204 | NoContent. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
Resource URL:
POST DMR
Inserts a new 'DMR Detail' in the 'DMR'.
The following elements are required:
| dmrKey | (string) DMR - AT. |
| companyKey | (string) The company key. |
| value | (ApiDmrAtDmrAtDetailsResource) The ApiDmrAtDmrAtDetailsResource instance. See ApiDmrAtDmrAtDetailsResource. |
Response:
| When successful, the response body is empty. |
Response status codes:
| 204 | NoContent. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
Resource URL:
POST Generate Dmr At
Custom operation 'GenerateDmrAt'.
The following elements are required:
| companyKey | (string) CompanyKey. |
| month | (int) Month. |
| year | (int) Year. |
| generateWithNoRows | (bool) GenerateWithNoRows. |
Response:
| When successful, the response body is empty. |
Resource URL:
PUT Set AtTechnicalAccountantId DmrAt
Updates the value of attribute 'AtTechnicalAccountantId' in the specified entity record.
The following elements are required:
| dmrKey | (string) DMR - AT. |
| companyKey | (string) The company key. |
| value | (string) The request body should contain the new value for the attribute. |
Response:
| When successful, the response body is empty. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set Company DmrAt
Updates the value of attribute 'Company' in the specified entity record.
The following elements are required:
| dmrKey | (string) DMR - AT. |
| companyKey | (string) The company key. |
| value | (string) The request body should contain the new value for the attribute. |
Response:
| When successful, the response body is empty. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set CompulsoryContributions DmrAtDetail
Updates the value of attribute 'CompulsoryContributions' in the specified entity record.
The following elements are required:
| dmrKey | (string) DMR - AT. |
| lineId | (string) The detail identifier. |
| companyKey | (string) The company key. |
| value | (decimal) The request body should contain the new value for the attribute. |
Response:
| When successful, the response body is empty. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set CompulsoryContributions DmrAtResume
Updates the value of attribute 'CompulsoryContributions' in the specified entity record.
The following elements are required:
| dmrKey | (string) DMR - AT. |
| lineId | (string) The detail identifier. |
| companyKey | (string) The company key. |
| value | (decimal) The request body should contain the new value for the attribute. |
Response:
| When successful, the response body is empty. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set Currency DmrAt
Updates the value of attribute 'Currency' in the specified entity record.
The following elements are required:
| dmrKey | (string) DMR - AT. |
| companyKey | (string) The company key. |
| value | (string) The request body should contain the new value for the attribute. |
Response:
| When successful, the response body is empty. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set Currency DmrAtDetail
Updates the value of attribute 'Currency' in the specified entity record.
The following elements are required:
| dmrKey | (string) DMR - AT. |
| lineId | (string) The detail identifier. |
| companyKey | (string) The company key. |
| value | (string) The request body should contain the new value for the attribute. |
Response:
| When successful, the response body is empty. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set Currency DmrAtResume
Updates the value of attribute 'Currency' in the specified entity record.
The following elements are required:
| dmrKey | (string) DMR - AT. |
| lineId | (string) The detail identifier. |
| companyKey | (string) The company key. |
| value | (string) The request body should contain the new value for the attribute. |
Response:
| When successful, the response body is empty. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set DeliveryDate DmrAt
Updates the value of attribute 'DeliveryDate' in the specified entity record.
The following elements are required:
| dmrKey | (string) DMR - AT. |
| companyKey | (string) The company key. |
| value | (DateTime) The request body should contain the new value for the attribute. |
Response:
| When successful, the response body is empty. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set Description DmrAt
Updates the value of attribute 'Description' in the specified entity record.
The following elements are required:
| dmrKey | (string) DMR - AT. |
| companyKey | (string) The company key. |
| value | (string) The request body should contain the new value for the attribute. |
Response:
| When successful, the response body is empty. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set DmrKey DmrAt
Updates the value of attribute 'DmrKey' in the specified entity record.
The following elements are required:
| dmrKey | (string) DMR - AT. |
| companyKey | (string) The company key. |
| value | (string) The request body should contain the new value for the attribute. |
Response:
| When successful, the response body is empty. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set DmrState DmrAt
Updates the value of attribute 'DmrState' in the specified entity record.
The following elements are required:
| dmrKey | (string) DMR - AT. |
| companyKey | (string) The company key. |
| value | (enum DriState) The request body should contain the new value for the attribute. See DriState. |
Response:
| When successful, the response body is empty. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set DummyValue DmrAt
Updates the value of attribute 'DummyValue' in the specified entity record.
The following elements are required:
| dmrKey | (string) DMR - AT. |
| companyKey | (string) The company key. |
| value | (decimal) The request body should contain the new value for the attribute. |
Response:
| When successful, the response body is empty. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set Employee DmrAtDetail
Updates the value of attribute 'Employee' in the specified entity record.
The following elements are required:
| dmrKey | (string) DMR - AT. |
| lineId | (string) The detail identifier. |
| companyKey | (string) The company key. |
| value | (string) The request body should contain the new value for the attribute. |
Response:
| When successful, the response body is empty. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set HasNoSubstituteTechnicalAccount DmrAt
Updates the value of attribute 'HasNoSubstituteTechnicalAccount' in the specified entity record.
The following elements are required:
| dmrKey | (string) DMR - AT. |
| companyKey | (string) The company key. |
| value | (bool) The request body should contain the new value for the attribute. |
Response:
| When successful, the response body is empty. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set HasSubstituteTechnicalAccount DmrAt
Updates the value of attribute 'HasSubstituteTechnicalAccount' in the specified entity record.
The following elements are required:
| dmrKey | (string) DMR - AT. |
| companyKey | (string) The company key. |
| value | (bool) The request body should contain the new value for the attribute. |
Response:
| When successful, the response body is empty. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set ImpedimentDate DmrAt
Updates the value of attribute 'ImpedimentDate' in the specified entity record.
The following elements are required:
| dmrKey | (string) DMR - AT. |
| companyKey | (string) The company key. |
| value | (DateTime) The request body should contain the new value for the attribute. |
Response:
| When successful, the response body is empty. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set ImpedimentEndDate DmrAt
Updates the value of attribute 'ImpedimentEndDate' in the specified entity record.
The following elements are required:
| dmrKey | (string) DMR - AT. |
| companyKey | (string) The company key. |
| value | (DateTime) The request body should contain the new value for the attribute. |
Response:
| When successful, the response body is empty. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set ImpedimentReason DmrAt
Updates the value of attribute 'ImpedimentReason' in the specified entity record.
The following elements are required:
| dmrKey | (string) DMR - AT. |
| companyKey | (string) The company key. |
| value | (string) The request body should contain the new value for the attribute. |
Response:
| When successful, the response body is empty. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set IncomeNature DmrAtDetail
Updates the value of attribute 'IncomeNature' in the specified entity record.
The following elements are required:
| dmrKey | (string) DMR - AT. |
| lineId | (string) The detail identifier. |
| companyKey | (string) The company key. |
| value | (enum IncomeNature) The request body should contain the new value for the attribute. See IncomeNature. |
Response:
| When successful, the response body is empty. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set IncomeNature DmrAtResume
Updates the value of attribute 'IncomeNature' in the specified entity record.
The following elements are required:
| dmrKey | (string) DMR - AT. |
| lineId | (string) The detail identifier. |
| companyKey | (string) The company key. |
| value | (enum IncomeNature) The request body should contain the new value for the attribute. See IncomeNature. |
Response:
| When successful, the response body is empty. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set IncomeType DmrAtDetail
Updates the value of attribute 'IncomeType' in the specified entity record.
The following elements are required:
| dmrKey | (string) DMR - AT. |
| lineId | (string) The detail identifier. |
| companyKey | (string) The company key. |
| value | (string) The request body should contain the new value for the attribute. |
Response:
| When successful, the response body is empty. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set IncomeValues DmrAtResume
Updates the value of attribute 'IncomeValues' in the specified entity record.
The following elements are required:
| dmrKey | (string) DMR - AT. |
| lineId | (string) The detail identifier. |
| companyKey | (string) The company key. |
| value | (decimal) The request body should contain the new value for the attribute. |
Response:
| When successful, the response body is empty. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set IsActive DmrAt
Updates the value of attribute 'IsActive' in the specified entity record.
The following elements are required:
| dmrKey | (string) DMR - AT. |
| companyKey | (string) The company key. |
| value | (bool) The request body should contain the new value for the attribute. |
Response:
| When successful, the response body is empty. |
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:
PUT Set IsCalculated DmrAtDetail
Updates the value of attribute 'IsCalculated' in the specified entity record.
The following elements are required:
| dmrKey | (string) DMR - AT. |
| lineId | (string) The detail identifier. |
| companyKey | (string) The company key. |
| value | (bool) The request body should contain the new value for the attribute. |
Response:
| When successful, the response body is empty. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set IsModified DmrAtDetail
Updates the value of attribute 'IsModified' in the specified entity record.
The following elements are required:
| dmrKey | (string) DMR - AT. |
| lineId | (string) The detail identifier. |
| companyKey | (string) The company key. |
| value | (bool) The request body should contain the new value for the attribute. |
Response:
| When successful, the response body is empty. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set IsSubmitted DmrAt
Updates the value of attribute 'IsSubmitted' in the specified entity record.
The following elements are required:
| dmrKey | (string) DMR - AT. |
| companyKey | (string) The company key. |
| value | (bool) The request body should contain the new value for the attribute. |
Response:
| When successful, the response body is empty. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set IsSubmittedWithErrors DmrAt
Updates the value of attribute 'IsSubmittedWithErrors' in the specified entity record.
The following elements are required:
| dmrKey | (string) DMR - AT. |
| companyKey | (string) The company key. |
| value | (bool) The request body should contain the new value for the attribute. |
Response:
| When successful, the response body is empty. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set LocalOBT DmrAtDetail
Updates the value of attribute 'LocalOBT' in the specified entity record.
The following elements are required:
| dmrKey | (string) DMR - AT. |
| lineId | (string) The detail identifier. |
| companyKey | (string) The company key. |
| value | (string) The request body should contain the new value for the attribute. |
Response:
| When successful, the response body is empty. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set NIPC1 DmrAtDetail
Updates the value of attribute 'NIPC1' in the specified entity record.
The following elements are required:
| dmrKey | (string) DMR - AT. |
| lineId | (string) The detail identifier. |
| companyKey | (string) The company key. |
| value | (string) The request body should contain the new value for the attribute. |
Response:
| When successful, the response body is empty. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set NIPC2 DmrAtDetail
Updates the value of attribute 'NIPC2' in the specified entity record.
The following elements are required:
| dmrKey | (string) DMR - AT. |
| lineId | (string) The detail identifier. |
| companyKey | (string) The company key. |
| value | (string) The request body should contain the new value for the attribute. |
Response:
| When successful, the response body is empty. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set NIPC3 DmrAtDetail
Updates the value of attribute 'NIPC3' in the specified entity record.
The following elements are required:
| dmrKey | (string) DMR - AT. |
| lineId | (string) The detail identifier. |
| companyKey | (string) The company key. |
| value | (string) The request body should contain the new value for the attribute. |
Response:
| When successful, the response body is empty. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set Period DmrAt
Updates the value of attribute 'Period' in the specified entity record.
The following elements are required:
| dmrKey | (string) DMR - AT. |
| companyKey | (string) The company key. |
| value | (DateTime) The request body should contain the new value for the attribute. |
Response:
| When successful, the response body is empty. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set SubscriberId DmrAtDetail
Updates the value of attribute 'SubscriberId' in the specified entity record.
The following elements are required:
| dmrKey | (string) DMR - AT. |
| lineId | (string) The detail identifier. |
| companyKey | (string) The company key. |
| value | (string) The request body should contain the new value for the attribute. |
Response:
| When successful, the response body is empty. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set UnionFees DmrAtDetail
Updates the value of attribute 'UnionFees' in the specified entity record.
The following elements are required:
| dmrKey | (string) DMR - AT. |
| lineId | (string) The detail identifier. |
| companyKey | (string) The company key. |
| value | (decimal) The request body should contain the new value for the attribute. |
Response:
| When successful, the response body is empty. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set UnionFees DmrAtResume
Updates the value of attribute 'UnionFees' in the specified entity record.
The following elements are required:
| dmrKey | (string) DMR - AT. |
| lineId | (string) The detail identifier. |
| companyKey | (string) The company key. |
| value | (decimal) The request body should contain the new value for the attribute. |
Response:
| When successful, the response body is empty. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set WithholdingTax DmrAtDetail
Updates the value of attribute 'WithholdingTax' in the specified entity record.
The following elements are required:
| dmrKey | (string) DMR - AT. |
| lineId | (string) The detail identifier. |
| companyKey | (string) The company key. |
| value | (decimal) The request body should contain the new value for the attribute. |
Response:
| When successful, the response body is empty. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set WithholdingTax DmrAtResume
Updates the value of attribute 'WithholdingTax' in the specified entity record.
The following elements are required:
| dmrKey | (string) DMR - AT. |
| lineId | (string) The detail identifier. |
| companyKey | (string) The company key. |
| value | (decimal) The request body should contain the new value for the attribute. |
Response:
| When successful, the response body is empty. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set Year DmrAtDetail
Updates the value of attribute 'Year' in the specified entity record.
The following elements are required:
| dmrKey | (string) DMR - AT. |
| lineId | (string) The detail identifier. |
| companyKey | (string) The company key. |
| value | (int) The request body should contain the new value for the attribute. |
Response:
| When successful, the response body is empty. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set YearIncome DmrAtDetail
Updates the value of attribute 'YearIncome' in the specified entity record.
The following elements are required:
| dmrKey | (string) DMR - AT. |
| lineId | (string) The detail identifier. |
| companyKey | (string) The company key. |
| value | (decimal) The request body should contain the new value for the attribute. |
Response:
| When successful, the response body is empty. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
Resource URL:
DELETE Dmr Summary by identifier
Deletes the entity record that matches the specified identifier.
The following elements are required:
| dmrKey | (string) DMR - AT. |
| companyKey | (string) The company key. |
| lineId | (string) The line identifier. |
Response:
| When successful, the response body is empty. |
Response status codes:
| 204 | NoContent. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
| 404 | NotFound. The specified record does not exist. |
Resource URL:
DELETE DMR Detail by identifier
Deletes the entity record that matches the specified identifier.
The following elements are required:
| dmrKey | (string) DMR - AT. |
| companyKey | (string) The company key. |
| lineId | (string) The line identifier. |
Response:
| When successful, the response body is empty. |
Response status codes:
| 204 | NoContent. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
| 404 | NotFound. The specified record does not exist. |
Resource URL:
DELETE DmrAt by identifier
Deletes the entity record that matches the specified identifier.
The following elements are required:
| id | (string) The record identifier. |
Response:
| When successful, the response body is empty. |
Response status codes:
| 204 | Deleted. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
| 404 | NotFound. The specified record does not exist. |
Resource URL:
DELETE DmrAt by key
Deletes the entity record that matches the specified key.
The following elements are required:
| companyKey | (string) The company key. |
| dmrKey | (string) DMR - AT. |
Response:
| When successful, the response body is empty. |
Response status codes:
| 204 | Deleted. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
| 404 | NotFound. The specified record does not exist. |
Resource URL:
Resources
ApiDmrAtDmrAtDetailsProcessingDetailsResource
The following elements are required:
| processing | (string) Processing. |
| earning | (string) Earning. |
| subjectValue | (MoneyResource) Subject Value.
See MoneyResource . |
| exemptValue | (MoneyResource) Exempt Value.
See MoneyResource . |
| freeValue | (MoneyResource) Free Value.
See MoneyResource . |
| currency | (string) Currency. |
ApiDmrAtDmrAtDetailsResource
The following elements are required:
| employee | (string) Employee. |
| year | (int) Year. |
| yearIncome | (MoneyResource) Year Income.
See MoneyResource . |
| incomeNature | (enum IncomeNature) Nature.
See IncomeNature. |
| localOBT | (string) Local OBT. |
| withholdingTax | (MoneyResource) Withholding Tax.
See MoneyResource . |
| compulsoryContributions | (MoneyResource) Compulsory Contributions.
See MoneyResource . |
| unionFees | (MoneyResource) Union Fees.
See MoneyResource . |
| currency | (string) Currency. |
| isCalculated | (bool) Is Calculated. |
| isModified | (bool) Modified. |
The following elements are optional:
| subscriberId | (string) Subscriber Id. |
| incomeType | (string) Income Type. |
| nIPC1 | (string) NIPC1. |
| nIPC2 | (string) NIPC2. |
| nIPC3 | (string) NIPC3. |
| processingDetails | (List of ApiDmrAtDmrAtDetailsProcessingDetailsResource) Processing Details.
See ApiDmrAtDmrAtDetailsProcessingDetailsResource. |
ApiDmrAtDmrAtResumesResource
The following elements are required:
| incomeValues | (MoneyResource) Income Values.
See MoneyResource . |
| withholdingTax | (MoneyResource) Withholding Tax.
See MoneyResource . |
| compulsoryContributions | (MoneyResource) Compulsory Contributions.
See MoneyResource . |
| unionFees | (MoneyResource) Union Fees.
See MoneyResource . |
| currency | (string) Currency. |
The following elements are optional:
| incomeNature | (enum IncomeNature) Income Nature.
See IncomeNature. |
ApiDmrAtResource
The following elements are required:
| dmrKey | (string) DMR - AT. |
| period | (DateTime) Period. |
| currency | (string) Currency. |
| company | (string) Company. |
| dummyValue | (MoneyResource) Propriedade gerada por causa da implementação do IMonetaryData.
See MoneyResource . |
| isSubmitted | (bool) Is Submitted. |
The following elements are optional:
| description | (string) Description. |
| dmrAtResumes | (List of ApiDmrAtDmrAtResumesResource) Dmr At Resumes.
See ApiDmrAtDmrAtResumesResource. |
| dmrAtDetails | (List of ApiDmrAtDmrAtDetailsResource) Dmr At Details.
See ApiDmrAtDmrAtDetailsResource. |
| deliveryDate | (DateTime) Delivery Date. |
| impedimentReason | (string) Impediment Reason. |
| impedimentDate | (DateTime) Impediment Date. |
| impedimentEndDate | (DateTime) Impediment End Date. |
| atTechnicalAccountantId | (string) The Tax id of Technical account. |
| hasSubstituteTechnicalAccount | (bool) The boolean property that says if there is a substitue accountant. |
| hasNoSubstituteTechnicalAccount | (bool) The boolean property that says if there is not a substitue accountant. |
| dmrState | (enum DriState) State.
See DriState. |
| isSubmittedWithErrors | (bool) Submitted With Errors. |
DmrAtDetailResource
The following elements are required:
| employee | (string) Employee. |
| year | (int) Year. |
| yearIncome | (MoneyResource) Year Income.
See MoneyResource . |
| incomeNature | (enum IncomeNature) Nature.
See IncomeNature. |
| localOBT | (string) Local OBT. |
| withholdingTax | (MoneyResource) Withholding Tax.
See MoneyResource . |
| compulsoryContributions | (MoneyResource) Compulsory Contributions.
See MoneyResource . |
| unionFees | (MoneyResource) Union Fees.
See MoneyResource . |
| currency | (string) Currency. |
| isCalculated | (bool) Is Calculated. |
| isModified | (bool) Modified. |
The following elements are optional:
| subscriberId | (string) Subscriber Id. |
| incomeType | (string) Income Type. |
| nIPC1 | (string) NIPC1. |
| nIPC2 | (string) NIPC2. |
| nIPC3 | (string) NIPC3. |
| processingDetails | (List of DmrAtProcessingDetailResource) Processing Details.
See DmrAtProcessingDetailResource. |
DmrAtMainDmrAtDetailsResource
The following elements are required:
| compulsoryContributions | (MoneyResource) Compulsory Contributions.
See MoneyResource . |
| employee | (string) Employee. |
| incomeNature | (enum IncomeNature) Nature.
See IncomeNature. |
| isCalculated | (bool) Is Calculated. |
| localOBT | (string) Local OBT. |
| unionFees | (MoneyResource) Union Fees.
See MoneyResource . |
| withholdingTax | (MoneyResource) Withholding Tax.
See MoneyResource . |
| year | (int) Year. |
| yearIncome | (MoneyResource) Year Income.
See MoneyResource . |
| currency | (string) Currency. |
| isModified | (bool) Modified. |
The following elements are optional:
| incomeType | (string) Income Type. |
| nIPC1 | (string) NIPC1. |
| nIPC2 | (string) NIPC2. |
| nIPC3 | (string) NIPC3. |
| subscriberId | (string) Subscriber Id. |
DmrAtMainDmrAtResumesResource
The following elements are required:
| compulsoryContributions | (MoneyResource) Compulsory Contributions.
See MoneyResource . |
| incomeValues | (MoneyResource) Income Values.
See MoneyResource . |
| unionFees | (MoneyResource) Union Fees.
See MoneyResource . |
| withholdingTax | (MoneyResource) Withholding Tax.
See MoneyResource . |
| currency | (string) Currency. |
The following elements are optional:
| incomeNature | (enum IncomeNature) Income Nature.
See IncomeNature. |
DmrAtMainResource
The following elements are required:
| dmrKey | (string) DMR - AT. |
| period | (DateTime) Period. |
| company | (string) Company. |
| currency | (string) Currency. |
| isSubmitted | (bool) Is Submitted. |
The following elements are optional:
| description | (string) Description. |
| dmrAtDetails | (List of DmrAtMainDmrAtDetailsResource) Dmr At Details.
See DmrAtMainDmrAtDetailsResource. |
| dmrAtResumes | (List of DmrAtMainDmrAtResumesResource) Dmr At Resumes.
See DmrAtMainDmrAtResumesResource. |
| dmrState | (enum DriState) State.
See DriState. |
| deliveryDate | (DateTime) Delivery Date. |
| impedimentDate | (DateTime) Impediment Date. |
| impedimentReason | (string) Impediment Reason. |
| impedimentEndDate | (DateTime) Impediment End Date. |
| atTechnicalAccountantId | (string) The Tax id of Technical account. |
| hasNoSubstituteTechnicalAccount | (bool) The boolean property that says if there is not a substitue accountant. |
| hasSubstituteTechnicalAccount | (bool) The boolean property that says if there is a substitue accountant. |
| isSubmittedWithErrors | (bool) Submitted With Errors. |
DmrAtProcessingDetailResource
The following elements are required:
| processing | (string) Processing. |
| earning | (string) Earning. |
| subjectValue | (MoneyResource) Subject Value.
See MoneyResource . |
| exemptValue | (MoneyResource) Exempt Value.
See MoneyResource . |
| freeValue | (MoneyResource) Free Value.
See MoneyResource . |
| currency | (string) Currency. |
DmrAtResource
The following elements are required:
| dmrKey | (string) DMR - AT. |
| period | (DateTime) Period. |
| currency | (string) Currency.
(fk) Allowed value: the natural key of a record of type Currency. |
| company | (string) Company.
(fk) Allowed value: the natural key of a record of type Company. |
| dummyValue | (MoneyResource) Propriedade gerada por causa da implementação do IMonetaryData.
See MoneyResource . |
| isSubmitted | (bool) Is Submitted. |
The following elements are optional:
| description | (string) Description. |
| dmrAtResumes | (List of DmrAtResumeResource) Dmr At Resumes.
See DmrAtResumeResource. |
| dmrAtDetails | (List of DmrAtDetailResource) Dmr At Details.
See DmrAtDetailResource. |
| deliveryDate | (DateTime) Delivery Date. |
| impedimentReason | (string) Impediment Reason.
(fk) Allowed value: the natural key of a record of type DmrAtImpedimentReason. These records are accessibly through the DmrAtImpedimentReasons service. |
| impedimentDate | (DateTime) Impediment Date. |
| impedimentEndDate | (DateTime) Impediment End Date. |
| atTechnicalAccountantId | (string) The Tax id of Technical account. |
| hasSubstituteTechnicalAccount | (bool) The boolean property that says if there is a substitue accountant. |
| hasNoSubstituteTechnicalAccount | (bool) The boolean property that says if there is not a substitue accountant. |
| dmrState | (enum DriState) State.
See DriState. |
| isSubmittedWithErrors | (bool) Submitted With Errors. |
| deliveryId | (string) Delivery Id. |
DmrAtResumeResource
The following elements are required:
| incomeValues | (MoneyResource) Income Values.
See MoneyResource . |
| withholdingTax | (MoneyResource) Withholding Tax.
See MoneyResource . |
| compulsoryContributions | (MoneyResource) Compulsory Contributions.
See MoneyResource . |
| unionFees | (MoneyResource) Union Fees.
See MoneyResource . |
| currency | (string) Currency. |
The following elements are optional:
| incomeNature | (enum IncomeNature) Income Nature.
See IncomeNature. |
MoneyResource
The following elements are required:
| amount | (decimal) The amount. |
The following elements are optional:
| baseAmount | (decimal) The base amount. |
| reportingAmount | (decimal) The reporting amount. |
| fractionDigits | (int) The fraction digits. |
| symbol | (string) The symbol. |
Notes: For the POST operation it is not necessary to send the fields: BaseAmount, ReportingAmount, FractionDigits and Symbol. Will be ignored.