Changelog
The changes to the public API that integrators must know, newest first. The
contract is the public schema, /.
A change that is not listed here only adds something: a new operation, a new
optional parameter, a new field in a response, or a new error code.
A breaking change (a removed operation or field, a new required parameter, a changed type) is always listed here, with what to change.
02.12.2026: a new permission, bank_payments.prepare
permissions in GET / can list a new value,
bank_payments.prepare: the right to prepare a bank payment file of the
purchase invoices to pay. Only a session of a person holds it, never an API
key. A client that refuses an unknown value of a closed enum must accept it.
02.12.2026: what the accountant needs, and two new permissions
New operations for what the accountant needs from the client company:
GET /lists everything the client must do: the requests of the accountant, the invoices to check, the missing receipts, and what waits for the accountant. Each item has itsapi/ companies/ {company_id}/ needs-you/ urlandanswerable_by.GET /reads one request with its history.api/ companies/ {company_id}/ requests/ {request_id}/ POST .../answers a question or the receipt of a bank line;requests/ {request_id}/ answer/ POST .../leaves it to a person. A request that only a person settles answers 403requests/ {request_id}/ defer/ human_actor_requiredwith itsurl.
permissions in GET / can list two new values,
requests.read and requests.answer. A client that refuses an unknown value
of a closed enum must accept them. Bank transactions have a new field and
filter, receipt_waits_for (client or accountant). OAuth has two new
scopes, requests:read and requests:answer; read and write include
them.
01.12.2026: post and discard an invoice, and the Sales invoices guide
Two invoice operations are now public:
POST /books an issued sales invoice: the receivable, the revenue and the VAT of its month. An issued invoice that is not posted is in no report and in no VAT return. It worked with an API key before, but it was not in the docs.api/ companies/ {company_id}/ invoices/ {invoice_id}/ post POST /deletes a sales draft that was never issued. The books keep it asapi/ companies/ {company_id}/ invoices/ {invoice_id}/ discard void.
The answer of POST / has a new optional
field, vat_notes: the VAT code that Oscar filled for a line with none, and a
code that is unusual for the customer.
The new guide Sales invoices shows the whole flow: record a draft, issue it, post it, get its PDF, and correct it with a credit note.
25.11.2026: new values of three enums, and new fields for VAT dates and payroll (breaking)
Three enums of responses have new values. A client that refuses an unknown value of a closed enum must accept them.
counter_roleof the exemption of a bank transaction (GET /):api/ companies/ {company_id}/ bank-transactions/ {bank_transaction_id}/ share_issue_liability,unregistered_capital,fx_financial,loan_payable_long_term,tax_interest,fines,equity_payout_payable.kindofmoney_inof the same answer:share_issue(money for new shares that are not in the register yet).basic_exemptionof an employee and of an employee of a pay run:pension(the exemption at pension age).
New optional fields of the invoice commands: vat_point_rule of a revision, vat_use and no_vat_reason of a line, declared_vat_date of POST .../. Without them a command does what it did before, with one exception: a purchase line of a company whose books OscarAI keeps, that may be a car cost or a meal and has no vat_use, gets car_private or entertainment, and the accountant checks it.
New fields in responses:
- A revision of an invoice:
vat_point_rule,vat_end_date,vat_date_rule; its lines:vat_use,no_vat_reason,no_vat_reason_source,no_vat_reason_classified; a journal entry:source_part; the issue of an invoice:warnings. - A pay run:
agreed_payday; its employees:bonus_period_from,bonus_period_to,bonus_due,leaves.
25.11.2026: a new permission, tax.refund_request
permissions in GET / can list a new value,
tax.refund_request: the right of the owner to ask the firm to get the free
balance of the prepayment account back from EMTA. Only a session of the
person holds it, never an API key. A client that refuses an unknown value of
a closed enum must accept it.
22.11.2026: business trips, and the permission trips.write
New operations for the business trips of a company and their daily allowance:
GET /andapi/ companies/ {company_id}/ trips/ POST .../list and create trips;trips/ GETandPATCH .../read and change one.trips/ {trip_id}/ POST .../computes the daily allowance day by day, with no write.trips/ preview/ POST .../sends a decided trip of a managed company to the firm, andtrips/ {trip_id}/ submit/ POST .../links a purchase invoice or a receipt to a trip.trips/ {trip_id}/ costs/ GET .../downloads the trip decision, andtrips/ {trip_id}/ decision.pdf GET /reads the travel fields of a person.api/ companies/ {company_id}/ travellers/ {related_party_id}/
A board member decides and posts a trip in the app: no API key can do it.
GET .../ takes a repeatable invoice_id filter: the trips that hold
any of these purchase invoices as a cost. A trip names its destinations with
their places (legs), a posted trip the day its allowance is booked on
(booked_on) and its journal entry (core_entry_id), and each decision the
allowance it states (amount_minor). trip_decision_outdated (409) says that
the allowance changed since the decision: a board member decides the trip
again.
The Permission enum has a new value, trips.write (create and change
trips). It shows in permissions of GET /. A
client that refuses an unknown value of a
closed enum must accept it.
20.11.2026: companies only, no organization (breaking)
The API has no organization any more. Every access (members, invitations, API keys, OAuth connections, the audit log) belongs to one company.
GET /(permissionapi/ companies/ companies.read) lists the companies that the caller can reach, newest first, one page at a time. Use it to find theidof your company.- Removed:
GET /,api/ organizations/ GET /andapi/ organizations/ {organization_id}/ GET /. Callapi/ organizations/ {organization_id}/ companies/ GET /instead.api/ companies/ - Removed fields:
organizationsofGET /, andapi/ me/ organization_idof a company (GET /, the companies ofapi/ companies/ {company_id}/ GET /).api/ me/ - Renamed permissions:
organization.readis nowcompanies.read, andorganization.manageis nowcompanies.manage.permissionsofGET /lists the new names.api/ companies/ {company_id}/ - An API key belongs to one company and reaches that company only. A key made before keeps working, with no change.
- An OAuth token reaches the companies that the user chose on the consent page. With one company there is no choice; with several, the user ticks at least one. There is no "every company" choice: a new company needs a new connection. A token made before keeps working, with no reconnect.
09.11.2026: an OAuth token can reach several organizations
On the consent page the user can now tick more than one organization. The access token then reaches the companies of each ticked organization, with the user's own role in each one, and nothing else. A token of one organization works as before.
GET /andapi/ organizations/ GET /list exactly the organizations of the token. Do not assume one organization: read the list.api/ me/ - A company outside the organizations of the token answers 404
not_found. - A refresh keeps the organizations, except one that the user can no longer
reach. With none left, the refresh fails with
invalid_grant. - An API key still belongs to one organization.
Since 20.11.2026 the API has no organization: the token reaches the companies that the user chose (see the entry of 20.11.2026).
07.11.2026: retractable on a bank transaction, and plainer refusals
GET /has a new fieldapi/ companies/ {company_id}/ bank-transactions/ {bank_transaction_id}/ retractable. It is false when the books keep the transaction for good, so a removal is always refused. True does not promise that a removal passes: the books refuse a transaction that something still explains, and say what to undo first.- A refused removal or proposal now answers in plain words for a caller who is
not firm staff. A proposal that the books would refuse still answers 422
proposal_would_fail, andcodeanddetailof itserrorscarry those words. Read thecode, not the text ofdetail.
07.11.2026: a removed bank transaction shows only for firm staff
A bank transaction removed from the books (status retracted) now shows
only for firm staff. An API key of a company, a signed-in client, and
an OAuth or agent token of a client user no longer get it. An OAuth or agent
token follows its user, so the token of firm staff keeps it.
GET /leaves it out. The filterapi/ companies/ {company_id}/ bank-transactions/ status=retractedis still accepted, and gives an empty list.GET /answers 404api/ companies/ {company_id}/ bank-transactions/ {bank_transaction_id}/ not_found, the same answer as for an id that does not exist.transaction_countofGET /leaves it out, for every caller.api/ companies/ {company_id}/ bank-accounts/
No balance changes: the transaction was already out of the books.
06.11.2026: a new permission, einvoicing.manage
permissionsinGET /can list a new value,api/ companies/ {company_id}/ einvoicing.manage: the right to connect an e-invoice operator, replace its key, test the connection and switch sending. Accept and ignore a value you do not know.
05.11.2026: import VAT codes, and a sales code for a service abroad
These values are new in existing responses. Accept and ignore a value you do not know.
- The VAT codes of
GET /includeapi/ companies/ {company_id}/ vat-codes/ EE-PUR-IMPORT-CUSTOMS(import VAT paid at customs),EE-PUR-IMPORT-POSTPONED(import VAT declared on the KMD under an EMTA permit) andEE-SAL-ABROAD-SRV(a service with a place of supply outside Estonia, 0%, KMD row 3 only).treatmentcan beimport, and the filtertreatmenttakes the same new value. counter_roleof an exemption can bevat_output_import,vat_input_importorvat_input_fixed_asset.- A KMD can hold row
KMD.4^1and rowsKMD.5.1andKMD.5.2that overlap: each is a part of row 5, so they do not add up to it.
30.10.2026: a bank transaction removed from the books
A person can now remove a bank transaction from the books, for example one that the bank sent twice. These values are new in existing responses. Accept and ignore a value you do not know.
statusof a bank transaction (GET /andapi/ companies/ {company_id}/ bank-transactions/ GET /) can beapi/ companies/ {company_id}/ bank-transactions/ {bank_transaction_id}/ retracted: the transaction is out of the books, and its entry is reversed. The filterstatustakes the same new value;status=opennever lists a retracted transaction.- Each bank transaction has a new field,
retraction: null, or{reason, duplicate_of_bank_transaction_id, retracted_at}for aretractedtransaction.duplicate_of_bank_transaction_idnames the transaction it repeats, or is null.
28.10.2026: UK VAT and Australian GST codes, and a new permission
These values are new in existing responses. Accept and ignore a value you do not know.
permissionsinGET /can list a new value,api/ companies/ {company_id}/ foreign_tax.file: the right to prepare a UK VAT or Australian GST return and mark it filed. The client files these returns itself.- The VAT codes of
GET /include the codes of a UK VAT or Australian GST registration once the company records one:api/ companies/ {company_id}/ vat-codes/ special_schemecan begb_vatorau_gst,treatmentcan beforeign_scheme,rate_typecan bezero, andmember_statecan beGBorAU. The filtersspecial_schemeandtreatmenttake the same new values. - Each VAT code has a new field,
goods_location:abroad(goods shipped from Estonia) orin_country(goods held in the United Kingdom) for a code of goods of a foreign registration; null for every other code. exemption.counter_roleof a bank transaction (GET /) can beapi/ companies/ {company_id}/ bank-transactions/ {bank_transaction_id}/ vat_output_gborvat_input_gb(the UK VAT account) orvat_output_au(the Australian GST account): a payment to HMRC or to the ATO.
23.10.2026: the words of an occupation code and a workplace address
- Each employment of
GET /has a new field,api/ companies/ {company_id}/ employees/ {employee_id}/ occupation_name: the name ofoccupation_codein the occupation classifier of Statistics Estonia, in the language of the answer. It is empty when the classifier does not hold the code. - A submission (
GET /and the other submission operations) has a new field,api/ companies/ {company_id}/ employees/ submissions/ names:occupation_nameandworkplace_addressfor the values indata.employment. Each is empty when it is not known. - When
workplace_addressof an employment is empty andworkplace_address_idis set, a read of the employee or of the submissions now fills it in from the ADS address register (In-ADS).
22.10.2026: a new permission, support.use
permissionsinGET /can list a new value,api/ companies/ {company_id}/ support.use: the right to write to the firm in the support channel and read its answers. Every member of a company has it, whatever the role. Accept and ignore a permission you do not know.
20.10.2026: an exemption to an account
This change is breaking for a client that reads exemption.counter_role
as a value that is never null.
exemptionof a bank transaction (GET /) has a new field,api/ companies/ {company_id}/ bank-transactions/ {bank_transaction_id}/ counter_account_code: the code of the account the bank line was booked to, when the firm named an account instead of a role.exemption.counter_rolecan now be null: exactly one ofcounter_roleandcounter_account_codeis set. Readcounter_account_codewhencounter_roleis null.
20.10.2026: the general ledger leaves out correction pairs by default
GET /now leaves out the lines of the correction pairs by default. A correction pair is an entry whose reversal is posted (api/ companies/ {company_id}/ general-ledger/ entry_statereversed) and the reversal that cancels it. The replacement of a correction is the correct booking, and it is always listed.- To get every line as before, send the new optional parameter
include_corrections=true. - The balances do not change:
opening_base_minor,closing_base_minorandrunning_base_minorstill count every line, hidden or not, so they agree with the trial balance. A running balance can jump across a line that is left out. - Each account has a new field,
hidden_corrections: how many lines of the range belong to a correction pair. The answer has a new field of the same name, the sum over the accounts. Both give the same number with or withoutinclude_corrections.
15.10.2026: the payments of an invoice, and a new permission
permissionsinGET /can list a new value,api/ companies/ {company_id}/ reconciliation.decide: the right to confirm, reject or undo a match of a bank payment to a purchase invoice that OscarAI proposed. Accept and ignore a permission you do not know.GET /has a new field,api/ companies/ {company_id}/ invoices/ {invoice_id}/ allocations: every active allocation that settles the invoice (a payment, a refund, a credit note), withbank_transaction_idwhen the other side is a bank line.- The invoice list and the invoice have a new field,
posted_at: when the current revision was posted, null while it is not posted. - Each document of
revision.documentshas two new fields,file_idanddownload_url, as the document records have. - Each document of
revision.documentshas a new field,source: where its stored file came from (email,upload,api,import,generatedorother; more values may come), null when no file is stored.
15.10.2026: a company whose data was deleted
stateof a company (GET /, the companies ofapi/ companies/ {company_id}/ GET /) can be a new value,api/ me/ deleted: the service of the company ended and its data was deleted. Such a company has no books, and it never becomesreadyagain. Accept a state you do not know and treat it as one with no books.- A company the firm closed keeps its registry code: a new company with that
code answers 409
company_closed.
14.10.2026: employees and payroll
- New operations: list and read the employees of a company, submit a new employee or a change and read the status of the submission, and list and read the pay runs.
permissionsinGET /can list a new value,api/ companies/ {company_id}/ employees.submit: the right to submit a new employee or a change for the firm to review. Accept and ignore a permission you do not know.GET /has a new field,api/ me/ features.employees: true while the employee register is on.
14.10.2026: the tax account balance
- New operation
GET /(api/ companies/ {company_id}/ tax-account/ balance/ companies_tax_account_balance, permissionbooks.read): the tax account of the company at the Estonian Tax and Customs Board (EMTA). It gives the balance of the claims (total, above zero: the company owes it), the interest, the prepayment account (prepayment_balance, and every account inaccount_balances), the open claims with their due dates, andnotices(a debt, a claim due within 7 days). - The answer comes from the copy OscarAI keeps, not from a live call:
as_ofis when it was read from EMTA, andaccess_statussays how the last read went (ok,rights_missingwhen the company has not grantedACCOUNTING_XROADto OscarAI in e-MTA,failed,never). Before the first read every amount is null.
Nothing to change: this only adds an operation.
13.10.2026: unit prices with decimals, and a party's invoice language
- An invoice line takes
unit_price, the unit price in major units as a decimal string of at most 6 decimals ("150.334"). The books compute the net as quantity x unit price, rounded half up to the minor unit of the currency.unit_price_minorstays valid; when a line gives both, they must name the same price (400invalid_payloadotherwise). - The lines of an invoice detail have the new field
unit_price, also for a line recorded withunit_price_minoronly.unit_price_minoris null on a line whose price has a fraction of a minor unit. - The defaults of a party (
defaultsof a party detail) have the new fieldlanguage:et,enor null.
Nothing to change: every new field is optional.
09.10.2026: what an own sales invoice carries
-
record_invoiceandrevise_invoiceof an own sales invoice refuse a document with the roleoriginal(400invalid_payload). The original of an own sales invoice is the PDF Oscar issues. The role of a document defaults tooriginal, so a document on a sales draft names the rolesupporting.import_sales_invoicestill takes the original of an invoice issued elsewhere. -
issue_invoiceof a VAT-registered company refuses an invoice without the seller's address (400seller_address_missing) or without the buyer's address (400buyer_address_missing), as the VAT Act requires (KMS § 37 (7) p 2 and p 3). The API takes the seller's address from the Business Register; giveseller_addresswhen the register has none. A customer that stands for private persons (private_persons) needs no address. -
issue_invoiceof a sales invoice in another currency than the euro that charges VAT freezes its euro value at the ECB rate of the tax point, and refuses the issue when that rate is not known yet (400vat_exchange_rate_missing). The detail of an invoice has the new fieldrevision.base_vat: the VAT of each rate and in total in euro, and the rate used.
What to change: send "role": "supporting" for a document of a sales
draft, and set the address of a customer (address of the party) before
you issue its invoice.
08.10.2026: OAuth asks for write on purpose
- An OAuth authorization request (
/oauth/authorize) or a device authorization request (/) that names nooauth/ device_authorization scopenow getsreadonly. Before, it gotread write. - The consent page shows the
client_idof the app. For an app that registered itself (a client ID metadata document or dynamic registration), it warns and shows no logo.
What to change: an integration that writes sends scope=read write in the
authorization request. A token without write gets 403
insufficient_scope on a write. The oscar CLI already sends the scope.
08.10.2026: size limits on requests
- A JSON request body is at most 1 MB. A larger one is refused with 413
request_too_large. A file upload (POST .../) keeps its own limit of 25 MB.files/ - Every text field of a command body (invoices, parties, events and the
others) is at most 2000 characters, and the schema now says so with
maxLength. A longer text is refused with 400validation_error. - A free JSON value of a command (
source_payload,seller_snapshot,buyer_snapshot,raw) is at most 64 KB as JSON. - A list of a command has a maximum: 500 lines and 50 documents in an
invoice revision, 2000 lines in an event. A longer list is refused with
400
validation_error. GET .../now counts against the rate of the expensive operations, as an upload does: 429files/ {file_id}/ content/ throttledwhen it is used up.
What to change: split a larger invoice or event, and shorten a longer text.
27.09.2026: payment providers
permissionsinGET /can list two new values:api/ companies/ {company_id}/ payments.read, the right to read the payment provider (Stripe) connections of the company, andpayments.manage, the right to connect a payment provider, replace its key, sync it and disconnect it. The operations of both are not public yet. Accept and ignore a permission you do not know.
25.09.2026: the bank feed
permissionsinGET /can list a new value,api/ companies/ {company_id}/ bank.connect: the right to connect a bank of the company through open banking, reconnect it and disconnect it. Only a browser session holds it, so an API key or an OAuth token never gets it. Accept and ignore a permission you do not know.
25.09.2026: the AI agent
permissionsinGET /can list a new value,api/ companies/ {company_id}/ agent.use: the right to use the AI agent of Oscar. Only a browser session holds it, so an API key or an OAuth token never gets it. Accept and ignore a permission you do not know.GET /has a new field,api/ me/ features, with the features this deployment turns on.
25.09.2026: the first public API
- The first public set of operations: the organization and its companies, parties, invoices (record, revise, issue, cancel), files (upload, read, download the bytes), document records, bank accounts and bank transactions, the chart of accounts, VAT codes, periods, dimensions, and the reports.
- Authentication with an organization API key,
Authorization: Bearer osk_live_.... - The public schema at
/, and these docs.docs/ api/ openapi.json