> For the complete documentation index, see [llms.txt](https://developer.redflagalert.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.redflagalert.net/company-resources/unpaid-losses.md).

# Unpaid Losses

### Example URL:

```
https://api2.redflagalert.net/v4/companies/01777777/unpaid-losses/
```

### JSON Structure:

```javascript
{
	"data": [{
		"attributes": {
			"statement_date": "2016-02-19",
			"debtor_company_name": "Oyster Travel Training Services Limited T/A Oyster Training Group",
			"creditor_company_name": "British Airways",
			"amount": 7216,
			"creditor_company_number": "01777777",
			"debtor_company_number": "05413662"
		},
		"type": "unpaid_debt",
		"id": "690773",
		"links": {
			"debtor": "https://api2.redflagalert.net/v4/companies/05413662/",
			"creditor": "https://api2.redflagalert.net/v4/companies/01777777/"
		}
	}]
}
```

### Attributes

| Field Key                 | Description         | Notes |
| ------------------------- | ------------------- | ----- |
| `statement_date`          | Needs clarification |       |
| `debtor_company_name`     | Needs clarification |       |
| `creditor_company_name`   | Needs clarification |       |
| `amount`                  | Needs clarification |       |
| `creditor_company_number` | Needs clarification |       |
| `debtor_company_number`   | Needs clarification |       |
