Skip to content
Minimax API integration: how it works, what the limits are and when it's enough
Technology 5 min read

Minimax API integration: how it works, what the limits are and when it's enough

How to issue Minimax invoices automatically from an online shop, app or CSV: integration steps, API limits and when an ERP is the better choice.

By Webline team

Minimax (moj.minimax.si) is a cloud accounting program used by many Slovenian companies. Don’t confuse it with the Chinese AI service MiniMax: we’re talking about the accounting software. Through its API you can issue invoices automatically: from an online shop, a mobile app, a CRM or a CSV file. No manual entry and no errors from retyping data.

In short: for a small number of invoices a Minimax integration works well and is affordable. If you issue a lot of invoices, it’s worth looking at larger solutions up front.

What you can automate

  • creating invoices and proforma invoices right after an order is paid;
  • issuing an invoice and getting the PDF in a single action;
  • finding and creating customers and items in Minimax;
  • bulk invoicing from a CSV or Excel file;
  • linking a payment method (e.g. Stripe) and a cash register.

How the integration works

  1. Access. Minimax offers a REST API. For your own integration, contact Minimax support to get the API client credentials (client ID and client password). You also create a separate API access in your Minimax user profile: application name, username and password.
  2. Authentication. It uses OAuth 2.0. Your system requests a token by sending the client credentials plus the API username and password. The token is then attached to every request.
  3. Creating an invoice. The system sends a POST request with the invoice data: customer, dates, item rows, VAT rate, payment method. In the response Minimax returns a link to the created draft.
  4. Reading the draft. Through that link the system reads the invoice ID and its RowVersion (the record version). It’s required for Minimax to accept the next action.
  5. Issuing and PDF. A separate action issues the invoice and returns the PDF straight away. You can email it to the customer or store it in your archive.

In Minimax all reference data is linked by ID: customer, item, VAT rate, numbering, payment method. That’s why the integration first looks up the customer (by tax number, then by name) and creates it if needed.

Limits to know about

  • A limited set of functions. The API exposes only part of what the program can do, not everything that’s in the user interface.
  • Parallel requests. In practice Minimax accepts about three simultaneous requests and answers “Too many concurrent requests” if there are more. That’s why you need a request queue and retries. We found no official limits in the help pages, so check the number on your own account.
  • Record versions. Without the current RowVersion the action on the invoice won’t go through.
  • An issued invoice can’t simply be deleted. It can only be corrected by a credit note (storno), so you need duplicate protection and a summary before issuing.
  • Lockout after wrong passwords. Repeated failed logins lock the API access and it has to be created again.
  • Organisation data. IDs of numbering, VAT, payment methods and cash registers differ per organisation, so they must be configured for each client.
  • Security. Credentials live only on the server or in environment variables, never in code or in the browser.

When Minimax API is enough and when it isn’t

SituationWhat fits
Tens or hundreds of invoices a monthMinimax API
An online shop or app with balance top-upsMinimax API
Invoicing from a CSV once or twice a weekMinimax API
Thousands of documents a month, peak loadsQueue and middleware, or a larger system
Warehouse, production, several legal entities, complex logisticsERP (e.g. SAP, Odoo, Pantheon)
Two-way real-time sync with CRM and warehouseERP or a dedicated integration layer

These are our practical rules of thumb, not official Minimax thresholds. If you’re growing, discuss the architecture early: migrating data and switching systems costs more than choosing right at the start.

Conclusion

Minimax API is a good fit for a small volume of invoices and clear processes: it launches fast, needs no expensive infrastructure and saves hours of manual work. For high volume or complex processes, look at scalable solutions right away. We’ll help you compare the options and pick the right one.

More about integrations

Book a consultation

Tell us which systems need to be connected and we’ll propose a solution. The first consultation and quote are free.

Tags: Minimax API Integrations Invoicing

About the author

Webline team

The Webline Studio team builds modern web solutions using the latest technologies.

Stand out with a website that works, not just looks good.

Let's talk