Factuarea APIDevelopers
Contract

Expense categories, fixed assets and VAT registers

Expense categories you can create, rename, archive and restore; fixed assets with their own operations and a fixed_asset block on each expense line; an input VAT classification that is now proposed when operation_class is omitted; the Modelo 130 with amortization quotas and a filed mark; and the VAT registers with a summary and an export. Fifteen new and sixteen updated operations, with fifteen new MCP tools.

28 November 2026 — Expenses can now be organised and capitalised from the API and from MCP, and the tax models learn about it. Expense categories can be created, renamed, archived and restored. A line of an expense can declare that it is a fixed asset (bien de inversión), whose cost is deducted in yearly quotas instead of in full, and the assets have their own operations. An expense created without operation_class now gets its VAT classification proposed from the supplier, instead of always coming out as corriente. In the tax models, the Modelo 130 adds the amortization quotas to the box [02] and can be marked as filed, and the VAT registers get a summary and an export. Two Excel exports change their columns. Nothing is removed and no scope is added. What to check in your integration lists what can affect an existing one, the tax reports guide and the export guide cover the flows, and the MCP tools catalogue lists the new tools.

Expense categories

A category groups the expenses of a company for reports and exports. Companies that already exist receive a starter catalogue of twelve categories. The API could already list them; now it also manages them, with four new operations and the same four tools in MCP, all of them under the Purchase Invoices tag.

OperationoperationIdScopeMCP tool
POST /v1/companies/{company}/purchase-invoices/expense-categoriespublic-api.v1.purchase_invoices.expense_categories.createpurchase_invoices:writecreate_purchase_invoice_expense_category
PATCH /v1/companies/{company}/purchase-invoices/expense-categories/{expense_category}public-api.v1.purchase_invoices.expense_categories.updatepurchase_invoices:writerename_purchase_invoice_expense_category
POST /v1/companies/{company}/purchase-invoices/expense-categories/{expense_category}/archivepublic-api.v1.purchase_invoices.expense_categories.archivepurchase_invoices:writearchive_purchase_invoice_expense_category
POST /v1/companies/{company}/purchase-invoices/expense-categories/{expense_category}/restorepublic-api.v1.purchase_invoices.expense_categories.restorepurchase_invoices:writerestore_purchase_invoice_expense_category
  • Names. From 1 to 100 characters once trimmed, and unique in the company ignoring capitalization and counting the archived categories: a repeated name answers 422 expense_category_name_taken. Renaming a category only to change its own capitalization is accepted. Only name can be sent: any other key, archived_at included, answers 400 parameter_unknown.
  • Archive and restore. Archiving deletes nothing: the expenses keep their category and keep counting in reports and exports, but the category is no longer offered and cannot be assigned to an expense. Creating or editing an expense with an archived category answers 422 expense_category_archived; editing an expense that already has one, without changing it, is accepted. Repeating either operation is harmless, and restoring brings the category back with its id, its name and its expenses.
  • The list. GET /v1/companies/{company}/purchase-invoices/expense-categories returns the active categories by default. status (active, archived or all) selects the archived ones too, and each category carries archived_at, null while it is active. The tool list_purchase_invoice_expense_categories accepts status as well.
  • Filter on expenses. The list of expenses and the tool search_purchase_invoices accept expense_category_id: the UUID of a category, or none for the expenses without one. A category that does not exist, or that belongs to another company, gives an empty list and never a 404.

Fixed assets

A fixed asset (bien de inversión) is something the company buys to use for years: its cost is deducted gradually, in straight-line yearly quotas, instead of in full when the expense is recorded. Six new operations, under the new Fixed Assets tag, and a new FixedAsset domain of six tools in MCP.

OperationoperationIdScopeMCP tool
GET /v1/companies/{company}/fixed-assetspublic-api.v1.fixed_assets.listpurchase_invoices:readlist_fixed_assets
POST /v1/companies/{company}/fixed-assetspublic-api.v1.fixed_assets.createpurchase_invoices:writecreate_fixed_asset
GET /v1/companies/{company}/fixed-assets/{fixed_asset}public-api.v1.fixed_assets.showpurchase_invoices:readget_fixed_asset
PATCH /v1/companies/{company}/fixed-assets/{fixed_asset}public-api.v1.fixed_assets.updatepurchase_invoices:writeupdate_fixed_asset
POST /v1/companies/{company}/fixed-assets/{fixed_asset}/disposepublic-api.v1.fixed_assets.disposepurchase_invoices:writedispose_fixed_asset, irreversible
DELETE /v1/companies/{company}/fixed-assets/{fixed_asset}public-api.v1.fixed_assets.deletepurchase_invoices:deletedelete_fixed_asset, irreversible
  • Type and rate. asset_type is one of thirteen codes, the Tipo de bien of the AEAT investment goods book: it_equipment, software, tools, furniture, installations, machinery, vehicles, buildings, other_tangible, cattle_swine_sheep_goats, equine_non_citrus_fruit, citrus_vineyards and olive_grove. Each type has a maximum yearly rate: a depreciation_rate above it answers 422 fixed_asset_rate_exceeds_type_maximum, and a type outside the catalogue answers 422 fixed_asset_type_invalid.
  • Value and plan. When an asset comes from an expense line, the server derives its amortizable value (the base after discount plus the VAT that is not deductible) and ignores any value you send; created on its own, amortizable_value is required. business_use_percent is the share assigned to the activity, and only that share is amortized. Rates, percentages and amounts you send can be a number or a decimal string, and they come back as decimal strings. Retrieving an asset returns its plan by year and quarter and its history; the rows of the list carry neither.
  • Status. draft while its origin expense is a draft, then amortizing, amortized once the plan has ended, and disposed. The status you read is the effective one today.
  • The list. Newest first, with cursor pagination and the filters status (and status[in]), asset_type, purchase_invoice_id and search.
  • Disposal. dispose takes disposed_on and reason (disposal or sale), plus sale_amount when it is a sale and none otherwise; breaking that rule or using a date before the start of use or before the last declared quarter answers 422 fixed_asset_disposal_invalid. The plan is cut at that date and the status becomes disposed. It is irreversible: it needs an Idempotency-Key, no operation reopens a disposed asset, and a second disposal or an edit answers 422 fixed_asset_disposed.
  • Delete. Also irreversible and with an Idempotency-Key; it answers 204. An asset with quotas already included in a filed Modelo 130 cannot be deleted, 422 fixed_asset_has_declared_quotas: dispose of it instead. With declared quotas, its start-of-use date and its previously amortized amount cannot change either.

The tools dispose_fixed_asset and delete_fixed_asset are the two new irreversible ones: they publish idempotency_key, as the irreversible operations guide explains. Archiving a category and reopening a filed quarter are not irreversible.

The fixed_asset block of an expense line

The create and update operations of an expense (public-api.v1.purchase_invoices.create and public-api.v1.purchase_invoices.update, and the tools create_purchase_invoice and update_purchase_invoice) accept an optional fixed_asset object in each element of lines:

  • Fields. asset_type, in_service_from, depreciation_rate and business_use_percent are required inside the block. The two percentages take at most two decimals and can be a number or a decimal string such as "25.00". name is optional and defaults to the description of the line. id identifies the asset you are updating and only means something on update.
  • No value. The server derives the amortizable value from the line and ignores any value you send. A line without the block creates no asset, and its amount counts in full as an expense.
  • Update. Sending lines replaces the lines and, with them, the assets: resend the block with its id to keep and update that asset even if its line moved; a block without id creates a new asset; a line sent without its block removes the old one. Omitting lines keeps every asset untouched. An id that is not an asset of that expense answers 422 fixed_asset_block_not_of_this_invoice.
  • All or nothing. The expense and its assets are saved together: if an asset is rejected, the expense is not saved or changed.
  • Reading. Every line of every expense that the API, MCP, events and webhook deliveries return now carries fixed_asset: null, or a summary with id, status, name, asset_type, in_service_from, depreciation_rate, business_use_percent, annual_quota, amortizable_value, amortized, pending, current_quarter_quota and ends_on. Retrieve it by id for its plan and history.
  • The asset follows its expense. It is draft while the expense is a draft and passes to amortizing when the expense is pending or paid. Returning the expense to draft takes it back to draft, and cancelling the expense removes an asset that has no declared quotas.

Errors of the block now carry line_index. The 422 errors of this block, with code business_rule_violation and a subcode of the fixed_asset_* family, include line_index: the zero-based position of the line that raised them. It applies to the create and update of an expense, in the API v1 and in MCP. It is additive and you can ignore it: param keeps naming the field of the asset, such as depreciation_rate, with no line prefix, and an error about the whole block, like fixed_asset_block_not_of_this_invoice, comes with line_index and without param. The Error schema already declared line_index, so no schema changes and no operation is listed for it.

Expenses with declared quotas

Once the quotas of an asset are in a filed Modelo 130, those quarters are frozen and the expense that originated the asset cannot go back. Each of these actions answers 422, with code business_rule_violation and subcode purchase_invoice_has_declared_fixed_asset_quotas, and nothing changes:

  • Deleting the expense. In a bulk delete, that expense comes back among the failed ones.
  • Cancelling it.
  • Returning it to draft.
  • Updating it with lines that no longer carry the line of that asset.

The message names the action that was refused. To stop amortizing an asset, dispose of it; to correct a declared quarter, reopen its filing first. An expense without declared quotas takes its assets with it when it is deleted.

VAT classification of expenses

operation_class tells the Modelo 303 where the input VAT of an expense goes. The REST operations already accepted it; the tools create_purchase_invoice and update_purchase_invoice accept it now, with the same five values and the same validation (a value outside the catalogue answers 422).

ValueUse it forBoxes of the 303
corrienteAn ordinary domestic purchase[28] and [29]
bien_inversionEquipment and other investment goods, the whole document[30] and [31]
importacionGoods from outside the EU[32] and [33]
intracomunitariaGoods or services from another EU member state[36] and [37], accrued in [10] and [11]
ispServices from outside the EU, or a domestic reverse charge[28] and [29], accrued in [12] and [13]

A corriente purchase with a line that is a fixed asset sends only that line to [30] and [31].

What changes when you omit it. On creation, with operation_class omitted or null, in the API v1, in MCP, in imports and when a scanned document is converted, the class used to be corriente always. Now Factuarea proposes it from the country and the tax identification of the supplier (the country of its tax ID, not the one of its address) and the response says where it came from in operation_class_source:

  • explicit: you sent the class and it was stored as given.
  • supplier_country: derived from the supplier.
  • default: there was not enough data, so corriente was applied. It happens with no supplier, with a supplier from the EU without a VAT number, with a supplier from the Canary Islands, Ceuta or Melilla, and when the company itself is outside the mainland and Balearic VAT territory.
  • null: the expense was created before this field existed.
Supplier of the expenseBeforeNow
From the EU, with a VAT number such as DK12345678corriente, boxes [28] and [29]intracomunitaria, supplier_country
Spanish, mainland or Balearic Islandscorrientecorriente, supplier_country
From outside the EU, services or lines not linked to the cataloguecorrienteisp, supplier_country
From outside the EU, goods (a line linked to a catalogue product)corrienteimportacion, supplier_country
No supplier, from the EU without a VAT number, Canary Islands, Ceuta or Melillacorrientecorriente, default

On update, omitting operation_class keeps the stored class and its source. Sending a class stores it with the source explicit, even if it equals the stored one, and sending null stores corriente with the source default, without proposing anything. Only an expense in draft accepts the change.

Tax models

Modelo 130

The box [02] is now the sum of the deductible expense invoices and the amortization quotas of the fixed assets assigned to the activity, accumulated from 1 January to the end of the quarter. The line of an expense that is a fixed asset no longer counts as an expense in [02]: only its quota does, so the same purchase is never deducted twice. The TXT file, the PDF and the Excel workbook of the Modelo 130 come with [02] already added and with no new field. The split between invoices and amortizations is shown only by the preview in the app: the API and MCP do not publish it, and the operations that generate the Modelo 130 do not change their contract.

The filed mark is new. It is declared by you, with the date you filed the model with the AEAT, and there is at most one per company and quarter.

OperationoperationIdScopeMCP tool
POST /v1/companies/{company}/tax-reports/130/filingpublic-api.v1.tax_reports.mark_filedtax_reports:writemark_tax_report_filed
POST /v1/companies/{company}/tax-reports/130/filing/reopenpublic-api.v1.tax_reports.reopen_filedtax_reports:writereopen_tax_report
GET /v1/companies/{company}/tax-reports/filingspublic-api.v1.tax_reports.filingstax_reports:readlist_tax_report_filings
  • Marking. The body carries year, quarter and filed_on, which must be after the last day of the quarter and not in the future: otherwise 422 tax_report_filing_date_invalid. A quarter that is already marked answers 422 tax_report_already_filed and its date does not change. It answers 201 with the mark and a Location header, or a retryable 409 resource_conflict: send it again after a few seconds.
  • What it does. Marking a quarter fixes the amortization quotas of the fixed assets up to it: they stay in the Modelo 130 you filed, and a later one adds only what came after. Those quotas are then declared, which is what freezes the asset and its expense as explained above.
  • Reopening. Only the last filed quarter of the year can be reopened, 422 tax_report_reopen_blocked otherwise; a quarter without a mark answers 404 tax_report_filing_not_found. It answers 204 and lets the quotas of that mark be recalculated again. It is not irreversible: marking the quarter again restores it.
  • The list. A flat list under data, ordered by year and quarter and without pagination, with the optional filters year and quarter. Each mark carries filed_on, filed_by_id (null when nobody is behind it) and filed_at.
  • A warning. Previewing or generating the Modelo 130 of a filed quarter still returns the result, with the code quarter_already_filed in warnings and warning_codes: what you register afterwards can make the figures differ from what you declared.

Modelo 303

The lines of an expense that are fixed assets in a domestic purchase go to [30] and [31], and the rest of that expense stays in [28] and [29]; the deductible total does not change. The preview (POST /v1/companies/{company}/tax-reports/preview, tool preview_tax_report) publishes both in totals.baseInversion and totals.cuotaInversion. They were already part of resultadoLiquidacion, and the new keys let you reconcile it: the reference example now shows them, so its resultadoLiquidacion reads 121500 instead of 153000. When a line of an intracomunitaria, importacion or isp purchase is a fixed asset, it keeps the routing of its class and the 303 adds the warning investment_line_not_interior.

VAT registers

There are three VAT registers (libros registro), the book of the path: issued (invoices issued), received (invoices received) and investment_goods (fixed assets). Two new operations under the Tax Reports tag. Both ask only for the read scope, because the export builds a file and writes nothing.

OperationoperationIdScopeMCP tool
GET /v1/companies/{company}/vat-registers/{book}/summarypublic-api.v1.vat_registers.summarytax_reports:readget_vat_register_summary
POST /v1/companies/{company}/vat-registers/{book}/exportpublic-api.v1.vat_registers.exporttax_reports:readexport_vat_register
  • Summary. Counts, base, tax and deductible totals and the warnings of a book, without the rows. year is required; without quarter it covers the whole year, and accumulated=true runs from 1 January to the end of that quarter. A period without invoices is a 200 with zero totals.
  • Export. The body takes year, quarter and file_format, and the file is always accumulated from 1 January to the end of the quarter, or the whole year without it. With xlsx, the default, you get one workbook in the official AEAT format with the sheets EXPEDIDAS, RECIBIDAS and BIENES-INVERSIÓN (omitted when empty), and book is only validated. With csv you get the book of the path. The cap of rows counts the rows of all the sheets, 422 export_limit_exceeded, and a period with no rows at all answers 422 insufficient_data_for_report.
  • Errors. A book outside the three answers 422 vat_register_book_invalid. An issued invoice of a type that needs its recipient identified, without a tax ID or an alternative identification, answers 422 vat_register_entry_incomplete, and the message names the invoice.

Excel exports

Two Excel files change. The headers of the files are in Spanish whatever the language you use.

Sales invoices, in POST /v1/companies/{company}/invoices/export/excel and its tool export_invoices_excel, in the app and in the account data export. The columns that already existed keep their position and their header, and four new ones come after them:

LayoutColumns that stayNew columns
SUMMARY, one row per invoiceThe first 13, up to Forma de Pago14 to 17: País, Tipo de identificación, NIF / identificador and Calificación del IVA
ITEMS, one row per lineThe first 17, up to Tipo de Línea18 to 21: the same four
  • País is the ISO code of two letters. The identification comes from the copy of the recipient frozen in the invoice and, when that copy has none, from the contact. Calificación del IVA is Sujeta, Exenta (E1) to Exenta (E6), Exenta without a cause for an intra-EU or export operation, No sujeta (N1) or No sujeta (N2), or Inversión del sujeto pasivo, and an invoice with several qualifications lists them separated by a slash, as in Sujeta / Exenta (E1).
  • In xlsx, the amounts of ITEMS are now numeric cells with a number format (those of SUMMARY already were); in csv they stay text with Spanish format (1.234,56). A zero is written as a zero and never as an empty cell. The percentages of IVA (%) and IRPF (%) stay text.

Expenses, only in the app and in the account data export: there is no export of expenses in the API v1 or in MCP, and none is added. The file has 19 columns, in this order, and you should read them by header and not by position:

N.o Factura, Fecha Emision, Fecha Recepcion, Proveedor, País, Tipo de identificación, NIF / identificador, Clasificación IVA soportado, Categoría, Base Imponible, IVA (%), IVA cobrado por el proveedor, IVA autoliquidado, Cuota deducible, Cuota no deducible, IRPF, Total pagado, Estado and Pagada.

  • The single column IVA is gone. It is replaced by IVA (%) and four quotas: IVA cobrado por el proveedor, IVA autoliquidado, Cuota deducible and Cuota no deducible. NIF/CIF is replaced by the three columns of country, identification type and identifier, and Total is now Total pagado.
  • The sum of Cuota deducible over a period equals the boxes [29], [31], [33] and [37] of the Modelo 303 of the same period.
  • The amounts are numeric cells in xlsx and text with Spanish format in csv.

Updated operations

The fifteen new operations are in the tables above. These sixteen already existed and change as described. Four of them, the events and the webhook deliveries, change only because the expense they carry has new keys.

OperationoperationIdMCP toolWhat changes
POST /v1/companies/{company}/purchase-invoicespublic-api.v1.purchase_invoices.createcreate_purchase_invoiceEach line accepts the fixed_asset block, an omitted operation_class is proposed from the supplier, and the response carries operation_class_source and lines[].fixed_asset. The tool also accepts operation_class.
PATCH /v1/companies/{company}/purchase-invoices/{purchase_invoice}public-api.v1.purchase_invoices.updateupdate_purchase_invoiceThe same block, with id to keep an asset when its line moves, an omitted operation_class that keeps the stored one, the new 422 of an expense with declared quotas, and a retryable 409 resource_conflict. The tool also accepts operation_class.
GET /v1/companies/{company}/purchase-invoices/{purchase_invoice}public-api.v1.purchase_invoices.showget_purchase_invoiceThe expense carries operation_class_source and, in each line, fixed_asset.
POST /v1/companies/{company}/purchase-invoices/{purchase_invoice}/attach-filepublic-api.v1.purchase_invoices.attach_fileattach_purchase_invoice_fileThe expense it returns carries operation_class_source and lines[].fixed_asset.
POST /v1/companies/{company}/purchase-invoices/{purchase_invoice}/mark-paidpublic-api.v1.purchase_invoices.mark_paidmark_purchase_invoice_paidThe expense it returns carries operation_class_source and lines[].fixed_asset.
POST /v1/companies/{company}/purchase-invoices/find-by-external-idpublic-api.v1.purchase_invoices.find_by_external_idfind_purchase_invoice_by_external_idThe expense carries operation_class_source and lines[].fixed_asset.
GET /v1/companies/{company}/purchase-invoices/pendingpublic-api.v1.purchase_invoices.pendinglist_pending_purchase_invoicesEach expense carries operation_class_source and lines[].fixed_asset.
GET /v1/companies/{company}/purchase-invoices/overduepublic-api.v1.purchase_invoices.overduelist_overdue_purchase_invoicesEach expense carries operation_class_source and lines[].fixed_asset.
GET /v1/companies/{company}/purchase-invoicespublic-api.v1.purchase_invoices.listsearch_purchase_invoicesEach expense carries operation_class_source and lines[].fixed_asset, and the new filter expense_category_id takes a category UUID or none.
GET /v1/companies/{company}/purchase-invoices/expense-categoriespublic-api.v1.purchase_invoices.expense_categorieslist_purchase_invoice_expense_categoriesEach category carries archived_at, the filter status selects active, archived or all, and a value outside those three answers 422.
POST /v1/companies/{company}/tax-reports/previewpublic-api.v1.tax_reports.previewpreview_tax_reportThe totals of the Modelo 303 gain baseInversion and cuotaInversion, the boxes [30] and [31].
POST /v1/companies/{company}/invoices/export/excelpublic-api.v1.invoices.export_excelexport_invoices_excelFour new columns after the existing ones in SUMMARY and in ITEMS, and numeric amounts in the xlsx of ITEMS.
GET /v1/companies/{company}/eventspublic-api.v1.events.listlist_eventsThe expense of an expense event (data.object) carries operation_class_source and lines[].fixed_asset.
GET /v1/companies/{company}/events/{event}public-api.v1.events.showget_eventThe same two keys in the expense of the event.
GET /v1/companies/{company}/webhook-endpoints/{webhook_endpoint}/deliveriespublic-api.v1.webhook_endpoints.deliveries.listlist_webhook_deliveriesThe same two keys in the expense that the event of a delivery carries.
GET /v1/companies/{company}/webhook-endpoints/{webhook_endpoint}/deliveries/{delivery}public-api.v1.webhook_endpoints.deliveries.showget_webhook_deliveryThe same two keys in the expense that the event of the delivery carries.

What to check in your integration

  • Expenses created without operation_class. They no longer come out as corriente when the supplier is from the EU with a VAT number or from outside the EU, and their input VAT can be reported in other boxes of the Modelo 303. Read operation_class_source to know where the class came from, and send operation_class yourself if your integration needs a fixed value.
  • New keys. operation_class_source and lines[].fixed_asset are in every expense, also in the data.object of events and webhook deliveries, archived_at is in every category and totals.baseInversion and totals.cuotaInversion are in the preview of the Modelo 303. They are additive and do not change the webhook payload version. Make sure your client accepts keys it does not know.
  • The new 422. Handle purchase_invoice_has_declared_fixed_asset_quotas when you delete, cancel or return an expense to draft, or send it without a line that holds an asset, and expense_category_archived when you assign a category. Show your user the message.
  • A retryable 409. The update of an expense and the marking of a quarter can answer 409 resource_conflict when another request was reserving identifiers of the same kind at that moment. Nothing was written: send the request again after a few seconds.
  • line_index. If you mark the field that failed in a form, use line_index with param to find the line of an asset. An error without param is about the whole block.
  • Irreversible tools. dispose_fixed_asset and delete_fixed_asset need an idempotency_key, and a client that asks for confirmation before irreversible tools will ask for these two.
  • Excel files. Reading the sales invoices file by position keeps working, because the new columns come last. If you parsed the amounts of ITEMS as text, they are numbers now in xlsx. The expenses file changes its columns, so read it by header.
  • Figures of the Modelo 130 and 303. A company with fixed assets gets a different [02] in the 130 and a different distribution between [28], [29], [30] and [31] in the 303. Two warning codes are new, quarter_already_filed and investment_line_not_interior: treat the codes you do not know as the corresponding entry of warnings.
  • SDKs and CLI. They pin their own generated copy of the contract. Check the version you have installed before relying on the typed operations of this page; the JSON always carries the new keys.

New endpoints15

EndpointDescription
POST/v1/companies/{company}/purchase-invoices/expense-categoriesCreate an expense category
PATCH/v1/companies/{company}/purchase-invoices/expense-categories/{expense_category}Rename an expense category
POST/v1/companies/{company}/purchase-invoices/expense-categories/{expense_category}/archiveArchive an expense category
POST/v1/companies/{company}/purchase-invoices/expense-categories/{expense_category}/restoreRestore an expense category
GET/v1/companies/{company}/fixed-assetsList fixed assets
POST/v1/companies/{company}/fixed-assetsCreate a fixed asset
GET/v1/companies/{company}/fixed-assets/{fixed_asset}Retrieve a fixed asset
PATCH/v1/companies/{company}/fixed-assets/{fixed_asset}Update a fixed asset
POST/v1/companies/{company}/fixed-assets/{fixed_asset}/disposeDispose of a fixed asset
DEL/v1/companies/{company}/fixed-assets/{fixed_asset}Delete a fixed asset
POST/v1/companies/{company}/tax-reports/130/filingMark a Modelo 130 quarter as filed
POST/v1/companies/{company}/tax-reports/130/filing/reopenReopen a filed Modelo 130 quarter
GET/v1/companies/{company}/tax-reports/filingsList the filing marks of the Modelo 130
GET/v1/companies/{company}/vat-registers/{book}/summaryRetrieve a VAT register summary
POST/v1/companies/{company}/vat-registers/{book}/exportExport the VAT registers

Updated endpoints16

EndpointDescription
POST/v1/companies/{company}/purchase-invoicesCreate an expense
PATCH/v1/companies/{company}/purchase-invoices/{purchase_invoice}Update an expense
GET/v1/companies/{company}/purchase-invoices/{purchase_invoice}Retrieve an expense
POST/v1/companies/{company}/purchase-invoices/{purchase_invoice}/attach-fileAttach a file to an expense
POST/v1/companies/{company}/purchase-invoices/{purchase_invoice}/mark-paidMark expense as paid
POST/v1/companies/{company}/purchase-invoices/find-by-external-idFind an expense by external ID
GET/v1/companies/{company}/purchase-invoices/pendingList pending expenses
GET/v1/companies/{company}/purchase-invoices/overdueList overdue expenses
GET/v1/companies/{company}/purchase-invoicesList all expenses
GET/v1/companies/{company}/purchase-invoices/expense-categoriesList expense categories
POST/v1/companies/{company}/tax-reports/previewPreview a tax report
POST/v1/companies/{company}/invoices/export/excelExport invoices to a spreadsheet
GET/v1/companies/{company}/eventsList all events
GET/v1/companies/{company}/events/{event}Retrieve an event
GET/v1/companies/{company}/webhook-endpoints/{webhook_endpoint}/deliveriesList webhook deliveries
GET/v1/companies/{company}/webhook-endpoints/{webhook_endpoint}/deliveries/{delivery}Retrieve webhook delivery

On this page

Need a hand?Contact support