API
HQ APIClaims

Create claim

Creates a new claim for a company

POST/v1/hq/claims
AuthorizationBearer <token>

The Noona HQ API uses Bearer token for authentication.

Endpoints that return generic information that does not contain sensitive data do not require authentication. Endpoints that require authentication are specifically marked in the documentation.

Authorization: Bearer your-token

In: header

Query Parameters

select?array<string>
expand?array<string>

Request Body

application/json

payor_id*string

Unique identifier of the payor (typically the customer responsible for the claim).

payor_ssn*string

Social security number of the payor.

company_id*string

Unique identifier of the company associated with this claim.

event_id*string

Unique identifier of the event for which the claim is being made.

vat_id*string

Unique identifier of the VAT percentage to be used for the claim.

amount?number

Total monetary value of the claim.

Formatdouble
ratio?number

Proportional share of the event cost to be paid, expressed as a percentage (1–100).

Formatdouble
Range1 <= value <= 100
notify_customer?boolean

Whether to notify the customer via sms about the claim.

Response Body

application/json

curl -X POST "https://api.noona.is/v1/hq/claims" \  -H "Content-Type: application/json" \  -d '{    "payor_id": "string",    "payor_ssn": "string",    "company_id": "string",    "event_id": "string",    "vat_id": "string"  }'
{
  "id": "string",
  "reference_id": "string",
  "bill_number": "string",
  "due_date": "string",
  "claimant_id": "string",
  "employee_name": "string",
  "customer_name": "string",
  "customer_kennitala": "string",
  "amount": 0,
  "currency": "string",
  "status": "Paid",
  "external_url": "string",
  "created_at": "2019-08-24T14:15:22Z"
}
Empty
Empty
Empty
Empty
Empty