Skip to content

getCompanyHasOpenCredits

READ

Get company has open credits.

POST /api/v1/invoicing/getCompanyHasOpenCredits
curl -X POST '<your-host>/api/v1/invoicing/getCompanyHasOpenCredits' \
  -H 'Authorization: Bearer <api-key>' \
  -H 'Content-Type: application/json' \
  -d '{
    "side": "sales"
  }'
Response
true

Parameters

ParameterType
"sales""purchase"

Input schema

schema
{
  "type": "object",
  "properties": {
    "side": {
      "type": "string",
      "enum": [
        "sales",
        "purchase"
      ]
    }
  },
  "required": [
    "side"
  ]
}