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

Docschargebeedocs

HomeBillingPaymentsRevRecGrowthReveal
Support

Product Updates


  • Release Notes

Getting Started


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

Implementing Chargebee


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

AI in Chargebee


  • Chargebee Agents
  • Chargebee Copilot
  • Chargebee MCP Server (Model Context Protocol)

Developer Resources


  • Developer Resources Overview
  • Articles and FAQ

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

Entitlements


  • Entitlements Overview
  • Features Overview
  • Feature Management
  • Managing Product Entitlements
  • Subscription Entitlements
  • Customer Entitlements
  • Grandfathering Entitlements
  • Articles and FAQ

Usage Based Billing


  • Understanding Usages
  • Setting up Usage Based Billing
  • Usage Alerts
  • Metered Billing
  • Articles and FAQ

Chargebee CPQ


  • Chargebee CPQ
  • Chargebee CPQ for Salesforce
  • Chargebee CPQ for HubSpot

Invoices, Credit Notes, and Quotes


  • 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
  • Pricing Table
  • Managing Payments with Chargebee.js
  • Mobile-Optimized Hosted Pages
  • Articles and FAQ

Site Configuration


  • Users & Roles
  • Custom Fields & Metadata
  • Approvals
  • 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

Multi Business Entity


  • Multi Business Entity Overview
  • Customer Transfer Overview
  • Articles and FAQ

Mobile Subscriptions


  • Overview
  • Omnichannel Subscriptions
  • Omnichannel One-Time Orders
  • Mobile Subscriptions (Legacy)

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
  • Ecommerce Management
  • 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. Integrations
  3. Articles and FAQ
  4. Xero
  1. Billing
  2. Integrations
  3. Articles and FAQ
  4. Xero

Xero - Why is the round off amount so large?

Scope

Round off difference in CB and Xero

Solution

While most round-offs are approximately 0.01 and are there to offset the difference in how Chargebee and Xero perform a rounding; sometimes it can be because of how Chargebee has different Pricing Models. (Reference /billing/2.0/product-catalog/plans#pricing-models)

This is best explained with an example.

  • If an invoice has a tiered pricing structure where

    • 0 to 50 units; the rate is 0.0

    • 51 and above; the rate is 0.22

  • The invoice has a quantity of 75. Which means,

    • The first 50 units are 0.00

    • The next 25 units are 25 * 0.22 = 5.50

  • Now Xero does not have a tiered pricing structure.

  • Instead, Xero has a straight rate * qty.

  • When we pass the line item to Xero; we calculate the rate as follows :

    • Rate = {Line Amount}/{total quantity}

    • I.e. Rate = 5.5/75 = 0.0733333

    • I.e. Rate is approximately equal to 0.07

  • So when we pass this line item to Xero; it will calculate as follows :

    • Rate = 0.07

    • Qty = 75

    • Amount = Rate * Qty = 75 * 0.07 = 5.25

  • Due to the above discrepancy, we send a roundoff to make sure the totals match on both Chargebee and Xero.

  • We will not be able to match each individual line item amount or tax amount because of the difference in calculation methodology between Chargebee and Xero.

Related Articles

How to install the Google Chrome Extension for Xero/QuickBooks Reconciliation?
Xero sync error - Payments can only be made against Authorised documents & Payment amount exceeds the amount outstanding on this document.
Where can I see the details for bad debt?
Xero sync error - Price List Item Code must not be more than 30 characters long.
'Xero Error : Account code ''0000'' is not a valid code for this document.'
Configuration errors and their resolution for Xero
How to match invoices report to a line item report?
Xero sync errors - A currency rate must be specified
Xero - How to connect two Chargebee sites to one Xero account (Internal)?
The contact number XXX is already assigned to another contact. The contact number must be unique across all contacts.
The TaxType code 'X' cannot be used with account code 'Y'
How to map existing customers in Chargebee to existing customers in Xero/QuickBooks/NetSuite?
'Xero app show error: The chart of account mapping for the plan/addon is not configured‌'
Xero Sync Error - Invoice number must be unique
What is Default Sales Tax in Xero integrations?
'"[Xero] 1) You have reached the limit of invoices you can approve" while syncing invoices'
How to check the lock date in Xero?
Authentication for this Chargebee to Xero connection has expired. Click 'reconnect' to resume data sync
Plan level tracking categories in Xero
Error - Xero 1) Account must be valid. 2) Tax rate must be valid
Adding additional email addresses to the customer card in Xero
Save option greyed out while trying to change account mapping on Xero.
Base Currency difference for Chargebee and Xero

Show more

Was this article helpful?