Lock series to mobile device
Invoice Series
Lock Series to Mobile Device
Bind an invoice series to the caller mobile device so only that device can issue invoices against it.
POST
Lock series to mobile device
Overview
Locking a series binds it to the mobile device that issued the call (identified by thedevice_id stored on its user_session). Once locked:
- Only that device can issue invoices against the series — online or via pre-reserved numbers when offline.
- Web/API-key callers attempting to
POST /invoiceswith a lockedseries_idreceive aseries_locked_to_deviceerror. - The locked device can call
POST /invoice-series/{id}/reserve-numbersto pre-allocate numbers for offline use.
Requires a mobile JWT session (issued by
/auth/login). The JWT’s backing user_session must have a non-empty device_id — re-authenticate from the app if device_id_missing is returned.Response
Non-null once the series is locked.
Always
true after a successful lock.