WooCommerce + César: automatic invoices for your store

WooCommerce logo: store orders turning into automatic invoices in César

Anyone selling on WooCommerce in Brazil knows the routine: the order comes in, the gateway confirms the money arrived, and then the tedious part starts. Someone opens the store admin, copies the customer's name and tax ID, opens the city portal, types it all again, picks the service code, issues the invoice and emails the PDF. Ten orders a day turn into an hour of typing. And the invoice nobody issued only surfaces when the accountant asks — at the end of the month, when it is already late.

César Empresas connects the two ends that don't talk to each other today: your WooCommerce store and tax invoicing. The customer pays in the store, the invoice goes out on its own. You only check.

Connecting the store takes minutes

Under Integrations, pick WooCommerce and type only your store address. César sends you to a WordPress screen asking for authorization; you approve and the store comes back connected. No keys to generate, no files to edit, no plugin to install.

If your hosting is stricter, the alternative is short too: in WooCommerce → Settings → Advanced → REST API, create a read/write key and paste it into César. Stores that block keys can use a WordPress application password.

And it works with the store you already have, not with one specific version of it. César detects which API your installation offers and speaks to any WooCommerce, from 2.4 to 10.x. An old store that was never updated still works.

As soon as it connects, three things happen without you asking:

  • César imports your order history in the background;
  • it creates the automatic notifications (webhooks) in your store, so it knows the instant an order changes — and if your store disables them for any reason, it turns them back on itself;
  • it starts checking the store every five minutes as a safety net. No order is lost because a notification failed.

Every order in one place

Each WooCommerce order becomes a César order, with origin Store and the original store number visible as a reference. On the Orders screen you see everything together: what came from the store, what your team sold, what the WhatsApp attendant closed.

The money shows up under Charges — and here is a detail that saves a lot of accounting pain. WooCommerce doesn't receive money; the gateway installed in it does (Mercado Pago, Pagar.me, PagBank, Asaas, Stripe, Iugu, Vindi, Efí, PicPay). If you connect both the store and the gateway to César, the same sale could be counted twice. It isn't: César recognizes which gateway processed each order, finds the matching charge and merges the two ends into a single line. One sale, one amount, linked to the order that produced it.

The invoice goes out on its own when the customer pays

With the store connected, you set up the invoice issuer once. The shortcut that saves the most time: import the last invoice you issued, as XML or PDF. César reads it and fills in the company details, the series, the next number (so you continue where you left off, without skipping or repeating) and the tax profile. Whatever is missing, the screen asks for field by field, pointing at the exact field when something is wrong.

Then you choose when the invoice goes out:

  • On payment. The WooCommerce order's payment is confirmed and the invoice is issued right away, with nobody touching anything.
  • A few days later, at 9am. For stores with a return or exchange window — common in e-commerce. The invoice waits the days you set. If the order is refunded before that, the pending invoice is dropped on its own, with nothing to cancel at the city.
  • Manual. The invoice only goes out when someone clicks Issue invoice on the paid order. Good for the first few days.

The invoice is born with the items, the amount and the customer data of that order. On the Orders grid, the Invoice column shows at a glance what is authorized, what is queued and what needs attention. From the invoice you jump back to the order; from the order you open the invoice, with PDF and XML.

Two guarantees come from the system, not from your attention: one order never produces two live invoices (double clicks, automation and a person acting at once, a slow city authority — the database refuses the second), and an invoice that couldn't go out doesn't vanish: it stays blocked, with the reason written in plain language, and César retries every hour until it clears.

Before any of it counts for real, you issue in homologation — the test environment, with no fiscal value and no cost. When you're happy, click Go to production.

You can also sell and cancel through the store, just by talking

The link isn't read-only. Through the chat, or through the attendant answering on WhatsApp and on your site, César creates the order inside your WooCommerce store and sends the payment link to the customer — who pays through your usual gateway, with your store's checkout, and receives your store's emails. WooCommerce stock and reports stay correct, because the sale happened there.

Cancelling and refunding too: an unpaid order can be cancelled (returning the stock) and a paid one refunded through the store's own gateway.

In practice, conversations like these run the day:

  • "Create a store order for 2 small t-shirts for Marina and send the payment link."
  • "Which store orders were paid today and still have no invoice?"
  • "Issue the invoice for order 1842."
  • "Refund order 1830, the customer changed their mind."

Month-end with the accountant

Under Exports you request the month's package as XML, PDF or a spreadsheet, organized into folders in a zip file, generated in the background even with thousands of invoices. When it is ready, César tells you. You forward it to the accountant and the subject is closed — with no night spent checking which orders were left without an invoice, because none were.

What it costs

There is no issuer subscription and no fee per imported order. Each NFS-e authorized in production consumes around 1,000 César Tokens from the company wallet, and the free plan includes 1 million tokens per month — enough for most small stores to start without paying anything. Homologation and rejected invoices are not charged.

Compare it with what you spend today: if issuing one invoice takes five minutes and your store closes thirty orders a month, that is two and a half hours a month typing what the computer already knows. Multiply by the hourly cost of whoever does it — probably you.

Start today

  1. Create your company in César, on the free plan.
  2. Under Integrations, connect your WooCommerce store with its address.
  3. Under Invoices, import your last invoice, upload your A1 certificate and issue one in homologation.
  4. Turn on the On payment policy and let the next order become an invoice on its own.

To understand invoicing in detail, read how to issue NFS-e automatically from your orders. And if answering customers wears you out too, see how to put an AI attendant on your site.

Let César do it for you

Everything you just read can be asked in one sentence. Create your free account and try it in the chat.

Try César