Frihet · Schema
CreditNoteResult
Result of `POST /v1/invoices/{invoiceId}/credit-note`. `status` is always `draft` — the endpoint creates, it does not issue.
Business ManagementInvoicingExpense TrackingCRMSoftware-as-a-Service
Properties
| Name | Type | Description |
|---|---|---|
| data | object |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/frihet-io/json-schema/frihet-io-credit-note-result-schema.json",
"title": "CreditNoteResult",
"description": "Result of `POST /v1/invoices/{invoiceId}/credit-note`. `status` is always\n`draft` — the endpoint creates, it does not issue.\n",
"x-generated": "2026-11-09",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/frihet-io-openapi.json#/components/schemas/CreditNoteResult",
"type": "object",
"properties": {
"data": {
"type": "object",
"properties": {
"success": {
"type": "boolean"
},
"creditNote": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "ID of the newly created credit note draft"
},
"documentNumber": {
"type": "string",
"description": "Provisional reference, not a fiscal number. Numbering happens on issue."
},
"originalInvoiceId": {
"type": "string"
},
"reason": {
"type": "string"
},
"fullCredit": {
"type": "boolean"
},
"status": {
"type": "string",
"enum": [
"draft"
],
"description": "Always `draft`."
},
"rectificationMethod": {
"type": "string",
"enum": [
"I"
],
"description": "Always `I` (por diferencias). `S` is not offered over the API."
},
"totalCredited": {
"type": "number",
"description": "Tax-inclusive amount credited, as a positive number."
},
"replayed": {
"type": "boolean",
"deprecated": true,
"description": "DEPRECATED and no longer emitted. A replay is now signalled by the\n`X-Idempotent-Replayed: true` response header, and the replayed\nbody is byte-identical to the original — which a body-level flag\nwould contradict. Documented only so existing clients know the\nfield is absent rather than false.\n"
}
}
}
}
}
}
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/frihet-io-credit-note-result"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.