ocpi-tariffs 0.46.1

OCPI tariff calculations
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
{
    "tariff": {
        "country_code": "31",
        "party_id": "ENE",
        "currency": "EUR",
        "elements": [{}]
    },
    "expect": {
        "warnings": {
            "$.country_code": ["invalid_code"],
            "$.elements.0": ["field_required(price_components)"]
        }
    }
}