Skip to content

Prana API (1.0)

API Definition to interact with Prana platform

Download OpenAPI description
Languages
Servers

https://api.prana.software/

Stock Regularization

Manage your Stock Regularizations

Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations

Stock Transfer

Manage your Stock Transfers

Operations
Operations

Warehouse Movement

Manage your warehouse movements

Operations
Operations
Operations

DeliveryNote

Manage your DeliveryNotes

Operations

Warehouse Accumulate

Manage your warehouse accumulates

Operations
Operations
Operations

Request

Get a specific rate.

Path
idinteger(int32)required
curl -i -X GET \
  'https://api.prana.software/api/v1/rate/{id}'

Responses

OK

Bodyapplication/json
idinteger(int32)required

Unique identifier of the entity

Example: 1
codestringrequired
seasonobject(ApiSeasonListReadDto)
currencyobject(ApiCurrencyListReadDto)
calculationMethodstring(ApiCalculationMethodEnum)
Enum"BOM_COST""PURCHASE_PRICE""MOTHER_RATE"
motherRateobject(ApiRateListReadDto)
percentageIncreasenumber
amountToAddnumber
roundingTypestring(ApiRoundingTypeEnum)
Enum"TERMINATION""MULTIPLE"
roundingRatenumber
proximityTypestring(ApiProximityTypeEnum)
Enum"NEARBY""PREVIOUS""LATER"
activeboolean
rateCodeobject(ApiRateCodeListReadDto)
taxesIncludedboolean
finalPriceCalculationsboolean
Response
application/json
{ "id": 1, "code": "string", "season": { "id": 1, "code": "string", "description": "string", "isCurrent": true, "startDate": "2019-08-24", "endDate": "2019-08-24" }, "currency": { "id": 1, "code": "strin", "description": "string", "nomenclature": "strin", "isoCode": "USD", "changeValue": 0, "significantDecimalsDocuments": 0, "intermediateDecimalsDocuments": 0, "decimalsCalculatePrices": 0, "decimalsCalculateCosts": 0 }, "calculationMethod": "BOM_COST", "motherRate": { "id": 1, "code": "R-SALE-2024", "seasonDescription": "Spring 2024", "currencyId": 978, "currencyDescription": "Euro", "currencyNomenclature": "EUR", "motherRate": "General Rate", "active": true, "rateCodeId": 12 }, "percentageIncrease": 0, "amountToAdd": 0, "roundingType": "TERMINATION", "roundingRate": 0, "proximityType": "NEARBY", "active": true, "rateCode": { "id": 1, "code": "string", "taxesIncluded": true }, "taxesIncluded": true, "finalPriceCalculations": true }

Request

Update a specific rate.

Path
idinteger(int32)required
Bodyapplication/jsonrequired
codestring[ 0 .. 30 ] charactersrequired
seasoninteger(int32)
currencyinteger(int32)required
calculationMethodstring(ApiCalculationMethodEnum)
Enum"BOM_COST""PURCHASE_PRICE""MOTHER_RATE"
motherRateinteger(int32)
percentageIncreasenumber
amountToAddnumber
roundingTypestring(ApiRoundingTypeEnum)
Enum"TERMINATION""MULTIPLE"
roundingRatenumber
proximityTypestring(ApiProximityTypeEnum)
Enum"NEARBY""PREVIOUS""LATER"
activeboolean
taxesIncludedboolean
finalPriceCalculationsboolean
curl -i -X PUT \
  'https://api.prana.software/api/v1/rate/{id}' \
  -H 'Content-Type: application/json' \
  -d '{
    "code": "string",
    "season": 0,
    "currency": 0,
    "calculationMethod": "BOM_COST",
    "motherRate": 0,
    "percentageIncrease": 0,
    "amountToAdd": 0,
    "roundingType": "TERMINATION",
    "roundingRate": 0,
    "proximityType": "NEARBY",
    "active": true,
    "taxesIncluded": true,
    "finalPriceCalculations": true
  }'

Responses

OK

Bodyapplication/json
idinteger(int32)required

Unique identifier of the entity

Example: 1
codestringrequired
seasonobject(ApiSeasonListReadDto)
currencyobject(ApiCurrencyListReadDto)
calculationMethodstring(ApiCalculationMethodEnum)
Enum"BOM_COST""PURCHASE_PRICE""MOTHER_RATE"
motherRateobject(ApiRateListReadDto)
percentageIncreasenumber
amountToAddnumber
roundingTypestring(ApiRoundingTypeEnum)
Enum"TERMINATION""MULTIPLE"
roundingRatenumber
proximityTypestring(ApiProximityTypeEnum)
Enum"NEARBY""PREVIOUS""LATER"
activeboolean
rateCodeobject(ApiRateCodeListReadDto)
taxesIncludedboolean
finalPriceCalculationsboolean
Response
application/json
{ "id": 1, "code": "string", "season": { "id": 1, "code": "string", "description": "string", "isCurrent": true, "startDate": "2019-08-24", "endDate": "2019-08-24" }, "currency": { "id": 1, "code": "strin", "description": "string", "nomenclature": "strin", "isoCode": "USD", "changeValue": 0, "significantDecimalsDocuments": 0, "intermediateDecimalsDocuments": 0, "decimalsCalculatePrices": 0, "decimalsCalculateCosts": 0 }, "calculationMethod": "BOM_COST", "motherRate": { "id": 1, "code": "R-SALE-2024", "seasonDescription": "Spring 2024", "currencyId": 978, "currencyDescription": "Euro", "currencyNomenclature": "EUR", "motherRate": "General Rate", "active": true, "rateCodeId": 12 }, "percentageIncrease": 0, "amountToAdd": 0, "roundingType": "TERMINATION", "roundingRate": 0, "proximityType": "NEARBY", "active": true, "rateCode": { "id": 1, "code": "string", "taxesIncluded": true }, "taxesIncluded": true, "finalPriceCalculations": true }

Request

Delete specific rate.

Path
idinteger(int32)required
curl -i -X DELETE \
  'https://api.prana.software/api/v1/rate/{id}'

Responses

OK

Request

Create a new rate.

Bodyapplication/jsonrequired
codestring[ 0 .. 30 ] charactersrequired
seasoninteger(int32)
currencyinteger(int32)required
calculationMethodstring(ApiCalculationMethodEnum)
Enum"BOM_COST""PURCHASE_PRICE""MOTHER_RATE"
motherRateinteger(int32)
percentageIncreasenumber
amountToAddnumber
roundingTypestring(ApiRoundingTypeEnum)
Enum"TERMINATION""MULTIPLE"
roundingRatenumber
proximityTypestring(ApiProximityTypeEnum)
Enum"NEARBY""PREVIOUS""LATER"
activeboolean
taxesIncludedboolean
finalPriceCalculationsboolean
curl -i -X POST \
  https://api.prana.software/api/v1/rate \
  -H 'Content-Type: application/json' \
  -d '{
    "code": "string",
    "season": 0,
    "currency": 0,
    "calculationMethod": "BOM_COST",
    "motherRate": 0,
    "percentageIncrease": 0,
    "amountToAdd": 0,
    "roundingType": "TERMINATION",
    "roundingRate": 0,
    "proximityType": "NEARBY",
    "active": true,
    "taxesIncluded": true,
    "finalPriceCalculations": true
  }'

Responses

OK

Bodyapplication/json
idinteger(int32)required

Unique identifier of the entity

Example: 1
codestringrequired
seasonobject(ApiSeasonListReadDto)
currencyobject(ApiCurrencyListReadDto)
calculationMethodstring(ApiCalculationMethodEnum)
Enum"BOM_COST""PURCHASE_PRICE""MOTHER_RATE"
motherRateobject(ApiRateListReadDto)
percentageIncreasenumber
amountToAddnumber
roundingTypestring(ApiRoundingTypeEnum)
Enum"TERMINATION""MULTIPLE"
roundingRatenumber
proximityTypestring(ApiProximityTypeEnum)
Enum"NEARBY""PREVIOUS""LATER"
activeboolean
rateCodeobject(ApiRateCodeListReadDto)
taxesIncludedboolean
finalPriceCalculationsboolean
Response
application/json
{ "id": 1, "code": "string", "season": { "id": 1, "code": "string", "description": "string", "isCurrent": true, "startDate": "2019-08-24", "endDate": "2019-08-24" }, "currency": { "id": 1, "code": "strin", "description": "string", "nomenclature": "strin", "isoCode": "USD", "changeValue": 0, "significantDecimalsDocuments": 0, "intermediateDecimalsDocuments": 0, "decimalsCalculatePrices": 0, "decimalsCalculateCosts": 0 }, "calculationMethod": "BOM_COST", "motherRate": { "id": 1, "code": "R-SALE-2024", "seasonDescription": "Spring 2024", "currencyId": 978, "currencyDescription": "Euro", "currencyNomenclature": "EUR", "motherRate": "General Rate", "active": true, "rateCodeId": 12 }, "percentageIncrease": 0, "amountToAdd": 0, "roundingType": "TERMINATION", "roundingRate": 0, "proximityType": "NEARBY", "active": true, "rateCode": { "id": 1, "code": "string", "taxesIncluded": true }, "taxesIncluded": true, "finalPriceCalculations": true }

Request

Get all your rates.

Bodyapplication/jsonrequired
conditionobject(ApiCondition)
sortCriteriaArray of objects(ApiSortDto)

List of sorting criteria to apply

pageNumberinteger(int32)required

Page number to retrieve (0-based)

Example: 0
pageSizeinteger(int32)required

Number of items per page

Example: 20
curl -i -X POST \
  https://api.prana.software/api/v1/rate/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
  }'

Responses

OK

Bodyapplication/json
dataArray of objects(ApiRateListReadDto)required

List of data items for the current page

data[].​idinteger(int32)required

Unique identifier of the entity

Example: 1
data[].​codestring[ 0 .. 30 ] charactersrequired

Unique code for the rate.

Example: "R-SALE-2024"
data[].​seasonDescriptionstring[ 0 .. 50 ] characters

Description of the season associated with the rate.

Example: "Spring 2024"
data[].​currencyIdinteger(int32)

ID for the currency associated with the rate.

Example: 978
data[].​currencyDescriptionstring[ 0 .. 50 ] charactersrequired

Description of the currency for the rate.

Example: "Euro"
data[].​currencyNomenclaturestring

Nomenclature or code of the currency.

Example: "EUR"
data[].​motherRatestring[ 0 .. 100 ] charactersrequired

Mother rate description.

Example: "General Rate"
data[].​activeboolean

Indicates whether the rate is active.

Example: true
data[].​rateCodeIdinteger(int32)

Identifier for the rate code.

Example: 12
pageinteger(int32)required

Current page number (0-based)

Example: 0
totalinteger(int32)required

Total number of items across all pages

Example: 150
pagesinteger(int64)required

Last page number (0-based)

Example: 14
sizeinteger(int32)required

Number of items per page

Example: 10
Response
application/json
{ "data": [ { … } ], "page": 0, "total": 150, "pages": 14, "size": 10 }
Operations
Operations

Purchase Invoice

Manage your Purchase Invoices

Operations
Operations

Payment Method

Manage your Payment Methods

Operations
Operations

Recurring Billing Templates

Manage your recurring billing templates

Operations
Operations

Billing Series

Manage your Billing Series

Operations
Operations
Operations

PurchaseDeliveryNote

Manage your PurchaseDeliveryNotes

Operations