Skip to content

Record a payment certificate against a subcontract (ADMIN or higher)

POST
/construction/certificates
curl --request POST \
--url https://api.invogi.com/v1/construction/certificates \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "spend_commitment_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "reference": "example", "amount_certified": "example", "certified_on": "2026-04-15" }'

Works for a payment certificate or notice. The amount is the sum due for that period, after retention and earlier payments, excluding VAT, not the cumulative value of work. The currency is the subcontract’s.

X-Invogi-Organization
string format: uuid

For a Clerk session, selects a workspace in which the user has an active membership. If omitted, the remembered accessible workspace is used. API keys remain bound to their own workspace and cannot select another tenant.

Media typeapplication/json
object
spend_commitment_id
required
string format: uuid
reference
required
string
amount_certified
required
string
certified_on
string | null format: date

Example generated

{
"spend_commitment_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0",
"reference": "example",
"amount_certified": "example",
"certified_on": "2026-04-15"
}

Certificate recorded

Media typeapplication/json
object
id
required
string
createdAt
required
string format: date-time
organizationId
required
string
currency
required
string
reference
required
string
spendCommitmentId
required
string
amountCertified
required
string
certifiedOn
required
null | string

Example generated

{
"id": "example",
"createdAt": "2026-04-15T12:00:00Z",
"organizationId": "example",
"currency": "example",
"reference": "example",
"spendCommitmentId": "example",
"amountCertified": "example",
"certifiedOn": "example"
}

Invalid request

Media typeapplication/json
object
error
required
object
code
required
string
Allowed values: NOT_FOUND UNAUTHORIZED FORBIDDEN INVALID_REQUEST CONFLICT RATE_LIMITED USAGE_LIMIT_EXCEEDED PROCESSING_FAILED
message
required
string
request_id
required
string
details

Optional stable, content-free context, e.g. {reason, resets_at, preparation_id}.

object
key
additional properties
One of:
string

Example

{
"error": {
"code": "NOT_FOUND"
}
}

API key lacks required scope/role

Media typeapplication/json
object
error
required
object
code
required
string
Allowed values: NOT_FOUND UNAUTHORIZED FORBIDDEN INVALID_REQUEST CONFLICT RATE_LIMITED USAGE_LIMIT_EXCEEDED PROCESSING_FAILED
message
required
string
request_id
required
string
details

Optional stable, content-free context, e.g. {reason, resets_at, preparation_id}.

object
key
additional properties
One of:
string

Example

{
"error": {
"code": "NOT_FOUND"
}
}

The subcontract already has a certificate with this reference