Invoices
Mark an Invoice as paid
This endpoint allows you to mark an Invoice as paid by providing a paid_at date.
patch/invoices/{invoice_id}
Request
- Base URLhttps://street.co.uk/open-api/v1
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"data": {
"attributes": {
"paid_at": "2026-02-24T14:30:00Z"
}
}
}Response
OK.
Example response
{
"data": {
"attributes": {
"total_amount": 425000,
"total_amount_vat": 42500
},
"relationships": {
"property": {
"data": {
"id": "a827a3ae-4c74-4c32-8b42-42248d4010d3"
}
},
"owner": {
"data": {
"id": "a827a3ae-4c74-4c32-8b42-42248d4010d3"
}
},
"line_items": {
"data": [
{
"id": "a827a3ae-4c74-4c32-8b42-42248d4010d3"
}
]
}
}
}
}Changes
No recorded changes to this operation across all 7 revisions of this API.