Payroll
Sending a Payroll
API Method = SendWireTransferFile
This method makes it possible to send files. Upon receiving the files via API, our system will read the file generating payments.
{
"Method": "SendWireTransferFile",
"BusinessUnitId": 1,
"PartnerId": 2,
"TaxNumber": "44320958063",
"Files": [
{
"FileName": "PagoDeNominasTest123",
"Extension": "xml",
"Content": "dGVzdGU=",
"DocumentType": 1,
"SchemaVersion": "1.0",
"Identifier": "1441514415_01"
},
{
"FileName": "PagoDeNominasTest456",
"Extension": "xml",
"Content": "dGVzdGUAU=",
"DocumentType": 2,
"SchemaVersion": "1.0",
"Identifier": "1441514416_02"
}
]
}
{
"files": [
{
"success": true,
"fileInId": 1,
"message": "File uploaded successfully",
"error": null,
"identifier": "1441514415_01"
},
{
"success": true,
"fileInId": 2,
"message": "File uploaded successfully",
"error": null,
"identifier": "1441514416_02"
}
],
"success": true,
"message": "Successfully executed method",
"error": null,
"errors": null
}
Description
Parameter | Description | Mandatory | Type | Example |
---|---|---|---|---|
Method | Method Name | YES | STRING | SendWireTransferFile |
BusinessUnitId | Business ID provided by FitBank | YES | INT64 | 123 |
PartnerId | Partner ID provided by FitBank | YES | INT64 | 456 |
TaxNumber | Identifier | YES | STRING | FASF020504R80 |
Files | Send Files JSON | YES | JSON | |
FileName | File Name | YES | STRING | PagoDeNominas |
Extension | File Format | YES | STRING | xml |
Content | BASE 64 File | YES | STRING | dGVzdGUAU= |
DocumentType | File Type | YES | INTEGER | 1 - Internal 2 - External |
SchemaVersion | JSON Version 1.0 | YES | STRING | 1.0 |
Identifier | Id reference to the payment order generated | YES | STRING | 123456_test |
Updated about 1 year ago