---
title: Maxio Invoice and Anrok Transaction Sync
url: https://docs.maxio.com/billing/taxes/integrations/anrok/maxio-invoice-and-anrok-transaction-sync
applies_to: Advanced Billing
updated: 2026-11-21
---

# Maxio Invoice and Anrok Transaction Sync

Maxio synchronizes invoice, credit note, void, and refund activity with Anrok when the invoice includes Anrok tax. This keeps Anrok reporting aligned with invoice activity in Maxio.

## Transaction export overview

Transaction export keeps Anrok reporting aligned with invoice activity in Maxio. By default, Maxio sends an invoice to Anrok when it's finalized. If your site has payment-confirmation-based (cash-basis) accounting enabled for Anrok — a Maxio Support-enabled capability, see <a href="https://docs.maxio.com/billing/taxes/integrations/anrok/anrok-integration-overview" target="_blank" rel="noopener noreferrer">Anrok Integration Overview</a> — invoices sync to Anrok only once they're paid instead.

## How Maxio identifies Anrok transactions

Maxio uses a deterministic transaction ID so related invoice, void, and refund activity can reference the same record in Anrok.

- Final invoices use this transaction ID format: `maxio:<site_id>:<invoice_uid>`
- Previews use a temporary ID until the invoice is finalized.
- Voids and refunds reference the original invoice transaction ID, with a suffix identifying the specific refund or void credit.

## Voids and refunds

Maxio responds to downstream invoice activity with Anrok export jobs. Voiding an invoice doesn't always call Anrok's void endpoint directly:

- **Voids:** Maxio first attempts to void the original transaction in Anrok, except with a Maxio integration API key, described below.
- **Already-filed transactions:** If Anrok rejects the void because the transaction is already frozen for filing, Maxio automatically creates a negation transaction for the voided amount instead, so the credit is still recorded even though the original transaction can no longer be removed.
- **Maxio integration API keys:** If your site's Anrok API key is a Maxio integration key, whose middle part (the API key ID) starts with `si`, Maxio doesn't void the transaction when you void an invoice or refund it in full. It removes the tax with a negation transaction instead, so the invoice nets to zero in Anrok and shows there as negated rather than voided. This doesn't apply to consolidated invoices.
- **Refunds:** Except for a full refund with a Maxio integration API key, described above, Maxio issues a negative transaction request, referencing the original transaction ID with a suffix, so Anrok can associate the credit with the original sale.

## Changes to already-filed transactions

When you change an invoice whose Anrok transaction is already frozen for filing, Anrok can't update that transaction. This applies when you edit the invoice, issue a partial refund or partial credit note, or update a consolidated invoice. Maxio handles it in these ways:

- **Replacement transaction:** Maxio negates the original transaction and creates a replacement transaction that carries the invoice's new tax. The replacement's ID is the original transaction ID with a suffix identifying the change.
- **Failed replacement:** If Anrok accepts the negation but the replacement fails, Maxio retries and creates the replacement once, so the invoice's tax is still reported.
- **Later voids, full refunds and full credit notes:** Maxio removes the tax from the replacement transaction rather than the original, so the invoice nets to zero in Anrok.

## Supported invoice activity

- **Invoice issued:** If the invoice includes Anrok tax, Maxio exports the invoice transaction to Anrok.
- **Invoice voided:** Maxio exports a void or negation, per the behavior above.
- **Refund:** Maxio exports a refund transaction referencing the original sale.
- **Credit note:** A credit note covering the full invoice is exported as a negation of the invoice's transaction, leaving that transaction intact. If the invoice has a replacement transaction, the negation applies to the replacement. A partial credit note is exported as a partial refund instead, which recreates the original transaction with the credited portion removed.
- **Errors:** All responses, warnings, and errors from Anrok are logged with integration-specific tags so your team can investigate issues.

## Reconciliation

Review Anrok transaction IDs, jurisdiction breakdowns, tax amounts, and Anrok's own transaction logs to reconcile Maxio invoices with Anrok.
