Payroll | Bank File
Service to manage entities of type 'BankFile'. (Standalone subscriptions only).
Overview
URL | api/{tenantKey}/{orgKey}/payroll/bankFiles |
Methods Supported | GET, POST, PUT, DELETE |
All Operations
This service includes the following operations:
- GET:
- POST:
-
PUT:
- PUT Set IsActive BankFile
- PUT Set BankFileKey BankFile
- PUT Set TransferDate BankFile
- PUT Set BankAccount BankFile
- PUT Set Company BankFile
- PUT Set PaymentMethod BankFile
- PUT Set PrintedReportName BankFile
- PUT Set IsPrinted BankFile
- PUT Set IsReprinted BankFile
- PUT Set IsSigned BankFile
- PUT Set EmployeeReceipt BankFileDetail
- PUT Set Contract BankFileDetail
- PUT Set Employee BankFileDetail
- PUT Set Value BankFileDetail
- PUT Set Currency BankFileDetail
- PUT Set IBAN BankFileDetail
- PUT Set SWIFT BankFileDetail
- PUT Set Reference BankFileDetail
- DELETE:
All Resources
This service uses the following resources:
GET BankFiles
Returns the list of all the entity records available.
Response:
When successful, the response body contains the list of records available. See BankFileResource. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
Resource URL:
GET BankFiles (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 BankFileResource. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
Resource URL:
GET BankFile 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 BankFileResource. |
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 BankFile by key
Returns the entity record that matches the specified key.
The following elements are required:
companyKey | (string) The company key. |
bankFileKey | (string) Bank File. |
Response:
When successful, the response body contains the entity record. See BankFileResource. |
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 BankFile 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 BankFile by key
Prints the specified entity record.
The following elements are required:
companyKey | (string) The company key. |
bankFileKey | (string) Bank File. |
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 BankFileOriginal 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 BankFile by key
Prints the specified entity record.
The following elements are required:
companyKey | (string) The company key. |
bankFileKey | (string) Bank File. |
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 BankFiles
Creates a new entity record.
The following elements are required:
bankFileResource | (ApiBankFileResource) The request body should contain the entity record that should be created. See ApiBankFileResource. |
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 ApiBankFileResource. |
Response status codes:
201 | Created. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
Resource URL:
POST Bank File
Inserts a new 'Receipts' in the 'Bank File'.
The following elements are required:
bankFileKey | (string) Bank File. |
companyKey | (string) The company key. |
value | (ApiBankFileBankFileDetailsResource) The ApiBankFileBankFileDetailsResource instance. See ApiBankFileBankFileDetailsResource. |
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 Bank File Download
Get the bank file contents.
The following elements are required:
bankFileKey | (string) The bank file key. |
companyKey | (string) The company key. |
Response:
When successful, the response body contains a string. |
Resource URL:
PUT Set BankAccount BankFile
Updates the value of attribute 'BankAccount' in the specified entity record.
The following elements are required:
bankFileKey | (string) Bank File. |
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 BankFileKey BankFile
Updates the value of attribute 'BankFileKey' in the specified entity record.
The following elements are required:
bankFileKey | (string) Bank File. |
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 BankFile
Updates the value of attribute 'Company' in the specified entity record.
The following elements are required:
bankFileKey | (string) Bank File. |
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 Contract BankFileDetail
Updates the value of attribute 'Contract' in the specified entity record.
The following elements are required:
bankFileKey | (string) Bank File. |
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 BankFileDetail
Updates the value of attribute 'Currency' in the specified entity record.
The following elements are required:
bankFileKey | (string) Bank File. |
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 Employee BankFileDetail
Updates the value of attribute 'Employee' in the specified entity record.
The following elements are required:
bankFileKey | (string) Bank File. |
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 EmployeeReceipt BankFileDetail
Updates the value of attribute 'EmployeeReceipt' in the specified entity record.
The following elements are required:
bankFileKey | (string) Bank File. |
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 IBAN BankFileDetail
Updates the value of attribute 'IBAN' in the specified entity record.
The following elements are required:
bankFileKey | (string) Bank File. |
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 IsActive BankFile
Updates the value of attribute 'IsActive' in the specified entity record.
The following elements are required:
bankFileKey | (string) Bank File. |
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 IsPrinted BankFile
Updates the value of attribute 'IsPrinted' in the specified entity record.
The following elements are required:
bankFileKey | (string) Bank File. |
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 IsReprinted BankFile
Updates the value of attribute 'IsReprinted' in the specified entity record.
The following elements are required:
bankFileKey | (string) Bank File. |
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 IsSigned BankFile
Updates the value of attribute 'IsSigned' in the specified entity record.
The following elements are required:
bankFileKey | (string) Bank File. |
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 PaymentMethod BankFile
Updates the value of attribute 'PaymentMethod' in the specified entity record.
The following elements are required:
bankFileKey | (string) Bank File. |
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 PrintedReportName BankFile
Updates the value of attribute 'PrintedReportName' in the specified entity record.
The following elements are required:
bankFileKey | (string) Bank File. |
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 Reference BankFileDetail
Updates the value of attribute 'Reference' in the specified entity record.
The following elements are required:
bankFileKey | (string) Bank File. |
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 SWIFT BankFileDetail
Updates the value of attribute 'SWIFT' in the specified entity record.
The following elements are required:
bankFileKey | (string) Bank File. |
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 TransferDate BankFile
Updates the value of attribute 'TransferDate' in the specified entity record.
The following elements are required:
bankFileKey | (string) Bank File. |
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 Value BankFileDetail
Updates the value of attribute 'Value' in the specified entity record.
The following elements are required:
bankFileKey | (string) Bank File. |
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 Receipts by identifier
Deletes the entity record that matches the specified identifier.
The following elements are required:
bankFileKey | (string) Bank File. |
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 BankFile 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 BankFile by key
Deletes the entity record that matches the specified key.
The following elements are required:
companyKey | (string) The company key. |
bankFileKey | (string) Bank File. |
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
ApiBankFileBankFileDetailsResource
The following elements are required:
employeeReceipt | (string) Employee Receipt. |
contract | (string) Contract. |
employee | (string) Employee. |
value | (MoneyResource) Value.
See MoneyResource . |
currency | (string) Currency. |
The following elements are optional:
iBAN | (string) IBAN. |
sWIFT | (string) SWIFT. |
reference | (string) Reference. |
ApiBankFileResource
The following elements are required:
bankFileKey | (string) Bank File. |
transferDate | (DateTime) Transfer Date. |
bankAccount | (string) Bank Account. |
company | (string) Company. |
paymentMethod | (string) Payment Method. |
The following elements are optional:
bankFileDetails | (List of ApiBankFileBankFileDetailsResource) Bank File Details.
See ApiBankFileBankFileDetailsResource. |
printedReportName | (string) Printed Report Name. |
isPrinted | (bool) Is Printed. |
isReprinted | (bool) Is Reprinted. |
isSigned | (bool) Is Signed. |
BankFileDetailResource
The following elements are required:
employeeReceipt | (string) Employee Receipt. |
contract | (string) Contract. |
employee | (string) Employee. |
value | (MoneyResource) Value.
See MoneyResource . |
currency | (string) Currency. |
The following elements are optional:
iBAN | (string) IBAN. |
sWIFT | (string) SWIFT. |
reference | (string) Reference. |
BankFileResource
The following elements are required:
bankFileKey | (string) Bank File. |
transferDate | (DateTime) Transfer Date. |
bankAccount | (string) Bank Account. |
company | (string) Company. |
paymentMethod | (string) Payment Method. |
The following elements are optional:
bankFileDetails | (List of BankFileDetailResource) Bank File Details.
See BankFileDetailResource. |
printedReportName | (string) Printed Report Name. |
isPrinted | (bool) Is Printed. |
isReprinted | (bool) Is Reprinted. |
isSigned | (bool) Is Signed. |
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.