Retrieve financial details

Retrieve financial details

#b2b

https://api.worldota.net/api/b2b/v3/general/financial/info/

The call gets the contract financial details.

Request example

curl --user '<KEY_ID>:<API_KEY>' 'https://api.worldota.net/api/b2b/v3/general/financial/info/'

Response

Response example

{
  "data": {
    "contract": {
      "contract_overpay": "3000.98",
      "credit_limit": "1451.00",
      "deposit": "1000.00",
      "max_booking_price": "0",
      "overdue_debt": "7762.48",
      "reporting_currency": "EUR",
      "unpaid_non_ref_orders_sum": "9454.93",
      "unpaid_orders_sum": "9507.93",
      "unpaid_ref_orders_sum": "53.00"
    },
    "contract_datas": [
      {
        "agreement_number": "B2B-12980/2",
        "overdue_debt": "0.00",
        "overpay": "0",
        "unpaid_non_ref_orders_sum": "0.00",
        "unpaid_orders_sum": "0.00",
        "unpaid_ref_orders_sum": "0.00"
      },
      {
        "agreement_number": "B2B-12980",
        "overdue_debt": "187.12",
        "overpay": "130.31",
        "unpaid_non_ref_orders_sum": "187.12",
        "unpaid_orders_sum": "204.12",
        "unpaid_ref_orders_sum": "17.00"
      },
      {
        "agreement_number": "B2B-12980/1",
        "overdue_debt": "7574.36",
        "overpay": "2870.67",
        "unpaid_non_ref_orders_sum": "9258.01",
        "unpaid_orders_sum": "9258.01",
        "unpaid_ref_orders_sum": "0.00"
      },
      {
        "agreement_number": "B2B-12980/3",
        "overdue_debt": "1.00",
        "overpay": "0",
        "unpaid_non_ref_orders_sum": "1.00",
        "unpaid_orders_sum": "1.00",
        "unpaid_ref_orders_sum": "0.00"
      }
    ]
  },
  "debug": null,
  "error": null,
  "status": "ok"
}

Errors

The error field has the value specified in the headers below.

unauthorized

The authorization error. Ensure your API key and credentials are correct.

unknown

The internal ETG services’ timeout.