---
title: "CreditNotes (Chargebee)"
description: "Credit Notes"
language: en
source_language: en
translation_state: complete
canonical: https://documentation.invantive.eu/en/datamodels/chargebee/Chargebee.CreditNotes.CreditNotes
original: https://documentation.invantive.eu/en/datamodels/chargebee/Chargebee.CreditNotes.CreditNotes
updated: 2024-06-10T18:44:26Z
license: https://documentation.invantive.eu/en/
---

# CreditNotes: Chargebee Credit Notes

`insert` `update` `delete` `REST`

- Catalog: `Chargebee`
- Schema: `CreditNotes`
- Primary Keys: `id`
- Label: Credit Notes

Can retrieve data and change data using `insert`, `update` and `delete`.

## API Source

- Endpoint: `/credit_notes`

## Table Columns

The columns of the table `CreditNotes` are shown below. Each column has an SQL data type. A new non-null value must be provided for every required column at all times during insert and update.

| Name | Data Type | Label | Required | Marks | Documentation |
|---|---|---|:---:|---|---|
| `amount_allocated` | `decimal` | Amount Allocated | [ ] |  |  |
| `amount_available` | `decimal` | Amount Available | [ ] |  |  |
| `amount_refunded` | `decimal` | Amount Refunded | [ ] |  |  |
| `billing_address_city` | `varchar2` | Billing Address City | [ ] |  |  |
| `billing_address_company` | `varchar2` | Billing Address Company | [ ] |  |  |
| `billing_address_country` | `varchar2` | Billing Address Country | [ ] |  |  |
| `billing_address_email` | `varchar2` | Billing Address Email | [ ] |  |  |
| `billing_address_first_name` | `varchar2` | Billing Address First Name | [ ] |  |  |
| `billing_address_last_name` | `varchar2` | Billing Address Last Name | [ ] |  |  |
| `billing_address_line1` | `varchar2` | Billing Address Line 1 | [ ] |  |  |
| `billing_address_line2` | `varchar2` | Billing Address Line 2 | [ ] |  |  |
| `billing_address_line3` | `varchar2` | Billing Address Line 3 | [ ] |  |  |
| `billing_address_phone` | `varchar2` | Billing Address Phone | [ ] |  |  |
| `billing_address_state` | `varchar2` | Billing Address State | [ ] |  |  |
| `billing_address_validation_status` | `varchar2` | Billing Address Validation Status | [ ] |  |  |
| `billing_address_zip` | `varchar2` | itgen_cbe_billing_address_zip | [ ] |  |  |
| `business_entity_id` | `varchar2` | itgen_cbe_business_entity_id | [ ] |  |  |
| `channel` | `varchar2` | itgen_cbe_channel | [ ] |  |  |
| `create_reason_code` | `varchar2` | Create Reason Code | [ ] |  |  |
| `currency_code` | `varchar2` | Currency Code | [ ] |  |  |
| `customer_id` | `varchar2` | Customer ID | [ ] |  |  |
| `date` | `datetime` | Date | [ ] |  |  |
| `deleted` | `char` | Deleted | [ ] |  |  |
| `einvoice_id` | `varchar2` | itgen_cbe_einvoice_id | [ ] |  |  |
| `einvoice_message` | `varchar2` | itgen_cbe_einvoice_message | [ ] |  |  |
| `einvoice_reference_number` | `varchar2` | itgen_cbe_einvoice_reference_number | [ ] |  |  |
| `einvoice_status` | `varchar2` | itgen_cbe_einvoice_status | [ ] |  |  |
| `fractional_correction` | `decimal` | Fractional Correction | [ ] |  |  |
| `generated_at` | `datetime` | itgen_cbe_generated_at | [ ] |  |  |
| `id` | `varchar2` | ID | [x] |  |  |
| `local_currency_code` | `varchar2` | Local Currency Code | [ ] |  |  |
| `local_currency_exchange_rate` | `decimal` | itgen_cbe_local_currency_exchange_rate | [ ] |  |  |
| `price_type` | `varchar2` | Price Type | [ ] |  |  |
| `reason_code` | `varchar2` | itgen_cbe_reason_code | [ ] |  |  |
| `reference_invoice_id` | `varchar2` | Reference Invoice ID | [ ] |  |  |
| `refunded_at` | `datetime` | Refunded at | [ ] |  |  |
| `resource_version` | `int64` | Resource Version | [ ] |  |  |
| `round_off_amount` | `decimal` | Round-off Amount | [ ] |  |  |
| `shipping_address_city` | `varchar2` | Shipping Address City | [ ] |  |  |
| `shipping_address_company` | `varchar2` | Shipping Address Company | [ ] |  |  |
| `shipping_address_country` | `varchar2` | Shipping Address Country | [ ] |  |  |
| `shipping_address_email` | `varchar2` | Shipping Address Email | [ ] |  |  |
| `shipping_address_first_name` | `varchar2` | Shipping Address First Name | [ ] |  |  |
| `shipping_address_last_name` | `varchar2` | Shipping Address Last Name | [ ] |  |  |
| `shipping_address_line1` | `varchar2` | Shipping Address Line 1 | [ ] |  |  |
| `shipping_address_line2` | `varchar2` | Shipping Address Line 2 | [ ] |  |  |
| `shipping_address_phone` | `varchar2` | Shipping Address Phone | [ ] |  |  |
| `shipping_address_state` | `varchar2` | Shipping Address State | [ ] |  |  |
| `shipping_address_validation_status` | `varchar2` | Shipping Address Validation Status | [ ] |  |  |
| `shipping_address_zip` | `varchar2` | Shipping Address ZIP Code | [ ] |  |  |
| `site_details_at_creation_organization_address` | `varchar2` | itgen_cbe_site_details_at_creation_organization_address | [ ] |  |  |
| `site_details_at_creation_timezone` | `varchar2` | itgen_cbe_site_details_at_creation_timezone | [ ] |  |  |
| `status` | `varchar2` | Status | [ ] |  |  |
| `sub_total` | `decimal` | Sub-total | [ ] |  |  |
| `sub_total_in_local_currency` | `decimal` | Sub Total in Local Currency | [ ] |  |  |
| `subscription_id` | `varchar2` | Subscription ID | [ ] |  |  |
| `tax_category` | `varchar2` | itgen_cbe_tax_category | [ ] |  |  |
| `total` | `decimal` | Total | [ ] |  |  |
| `total_in_local_currency` | `decimal` | Total in Local Currency | [ ] |  |  |
| `type` | `varchar2` | Type | [ ] |  |  |
| `updated_at` | `datetime` | Updated at | [ ] |  |  |
| `vat_number` | `varchar2` | VAT Number | [ ] |  |  |
| `vat_number_prefix` | `varchar2` | itgen_cbe_vat_number_prefix | [ ] |  |  |
| `voided_at` | `datetime` | Voided at | [ ] |  |  |



## Release Notes

What changed per release in the tables, columns, attributes and capabilities of the driver:

- [Chargebee](/en/release-notes/drivers?driver=chargebee)

