Beta » Wallets track balances in tokens, credits, or dollars, automatically as they are used.Learn more
New » Metering turns raw usage events into billable quantities on a subscription.Learn more
/

Help Center › Accounting › General Ledger Integrations › QuickBooks › Troubleshooting › QuickBooks Desktop

Incorrect Template Type

Applies to: Maxio Core

··View as Markdown·

Last updated on Oct 26, 2026

QuickBooks Desktop uses separate Template types for Invoices and Credit Memos. When an Invoice or Credit Memo tries to sync using the Template for the other type, the sync fails with a message similar to this:

There is an invalid reference to QuickBooks Template "80000001-1331664506" in the Invoice/Credit Memo. QuickBooks error message: The Custom Style associated with this txn not compatible with this txn.

Why the Template no longer matches the record type

Maxio determines whether a record is an Invoice or a Credit Memo from the sign of its Line Item total, not from whichever Template happens to be attached to it: a total of zero or more makes it an Invoice, and a negative total makes it a Credit Memo. If you add, edit, or remove Line Items on a record after a Template is already assigned, and that edit flips the sign of the total, Maxio updates the record's type automatically, but the Template stays whatever type it was before. The result is an Invoice carrying a Credit Memo Template, or a Credit Memo carrying an Invoice Template, and QuickBooks Desktop rejects the sync because a Template's type must match the transaction it's attached to.

Match the Template to the record's current type

You can resolve the mismatch either by changing the Template or by changing the total, whichever matches the record you meant to create.

To fix an Invoice or Credit Memo with an incorrect Template

  1. Open the Invoice or Credit Memo named in the sync error.
  2. Check whether the record's Line Item total is currently positive or negative. A positive total means it's an Invoice; a negative total means it's a Credit Memo.
  3. If the current total is the one you intended, edit the record's Template so it matches: an Invoice Template for a positive total, or a Credit Memo Template for a negative total.
  4. If the current Template is the one you intended, add, edit, or remove Line Items until the total's sign matches that Template.
  5. Save the record and run the sync again.

Prevent Template mismatches

Set a default Invoice Template and a default Credit Memo Template for your Maxio account so Maxio assigns the correct Template automatically instead of leaving the record's previous Template in place after an edit. See Configure QuickBooks Integration Settings for that setting.

For the full order Maxio uses to decide which Template to send with an Invoice, see Sync QuickBooks Invoices.

The same Template selection order applies to Credit Memos, covered in Sync QuickBooks Credit Memos.

Still need help?
Reach out and our support team will take it from here.

Contact support