Manage your Stock Regularizations
Prana API (1.0)
API Prana
Welcome !!! In our developer portal you will find everything you need to interact with our platform.
Our API works with the REST interface through the HTTPS protocol and using the JSON format for processing calls.
All requests are validated against an API Key that can be obtained manually from the Configuration section of the PRANA app.
Our goal is to offer the clearest possible documentation here.
Any suggestions can be sent to: info@prana.software
API Key
To use your API key, you need only call the api with your key in the header as follow:
X-Api-Key
- https://api.prana.software/api/v1/bank/{id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://api.prana.software/api/v1/bank/{id}'OK
Accounting account details. See ApiChartAccountListReadDto.
Bills payable account details. See ApiChartAccountListReadDto.
Policy account details. See ApiChartAccountListReadDto.
Indicates if SEPA TXT will be created without instruction identification.
Format for confirming operations. See ApiConfirmingFormat enum.
{ "id": 1, "code": "ES1234", "name": "CLAVEI BANK", "iban": "ES9820385778983000760236", "swift": "BSABESBBXXX", "inactive": false, "observations": "Merges with main branch yearly", "riskGranted": 25000, "riskConsumed": 13000.55, "riskAvailable": 12000, "accountingAccount": { "id": 1, "code": 1000, "description": "Cash account", "cif": "B12345678", "active": true, "color": "#FF5733", "parentCode": 100, "parentDescription": "Assets" }, "remittancePresenterSuffix": "0001", "reportPrtryInsteadCd": false, "skipBicorbeiTags": false, "skipIndividualData": false, "billsPayableAccount": { "id": 1, "code": 1000, "description": "Cash account", "cif": "B12345678", "active": true, "color": "#FF5733", "parentCode": 100, "parentDescription": "Assets" }, "policyAccount": { "id": 1, "code": 1000, "description": "Cash account", "cif": "B12345678", "active": true, "color": "#FF5733", "parentCode": 100, "parentDescription": "Assets" }, "payerCustomerCode": "1002A", "internalReference": "BANKREF123", "mnemo": "MNEMO", "sepaTxtWithoutInstructionIdentification": false, "confirmingFormat": "BANKINTER", "lastPromissoryNoteNumber": 145, "remittanceGenerationCsb34": false, "confirmingEmailTransfer": true, "picture": "bank_logo.png", "pictureToken": "token-1f8e", "balance": 15400.8, "income": 9671.22, "expenses": 5400.13, "synchronizable": false, "showSummary": true }
Indicates if SEPA TXT will be created without instruction identification.
Format for confirming operations. See ApiConfirmingFormat enum.
- https://api.prana.software/api/v1/bank/{id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PUT \
'https://api.prana.software/api/v1/bank/{id}' \
-H 'Content-Type: application/json' \
-d '{
"code": "ES1234",
"name": "CLAVEI BANK",
"iban": "ES9820385778983000760236",
"swift": "BSABESBBXXX",
"inactive": false,
"observations": "Main office 2025",
"riskGranted": 25000,
"riskConsumed": 13000.55,
"riskAvailable": 12000,
"accountingAccount": 5720001001,
"remittancePresenterSuffix": "0001",
"reportPrtryInsteadCd": false,
"skipBicorbeiTags": false,
"skipIndividualData": false,
"billsPayableAccount": 400001,
"policyAccount": 800002,
"payerCustomerCode": "1002A",
"internalReference": "BANKREF123",
"mnemo": "MNEMO",
"sepaTxtWithoutInstructionIdentification": false,
"confirmingFormat": "BANKINTER",
"lastPromissoryNoteNumber": 145,
"remittanceGenerationCsb34": false,
"confirmingEmailTransfer": true,
"picture": "bank_logo.png",
"synchronizable": false,
"showSummary": true
}'OK
Accounting account details. See ApiChartAccountListReadDto.
Bills payable account details. See ApiChartAccountListReadDto.
Policy account details. See ApiChartAccountListReadDto.
Indicates if SEPA TXT will be created without instruction identification.
Format for confirming operations. See ApiConfirmingFormat enum.
{ "id": 1, "code": "ES1234", "name": "CLAVEI BANK", "iban": "ES9820385778983000760236", "swift": "BSABESBBXXX", "inactive": false, "observations": "Merges with main branch yearly", "riskGranted": 25000, "riskConsumed": 13000.55, "riskAvailable": 12000, "accountingAccount": { "id": 1, "code": 1000, "description": "Cash account", "cif": "B12345678", "active": true, "color": "#FF5733", "parentCode": 100, "parentDescription": "Assets" }, "remittancePresenterSuffix": "0001", "reportPrtryInsteadCd": false, "skipBicorbeiTags": false, "skipIndividualData": false, "billsPayableAccount": { "id": 1, "code": 1000, "description": "Cash account", "cif": "B12345678", "active": true, "color": "#FF5733", "parentCode": 100, "parentDescription": "Assets" }, "policyAccount": { "id": 1, "code": 1000, "description": "Cash account", "cif": "B12345678", "active": true, "color": "#FF5733", "parentCode": 100, "parentDescription": "Assets" }, "payerCustomerCode": "1002A", "internalReference": "BANKREF123", "mnemo": "MNEMO", "sepaTxtWithoutInstructionIdentification": false, "confirmingFormat": "BANKINTER", "lastPromissoryNoteNumber": 145, "remittanceGenerationCsb34": false, "confirmingEmailTransfer": true, "picture": "bank_logo.png", "pictureToken": "token-1f8e", "balance": 15400.8, "income": 9671.22, "expenses": 5400.13, "synchronizable": false, "showSummary": true }
- https://api.prana.software/api/v1/bank/{id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PATCH \
'https://api.prana.software/api/v1/bank/{id}' \
-H 'Content-Type: application/json' \
-d '{
"property1": {},
"property2": {}
}'OK
Accounting account details. See ApiChartAccountListReadDto.
Bills payable account details. See ApiChartAccountListReadDto.
Policy account details. See ApiChartAccountListReadDto.
Indicates if SEPA TXT will be created without instruction identification.
Format for confirming operations. See ApiConfirmingFormat enum.
{ "id": 1, "code": "ES1234", "name": "CLAVEI BANK", "iban": "ES9820385778983000760236", "swift": "BSABESBBXXX", "inactive": false, "observations": "Merges with main branch yearly", "riskGranted": 25000, "riskConsumed": 13000.55, "riskAvailable": 12000, "accountingAccount": { "id": 1, "code": 1000, "description": "Cash account", "cif": "B12345678", "active": true, "color": "#FF5733", "parentCode": 100, "parentDescription": "Assets" }, "remittancePresenterSuffix": "0001", "reportPrtryInsteadCd": false, "skipBicorbeiTags": false, "skipIndividualData": false, "billsPayableAccount": { "id": 1, "code": 1000, "description": "Cash account", "cif": "B12345678", "active": true, "color": "#FF5733", "parentCode": 100, "parentDescription": "Assets" }, "policyAccount": { "id": 1, "code": 1000, "description": "Cash account", "cif": "B12345678", "active": true, "color": "#FF5733", "parentCode": 100, "parentDescription": "Assets" }, "payerCustomerCode": "1002A", "internalReference": "BANKREF123", "mnemo": "MNEMO", "sepaTxtWithoutInstructionIdentification": false, "confirmingFormat": "BANKINTER", "lastPromissoryNoteNumber": 145, "remittanceGenerationCsb34": false, "confirmingEmailTransfer": true, "picture": "bank_logo.png", "pictureToken": "token-1f8e", "balance": 15400.8, "income": 9671.22, "expenses": 5400.13, "synchronizable": false, "showSummary": true }
Indicates if SEPA TXT will be created without instruction identification.
Format for confirming operations. See ApiConfirmingFormat enum.
- https://api.prana.software/api/v1/bank
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://api.prana.software/api/v1/bank \
-H 'Content-Type: application/json' \
-d '{
"code": "ES1234",
"name": "CLAVEI BANK",
"iban": "ES9820385778983000760236",
"swift": "BSABESBBXXX",
"inactive": false,
"observations": "Main office 2025",
"riskGranted": 25000,
"riskConsumed": 13000.55,
"riskAvailable": 12000,
"accountingAccount": 5720001001,
"remittancePresenterSuffix": "0001",
"reportPrtryInsteadCd": false,
"skipBicorbeiTags": false,
"skipIndividualData": false,
"billsPayableAccount": 400001,
"policyAccount": 800002,
"payerCustomerCode": "1002A",
"internalReference": "BANKREF123",
"mnemo": "MNEMO",
"sepaTxtWithoutInstructionIdentification": false,
"confirmingFormat": "BANKINTER",
"lastPromissoryNoteNumber": 145,
"remittanceGenerationCsb34": false,
"confirmingEmailTransfer": true,
"picture": "bank_logo.png",
"synchronizable": false,
"showSummary": true
}'OK
Accounting account details. See ApiChartAccountListReadDto.
Bills payable account details. See ApiChartAccountListReadDto.
Policy account details. See ApiChartAccountListReadDto.
Indicates if SEPA TXT will be created without instruction identification.
Format for confirming operations. See ApiConfirmingFormat enum.
{ "id": 1, "code": "ES1234", "name": "CLAVEI BANK", "iban": "ES9820385778983000760236", "swift": "BSABESBBXXX", "inactive": false, "observations": "Merges with main branch yearly", "riskGranted": 25000, "riskConsumed": 13000.55, "riskAvailable": 12000, "accountingAccount": { "id": 1, "code": 1000, "description": "Cash account", "cif": "B12345678", "active": true, "color": "#FF5733", "parentCode": 100, "parentDescription": "Assets" }, "remittancePresenterSuffix": "0001", "reportPrtryInsteadCd": false, "skipBicorbeiTags": false, "skipIndividualData": false, "billsPayableAccount": { "id": 1, "code": 1000, "description": "Cash account", "cif": "B12345678", "active": true, "color": "#FF5733", "parentCode": 100, "parentDescription": "Assets" }, "policyAccount": { "id": 1, "code": 1000, "description": "Cash account", "cif": "B12345678", "active": true, "color": "#FF5733", "parentCode": 100, "parentDescription": "Assets" }, "payerCustomerCode": "1002A", "internalReference": "BANKREF123", "mnemo": "MNEMO", "sepaTxtWithoutInstructionIdentification": false, "confirmingFormat": "BANKINTER", "lastPromissoryNoteNumber": 145, "remittanceGenerationCsb34": false, "confirmingEmailTransfer": true, "picture": "bank_logo.png", "pictureToken": "token-1f8e", "balance": 15400.8, "income": 9671.22, "expenses": 5400.13, "synchronizable": false, "showSummary": true }
- https://api.prana.software/api/v1/bank/search
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://api.prana.software/api/v1/bank/search \
-H 'Content-Type: application/json' \
-d '{
"condition": {
"field": "name",
"value": "Example Value",
"type": "EQ",
"endValue": 100,
"innerConditions": [
{}
],
"conditionType": "AND",
"empty": false,
"compareFields": false
},
"sortCriteria": [
{
"sortField": "name",
"sortDirection": "ASC"
}
],
"pageNumber": 0,
"pageSize": 20
}'{ "data": [ { … } ], "page": 0, "total": 150, "pages": 14, "size": 10 }