Skip to content

API reference

Send a reminder

Invoices API

POST/v1/invoices/{id}/reminders

Records a reminder for an invoice this company issued: level 0 is a payment reminder, 1 the first notice and 2 the second notice. A level follows the one before it. A paid invoice gets none, nor does a credit note or an invoice the validator rejected. The new due date is dueDate, or 10 days from today. Until that day passes the invoice counts as open. With to, the reminder is emailed first as plain text in language. When the email provider refuses it, nothing is recorded.

Path parameters

  • idstring (uuid)Required

Request body

application/json, required

  • levelintegerRequired
    One of 0, 1, 2.
  • feestring

    An optional fee, such as 5.00.

  • dueDatestring (date)
  • languagestring
    One of de, en.
  • tostring (email)

Response

A 201 answer carries these fields.

  • idstring (uuid)Required
  • invoiceIdstring (uuid)Required
  • levelintegerRequired

    0 payment reminder, 1 first notice, 2 second notice.

    One of 0, 1, 2.
  • issuedOnstring (date)Required
  • feestring or nullRequired
  • dueDatestring (date)Required

    The new due date.

  • languagestringRequired
    One of de, en.
  • emailobject or nullRequired
    Show 2 child fields
    • tostringRequired
    • emailIdstringRequired

      The email provider's id. Delivery events in the invoice's history name it.

  • createdAtstring (date-time)Required
  • documentobjectRequired

    The reminder as data, for a printed reminder.

    Show 15 child fields
    • kindstringRequired
      One of reminder.
    • levelintegerRequired
      One of 0, 1, 2.
    • languagestringRequired
      One of de, en.
    • titlestringRequired
    • issuedOnstring (date)Required
    • dueDatestring (date)Required
    • sellerstring or nullRequired
    • buyerstring or nullRequired
    • invoiceobjectRequired
      Show 3 child fields
      • numberstring or nullRequired
      • issueDatestring (date) or nullRequired
      • dueDatestring (date) or nullRequired
    • currencystring or nullRequired
    • openAmountstringRequired
    • feestring or nullRequired
    • totalstringRequired
    • linesarray of objectRequired
      Show 2 child fields
      • textstringRequired
      • amountstringRequired
    • introstringRequired

Status codes

Status Meaning
201 The recorded reminder.
400
401
404
409 The level is not the next one (reminder_out_of_order), the invoice is paid (invoice_paid), it was received, not issued (not_an_issued_invoice), it has no readable amount (invoice_has_no_model), it asks nobody for payment because it is a credit note or the validator rejected it (not_payable), or an edit replaced this version (invoice_replaced; the message names the newest version).
501
502 The email provider refused the email (email_not_sent). Nothing was recorded.
503 This deployment has no email provider (email_not_configured). Nothing was recorded.
POST/v1/invoices/{id}/reminders
Example
curl -X POST https://api.certinvo.com/v1/invoices/$INVOICE_ID/reminders \
  -H "Authorization: Bearer $CERTINVO_API_KEY" \
  -H "Content-Type: application/json" \
  --data-binary @body.json
import { readFile } from 'node:fs/promises'

const invoiceId = '3f0c2a5e-8d1b-4c7a-9e2f-6b5d4a3c2b1a'

const response = await fetch(`https://api.certinvo.com/v1/invoices/${invoiceId}/reminders`, {
  method: 'POST',
  headers: {
    Authorization: `Bearer ${process.env.CERTINVO_API_KEY}`,
    'Content-Type': 'application/json',
  },
  body: await readFile('body.json'),
})
console.log(response.status, await response.json())
import os

import requests

invoice_id = "3f0c2a5e-8d1b-4c7a-9e2f-6b5d4a3c2b1a"

response = requests.post(
    f"https://api.certinvo.com/v1/invoices/{invoice_id}/reminders",
    headers={"Authorization": f"Bearer {os.environ['CERTINVO_API_KEY']}", "Content-Type": "application/json"},
    data=open("body.json", "rb"),
)
print(response.status_code, response.text)
201
application/json
{
  "id": "3f0c2a5e-8d1b-4c7a-9e2f-6b5d4a3c2b1a",
  "invoiceId": "3f0c2a5e-8d1b-4c7a-9e2f-6b5d4a3c2b1a",
  "level": 0,
  "issuedOn": "2026-09-17",
  "fee": "string",
  "dueDate": "2026-09-17",
  "language": "de",
  "email": {
    "to": "string",
    "emailId": "string"
  },
  "createdAt": "2026-09-17T09:30:00Z",
  "document": {
    "kind": "reminder",
    "level": 0,
    "language": "de",
    "title": "string",
    "issuedOn": "2026-09-17",
    "dueDate": "2026-09-17",
    "seller": "string",
    "buyer": "string",
    "invoice": {
      "number": "string",
      "issueDate": "2026-09-17",
      "dueDate": "2026-09-17"
    },
    "currency": "string",
    "openAmount": "string",
    "fee": "string",
    "total": "string",
    "lines": [
      {
        "text": "string",
        "amount": "string"
      }
    ],
    "intro": "string"
  }
}
Success response
POST
/v1/invoices/{id}/reminders
Send a reminder
All
›AuthenticationRequiredBearerAuth

Provide your API key in the Authorization: Bearer <key> header. Keys are stored locally in your browser.

›Variables1
›Headers2
›Bodyapplication/json
›Code Snippet
curl -X POST "https://api.certinvo.com/v1/invoices/{id}/reminders" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "level": 0,
  "fee": "string",
  "dueDate": "2026-09-17",
  "language": "de",
  "to": "string"
}...'
Response

No request sent yet

Configure parameters and click Send to view the response.

Navigation

Type to search…

↑↓ navigate↵ selectEsc close