Merge · Schema
CreditNote
# The CreditNote Object ### Description A `CreditNote` is transaction issued to a customer, indicating a reduction or cancellation of the amount owed by the customer. It is most generally used as an adjustment note used to rectify errors, returns, or overpayments related to a sales transaction. A `CreditNote` can be applied to *Accounts Receivable* Invoices to decrease the overall amount of the Invoice. ### Usage Example Fetch from the `LIST CreditNotes` endpoint and view a company's credit notes.
IntegrationsPlatformUnified APIAgent HandlerLLM Gateway
Properties
| Name | Type | Description |
|---|---|---|
| id | string | |
| remote_id | stringnull | The third-party API ID of the matching object. |
| created_at | string | The datetime that this object was created by Merge. |
| modified_at | string | The datetime that this object was modified by Merge. |
| transaction_date | stringnull | The credit note's transaction date. |
| status | object | The credit note's status. |
| number | stringnull | The credit note's number. |
| contact | stringnull | The credit note's contact. |
| company | stringnull | The company the credit note belongs to. |
| exchange_rate | stringnull | The credit note's exchange rate. |
| total_amount | numbernull | The credit note's total amount. |
| remaining_credit | numbernull | The amount of value remaining in the credit note that the customer can use. |
| inclusive_of_tax | booleannull | If the transaction is inclusive or exclusive of tax. `True` if inclusive, `False` if exclusive. |
| line_items | array | |
| tracking_categories | array | |
| currency | object | The credit note's currency. The currency code in ISO 4217 format. |
| remote_created_at | stringnull | When the third party's credit note was created. |
| remote_updated_at | stringnull | When the third party's credit note was updated. |
| payments | array | Array of `Payment` object IDs |
| applied_payments | array | A list of the Payment Applied to Lines common models related to a given Invoice, Credit Note, or Journal Entry. |
| accounting_period | stringnull | The accounting period that the CreditNote was generated in. |
| applied_to_lines | array | A list of the CreditNote Applied to Lines common models related to a given Credit Note |
| remote_was_deleted | boolean | Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited cove |
| field_mappings | object | |
| remote_data | arraynull |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/CreditNote",
"title": "CreditNote",
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"remote_id": {
"type": [
"string",
"null"
],
"description": "The third-party API ID of the matching object."
},
"created_at": {
"type": "string",
"format": "date-time",
"description": "The datetime that this object was created by Merge."
},
"modified_at": {
"type": "string",
"format": "date-time",
"description": "The datetime that this object was modified by Merge."
},
"transaction_date": {
"type": [
"string",
"null"
],
"format": "date-time",
"description": "The credit note's transaction date."
},
"status": {
"oneOf": [
{
"$ref": "#/components/schemas/CreditNoteStatusEnum"
},
{
"type": "null"
}
],
"description": "The credit note's status."
},
"number": {
"type": [
"string",
"null"
],
"description": "The credit note's number."
},
"contact": {
"type": [
"string",
"null"
],
"format": "uuid",
"description": "The credit note's contact."
},
"company": {
"type": [
"string",
"null"
],
"format": "uuid",
"description": "The company the credit note belongs to."
},
"exchange_rate": {
"type": [
"string",
"null"
],
"format": "decimal",
"description": "The credit note's exchange rate."
},
"total_amount": {
"type": [
"number",
"null"
],
"format": "double",
"description": "The credit note's total amount."
},
"remaining_credit": {
"type": [
"number",
"null"
],
"format": "double",
"description": "The amount of value remaining in the credit note that the customer can use."
},
"inclusive_of_tax": {
"type": [
"boolean",
"null"
],
"description": "If the transaction is inclusive or exclusive of tax. `True` if inclusive, `False` if exclusive."
},
"line_items": {
"type": "array",
"items": {
"$ref": "#/components/schemas/CreditNoteLineItem"
}
},
"tracking_categories": {
"type": "array",
"items": {
"type": "string",
"format": "uuid"
}
},
"currency": {
"oneOf": [
{
"$ref": "#/components/schemas/TransactionCurrencyEnum"
},
{
"type": "null"
}
],
"description": "The credit note's currency. The currency code in ISO 4217 format."
},
"remote_created_at": {
"type": [
"string",
"null"
],
"format": "date-time",
"description": "When the third party's credit note was created."
},
"remote_updated_at": {
"type": [
"string",
"null"
],
"format": "date-time",
"description": "When the third party's credit note was updated."
},
"payments": {
"type": "array",
"items": {
"type": "string",
"format": "uuid"
},
"description": "Array of `Payment` object IDs"
},
"applied_payments": {
"type": "array",
"items": {
"type": "string",
"format": "uuid"
},
"description": "A list of the Payment Applied to Lines common models related to a given Invoice, Credit Note, or Journal Entry."
},
"accounting_period": {
"type": [
"string",
"null"
],
"format": "uuid",
"description": "The accounting period that the CreditNote was generated in."
},
"applied_to_lines": {
"type": "array",
"items": {
"$ref": "#/components/schemas/CreditNoteApplyLineForCreditNote"
},
"description": "A list of the CreditNote Applied to Lines common models related to a given Credit Note"
},
"remote_was_deleted": {
"type": "boolean",
"description": "Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/)."
},
"field_mappings": {
"oneOf": [
{
"$ref": "#/components/schemas/CreditNoteFieldMappings"
},
{
"type": "null"
}
]
},
"remote_data": {
"type": [
"array",
"null"
],
"items": {
"$ref": "#/components/schemas/RemoteData"
}
}
},
"description": "# The CreditNote Object\n### Description\nA `CreditNote` is transaction issued to a customer, indicating a reduction or cancellation of the amount owed by the customer. It is most generally used as an adjustment note used to rectify errors, returns, or overpayments related to a sales transaction. A `CreditNote` can be applied to *Accounts Receivable* Invoices to decrease the overall amount of the Invoice.\n\n### Usage Example\nFetch from the `LIST CreditNotes` endpoint and view a company's credit notes."
}