New in Chargebee: Explore Reveal and understand your payment performance end-to-end.Try Now
Docschargebee docs
HomeBillingCPQPaymentsRevRecGrowthReveal
Support

Product Updates


  • Release Notes

Getting Started


  • Overview
  • Chargebee Billing Data Centers
  • Object Relationship Model
  • Understanding Sites
  • Developer Resources
  • Chargebee Tech Glossary
  • Articles and FAQ

Implementing Chargebee


  • Implementation Guide
  • Go-live Checklist
  • Articles and FAQ

Agentic AI


  • Chargebee Copilot
  • MCP Servers

Product Catalog


  • Product Catalog Overview
  • Coupons
  • Articles and FAQ

Subscriptions


  • Working with Subscriptions
  • Billing
  • Orders
  • Articles and FAQ

Customers


  • Managing Customers
  • Account Hierarchy
  • Email Notifications
  • Branding
  • Configure Multiple Languages
  • Articles and FAQ

Invoices and Credit Notes


  • Invoices
  • Credit Notes
  • Quotes [Legacy]
  • Transactions
  • Articles and FAQ

Taxes


  • Overview
  • Configuring Taxes
  • Country-specific Taxes
  • Articles and FAQ

Hosted Capabilities


  • Overview
  • Hosted Checkout
  • Hosted Self-Serve Portal
  • Hosted Pages Features
  • Additional Hosted Pages
  • Payment Components
  • Managing payments with ChargebeeJS
  • Mobile-Optimized Hosted Pages
  • Articles and FAQ

Site Configuration


  • Users & Roles
  • Custom Fields & Metadata
  • Mandatory Fields
  • File Attachments & Comments
  • Advanced Filter Options
  • Multicurrency Pricing
  • Multi-decimal Support
  • Configuring Reason Codes
  • Events and Webhooks
  • API Keys
  • Time Zone
  • Time Machine
  • Transfer Configurations
  • Articles and FAQ

Reports and Analytics


  • RevenueStory
  • Home Dashboard
  • Frequently Asked Questions
  • FAQs for Classic Reports Sunset
  • Articles and FAQ

Integrations


  • Sales
  • Customer Support and Success
  • Finance
  • Tax
  • Marketing
  • Stitch
  • Collaboration
  • Contract Management
  • Order Management
  • Mobile Subscriptions (Legacy)
  • Other Integrations
  • Articles and FAQ

Data Privacy & Security


  • Two Factor Authentication
  • SAML Single Sign-On
  • System for Cross-Domain Identity Management (SCIM)
  • EU-GDPR
  • Consent Management
  • Personal Data Management
  • Compliance Certificates
  • HIPAA Guidelines
  • PCI Recommendations and Integration Types
  • Articles and FAQ

Data Operations


  • Bulk Operations
  • Migration
  • Articles and FAQ
  1. Billing
  2. Site Configuration
  3. Articles and FAQ
  4. Custom Fields & Metadata
  1. Billing
  2. Site Configuration
  3. Articles and FAQ
  4. Custom Fields & Metadata

How can I display the custom fields on an invoice?

Problem Statement

How can I display the custom fields on an invoice?

Solution

This article covers:

How many custom fields can be displayed on the invoice?

How to display a Tax number custom field on the invoice?

Custom Fields can be created to track additional information about a customer or their subscription in addition to the default fields present in Chargebee. To create a custom field, head to Settings > Configure Chargebee > Custom Fields. Click Here for further details.

To display the custom field values on the customers' invoice, navigate to Settings > Configure Chargebee > Invoices and Credit Notes and enable the Custom Fields toggle under the Invoices tab. You can set up to three custom fields to be displayed on the invoice.

image
image

When invoices are consolidated, the custom fields will be displayed under each plan (Line Item).

Alternatively, if you prefer to display the EU & UK Customer's VAT number on the invoice, refer to this link Tax line item not showing on the invoice for more information.

Note

Custom fields cannot be added to an invoice upon creation (for example, when creating an invoice for a one-time charge or quick charge). You can only add custom fields to an invoice after it has been created.

However, custom fields can be added to an invoice through either of the following methods:

  • Using the Update Invoice Details API by passing the Custom Field API name and the value in the API call.

Sample cURL call to update a Checkbox type Invoice Custom Field:

curl https://{SITE-NAME}.chargebee.com/api/v2/invoices/invoice_id123/update_details \
     -u {site_api_key}: \
     -d cf_Checkbox_Custom_field=True
  • Using the Update custom fields option at the invoice level.
image

Related Articles

Can custom fields be displayed in the customer portal and checkout pages?
Custom field does not display on the invoice.
Custom fields in invoice customisation not configured
How to create a custom field for password?
How to pass values to custom fields using in-app scripts?
'Error message: "There were errors while submitting" "cannot be blank".drop-in script with custom fields'

Show more

Was this article helpful?