PayPal · Schema
CreditNoteWithId
PayPalBillingCommerceDisputesInvoicesOrderPaymentsPayoutsSubscriptionTokensWebhookAgentic CommercePayment Processing
Properties
| Name | Type | Description |
|---|---|---|
| billing_entity_code | object | |
| sequential_id | integer | The sequential identifier of the credit note, specifically scoped on the associated invoice. It provides a unique numerical identifier for the credit note within the context of the invoice. |
| number | string | The credit note unique number. |
| invoice_id | string | Unique identifier assigned to the invoice that the credit note belongs to |
| invoice_number | string | The invoice unique number, related to the credit note. |
| issuing_date | object | The date of creation of the credit note. It follows the ISO 8601 date format and provides the specific date when the credit note was created. |
| credit_status | object | |
| refund_status | object | |
| reason | object | |
| description | stringnull | The description of the credit note. |
| total_amount | object | The total amount of the credit note. |
| taxes_amount | object | The tax amount of the credit note. |
| taxes_rate | number | The tax rate associated with this specific credit note. |
| sub_total_excluding_taxes_amount | object | The subtotal of the credit note excluding any applicable taxes. |
| balance_amount | object | The remaining credit note amount. |
| credit_amount | object | The credited amount of the credit note. |
| refund_amount | object | The refunded amount of the credit note. |
| created_at | object | The date when the credit note was created. It is expressed in Coordinated Universal Time (UTC). |
| updated_at | object | The date when the credit note was last updated. It is expressed in Coordinated Universal Time (UTC). |
| items | array | Array of credit note's items. |
| applied_taxes | array | |
| id | string |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/paypal/json-schema/paypal-credit-note-with-id-schema.json",
"title": "CreditNoteWithId",
"x-generated": "2026-11-04",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/paypal-credit-notes-api-openapi.yml#/components/schemas/CreditNoteWithId",
"allOf": [
{
"$ref": "#/$defs/CreditNote"
},
{
"type": "object",
"properties": {
"id": {
"type": "string"
}
}
}
],
"$defs": {
"Amount": {
"allOf": [
{
"$ref": "#/$defs/AmountNoCurrency"
},
{
"type": "object",
"required": [
"currency_code"
],
"properties": {
"currency_code": {
"$ref": "#/$defs/Currency"
}
}
}
]
},
"AmountNoCurrency": {
"type": "object",
"required": [
"value"
],
"properties": {
"value": {
"type": "number",
"format": "decimal",
"description": "The amount value in the corresponding currency unit (e.g., two decimals for USD, no decimals for JPY).",
"minimum": 0,
"nullable": false,
"default": 0
}
}
},
"BaseAppliedTax": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"description": "Unique identifier of the applied tax."
},
"tax_id": {
"type": "string",
"format": "uuid",
"description": "Unique identifier of the tax."
},
"tax_name": {
"type": "string",
"description": "Name of the tax."
},
"tax_code": {
"type": "string",
"description": "Unique code used to identify the tax associated with the API request."
},
"tax_rate": {
"type": "number",
"description": "The percentage rate of the tax"
},
"tax_description": {
"type": "string",
"description": "Internal description of the taxes"
},
"amount": {
"$ref": "#/$defs/Amount",
"description": "Amount of the tax"
},
"created_at": {
"$ref": "#/$defs/DateTimeWithZone",
"description": "The date and time when the applied tax was created. It is expressed in UTC format according to the ISO 8601 datetime standard. This field provides the timestamp for the exact moment when the applied tax was initially created."
}
}
},
"BillingEntityCode": {
"type": "string",
"description": "Unique code used to identify the billing entity. Must contain only alphanumeric characters, underscores, and hyphens.",
"pattern": "^[a-zA-Z0-9_-]*$"
},
"CreditNote": {
"type": "object",
"required": [
"sequential_id",
"billing_entity_code",
"number",
"invoice_id",
"invoice_number",
"issuing_date",
"reason",
"total_amount",
"credit_amount",
"refund_amount",
"balance_amount",
"taxes_amount",
"taxes_rate",
"sub_total_excluding_taxes_amount",
"created_at",
"updated_at"
],
"properties": {
"billing_entity_code": {
"$ref": "#/$defs/BillingEntityCode"
},
"sequential_id": {
"type": "integer",
"description": "The sequential identifier of the credit note, specifically scoped on the associated invoice. It provides a unique numerical identifier for the credit note within the context of the invoice."
},
"number": {
"type": "string",
"description": "The credit note unique number."
},
"invoice_id": {
"type": "string",
"format": "uuid",
"description": "Unique identifier assigned to the invoice that the credit note belongs to"
},
"invoice_number": {
"type": "string",
"description": "The invoice unique number, related to the credit note."
},
"issuing_date": {
"$ref": "#/$defs/Date",
"description": "The date of creation of the credit note. It follows the ISO 8601 date format and provides the specific date when the credit note was created."
},
"credit_status": {
"$ref": "#/$defs/CreditNoteStatus"
},
"refund_status": {
"$ref": "#/$defs/RefundStatus"
},
"reason": {
"$ref": "#/$defs/CreditNoteReason"
},
"description": {
"type": [
"string",
"null"
],
"description": "The description of the credit note."
},
"total_amount": {
"$ref": "#/$defs/Amount",
"description": "The total amount of the credit note."
},
"taxes_amount": {
"$ref": "#/$defs/Amount",
"description": "The tax amount of the credit note."
},
"taxes_rate": {
"type": "number",
"description": "The tax rate associated with this specific credit note."
},
"sub_total_excluding_taxes_amount": {
"$ref": "#/$defs/Amount",
"description": "The subtotal of the credit note excluding any applicable taxes."
},
"balance_amount": {
"$ref": "#/$defs/Amount",
"description": "The remaining credit note amount."
},
"credit_amount": {
"$ref": "#/$defs/Amount",
"description": "The credited amount of the credit note."
},
"refund_amount": {
"$ref": "#/$defs/Amount",
"description": "The refunded amount of the credit note."
},
"created_at": {
"$ref": "#/$defs/DateTimeWithZone",
"description": "The date when the credit note was created. It is expressed in Coordinated Universal Time (UTC)."
},
"updated_at": {
"$ref": "#/$defs/DateTimeWithZone",
"description": "The date when the credit note was last updated. It is expressed in Coordinated Universal Time (UTC)."
},
"items": {
"type": "array",
"items": {
"$ref": "#/$defs/CreditNoteItemObject"
},
"description": "Array of credit note's items."
},
"applied_taxes": {
"type": "array",
"items": {
"$ref": "#/$defs/CreditNoteAppliedTaxObject"
}
}
}
},
"CreditNoteAppliedTaxObject": {
"allOf": [
{
"$ref": "#/$defs/BaseAppliedTax"
}
],
"type": "object",
"properties": {
"credit_note_id": {
"type": "string",
"format": "uuid",
"description": "Unique identifier of the credit note."
},
"base_amount": {
"$ref": "#/$defs/Amount"
}
}
},
"CreditNoteItemObject": {
"type": "object",
"required": [
"id",
"amount",
"fee"
],
"properties": {
"id": {
"type": "string",
"format": "uuid",
"description": "The credit note's item unique identifier."
},
"amount": {
"$ref": "#/$defs/Amount",
"description": "The credit note's item amount."
},
"fee": {
"$ref": "#/$defs/FeeObject",
"description": "The fee object related to the credit note item."
}
}
},
"CreditNoteReason": {
"type": "string",
"description": "The reason for credit note creation",
"enum": [
"DUPLICATED_CHARGE",
"PRODUCT_UNSATISFACTORY",
"ORDER_CHANGE",
"ORDER_CANCELLATION",
"FRAUDULENT_CHARGE",
"OTHER"
],
"x-enum-varnames": [
"DUPLICATED_CHARGE",
"PRODUCT_UNSATISFACTORY",
"ORDER_CHANGE",
"ORDER_CANCELLATION",
"FRAUDULENT_CHARGE",
"OTHER"
],
"x-enum-descriptions": [
"Credit note issued due to duplicate charge on customer account",
"Credit note issued because the product or service was unsatisfactory",
"Credit note issued due to changes made to the original order",
"Credit note issued because the order was cancelled",
"Credit note issued due to fraudulent or unauthorized charge",
"Credit note issued for other reasons not covered by standard categories"
]
},
"CreditNoteStatus": {
"type": "string",
"description": "The status of the credit portion of the credit note",
"enum": [
"AVAILABLE",
"CONSUMED",
"VOIDED"
],
"x-enum-varnames": [
"AVAILABLE",
"CONSUMED",
"VOIDED"
],
"x-enum-descriptions": [
"There's an amount remains available for future usage. The credit can be applied towards future transactions or invoices",
"The credit amount has been fully consumed. The remaining amount is 0, indicating that the credit has been utilized in its entirety",
"The remaining amount of the credit cannot be used any further. The credit has been voided and is no longer available for application or redemption"
]
},
"Currency": {
"type": "string",
"description": "Currency code in ISO 4217 format.",
"minLength": 3,
"maxLength": 3,
"pattern": "^[A-Z]{3}$"
},
"Date": {
"type": "string",
"format": "date",
"description": "Date in ISO 8601 format (YYYY-MM-DD).",
"pattern": "^(?:[1-9]\\d{3}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|02-(?:0[1-9]|1\\d|2[0-8]))|(?:(?:\\d{2}(?:0[48]|[2468][048]|[13579][26]))|(?:[02468][048]00|[13579][26]00))-02-29)$"
},
"DateTimeWithZone": {
"type": "string",
"format": "date-time",
"description": "Date and time in ISO 8601 format."
},
"FeeObject": {
"type": "object",
"properties": {
"id": {
"type": [
"string",
"null"
],
"format": "uuid",
"description": "Unique identifier assigned to the fee. This ID is exclusively and serves as a unique identifier for the fee's record."
},
"total_amount": {
"$ref": "#/$defs/Amount",
"description": "The cost of this specific fee, including any applicable taxes."
},
"name": {
"type": [
"string",
"null"
],
"description": "The the name of the fee associated to any one of the charge, the credit, the subscription or the commitment"
}
}
},
"RefundStatus": {
"type": "string",
"description": "The status of the refund portion of the credit note",
"enum": [
"PENDING",
"SUCCEEDED",
"FAILED"
],
"x-enum-varnames": [
"PENDING",
"SUCCEEDED",
"FAILED"
],
"x-enum-descriptions": [
"The refund is pending execution. The refund request has been initiated but has not been processed or completed yet",
"The refund has been successfully executed. The refund amount has been processed and returned to the customer or the designated recipient",
"The refund failed to execute. The refund request encountered an error or unsuccessful processing, and the refund amount could not be returned"
]
}
}
}
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/paypal-credit-note-with-id"
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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.