# Add a fixed asset without an invoice

`POST https://api.fiscalisto.com/v1/accounting/fixed_assets`

One you bought before using Fiscalisto or whose invoice isn't here. It depreciates every month from the one after in_use_since, in the accounting and in the ISR calculation. Its cost doesn't go into the books on its own: it goes in the opening balances or in a journal entry (POST /v1/accounting/manual_entries).

## Parameters

| Name | In | Required | Description |
| --- | --- | --- | --- |
| `Idempotency-Key` | header |  | Optional (the SDKs send it on their own). If the response is lost, repeat the request with the same value within 24 hours: it answers the same, with idempotent-replayed: true, and doesn't do it twice (it doesn't create, send emails or charge). |

## Body

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `issuer` | string |  | The issuer (iss_…). By default, your only issuer. |
| `description` | string | yes | What it is. (up to 120 characters) |
| `cfdi_use` | `I01`, `I02`, `I03`, `I04`, `I05`, `I06`, `I07`, `I08` | yes | The asset type by its CFDI use: I01 buildings, I02 furniture, I03 transport, I04 computers, I05 dies and molds, I06 telephony, I07 satellite, I08 other machinery. It gives its depreciation rate. |
| `cost` | number | yes | The original amount without VAT. (greater than 0 and up to 1000000000000) |
| `acquired_on` | string | yes | The purchase date. |
| `in_use_since` | string or null |  | Since when it's used (it depreciates from the following month); by default, the purchase date. |

Example:

```json
{
  "description": "Camioneta de reparto",
  "cfdi_use": "I03",
  "cost": 120000,
  "acquired_on": "2026-01-15"
}
```

## With the TypeScript SDK

```ts
import { Fiscalisto } from "fiscalisto";

// La llave viene de FISCALISTO_API_KEY.
const fiscalisto = new Fiscalisto();

const fixedAsset = await fiscalisto.fixedAssets.create({
  description: "Camioneta de reparto",
  cfdi_use: "I03",
  cost: 120000,
  acquired_on: "2026-01-15",
}, { idempotencyKey: "pedido-A-1042" });
```

## With the Python SDK

```python
from fiscalisto import Fiscalisto

# La llave viene de FISCALISTO_API_KEY.
fiscalisto = Fiscalisto()

fixed_asset = fiscalisto.fixed_assets.create({
    "description": "Camioneta de reparto",
    "cfdi_use": "I03",
    "cost": 120000,
    "acquired_on": "2026-01-15",
}, idempotency_key="pedido-A-1042")
```

## With the PHP SDK

```php
<?php

use Fiscalisto\Fiscalisto;

// La llave viene de FISCALISTO_API_KEY.
$fiscalisto = new Fiscalisto();

$fixedAsset = $fiscalisto->fixedAssets->create([
    'description' => 'Camioneta de reparto',
    'cfdi_use' => 'I03',
    'cost' => 120000,
    'acquired_on' => '2026-01-15',
], ['idempotency_key' => 'pedido-A-1042']);
```

## With the .NET SDK

```csharp
using Fiscalisto;

// La llave viene de FISCALISTO_API_KEY.
var fiscalisto = new FiscalistoClient();

var fixedAsset = await fiscalisto.FixedAssets.CreateAsync(new CreateFixedAssetParams
{
    Description = "Camioneta de reparto",
    CfdiUse = "I03",
    Cost = 120000,
    AcquiredOn = "2026-01-15",
}, new RequestOptions { IdempotencyKey = "pedido-A-1042" });
```

## With the Go SDK

```go
package main

import (
	"context"
	"fmt"
	"log"

	fiscalisto "fiscalisto.com/go"
)

func main() {
	// La llave viene de FISCALISTO_API_KEY.
	client, err := fiscalisto.NewClient("")
	if err != nil {
		log.Fatal(err)
	}
	ctx := context.Background()

	fixedAsset, err := client.FixedAssets.Create(ctx, &fiscalisto.CreateFixedAssetParams{
		Description: "Camioneta de reparto",
		CFDIUse:     "I03",
		Cost:        120000,
		AcquiredOn:  "2026-01-15",
	}, fiscalisto.WithIdempotencyKey("pedido-A-1042"))
	if err != nil {
		log.Fatal(err)
	}
	fmt.Println(fixedAsset.ID)
}
```

## With the Java SDK

```java
import com.fiscalisto.FiscalistoClient;
import com.fiscalisto.RequestOptions;
import com.fiscalisto.model.CreateFixedAssetParams;

// La llave viene de FISCALISTO_API_KEY.
var fiscalisto = new FiscalistoClient();

var fixedAsset = fiscalisto.fixedAssets().create(new CreateFixedAssetParams()
        .setDescription("Camioneta de reparto")
        .setCfdiUse("I03")
        .setCost(120000)
        .setAcquiredOn("2026-01-15"), RequestOptions.idempotencyKey("pedido-A-1042"));
System.out.println(fixedAsset.getId());
```

## Response 201

OK.

A `FixedAsset` object:

| Field | Type | Always present | Description |
| --- | --- | --- | --- |
| `id` | string | yes | Object identifier, with its prefix (iss_, inv_, ret_, cus_, prd_, emp_, bat_, brn_, whs_, stm_, adj_, evt_, whe_). |
| `livemode` | boolean | yes | true in production (fk_live_ keys), false in test mode (fk_test_). Test objects aren't valid before the SAT. |
| `object` | `"fixed_asset"` | yes | What kind of object it is («invoice», «customer»…). |
| `issuer` | string | yes | The issuer. |
| `description` | string | yes | What it is: what was entered, or the CFDI's issuer. |
| `source` | `cfdi`, `manual` | yes | cfdi (it arrived with a received invoice with use I01 to I08) or manual (entered without an invoice). |
| `cfdi_use` | string | yes | Its type by CFDI use (I01 to I08), which gives its rate. |
| `class` | string | yes | Its type's name, for example «Equipo de cómputo». |
| `uuid` | string or null | yes | Its CFDI's UUID, or null if it was entered. |
| `in_use_since` | string | yes | From when it is used: it depreciates from the next month. |
| `cost` | number | yes | Its original amount without IVA. |
| `annual_rate` | number | yes | Its annual book depreciation rate (0.3 is 30%): the one in article 34 of the LISR or the one set with POST /v1/accounting/book_depreciation_rates. |
| `residual_rate` | number | yes | Its residual value as a fraction of the original amount; 0 by default. |
| `tax_annual_rate` | number | yes | The article 34 LISR rate, the one for its tax deduction. |
| `monthly_depreciation` | number | yes | What depreciates each month while it lasts. |
| `month` | string | yes | The month (YYYY-MM) whose close the figures are at. |
| `month_depreciation` | number | yes | What depreciated in that month. |
| `accumulated_depreciation` | number | yes | What has depreciated up to that month's close. |
| `book_value` | number | yes | Its book value: the original amount minus what has depreciated; 0 after its disposal. |
| `disposal` | object or null | yes | Its sale or write-off (date, reason sale or write_off, note), or null if it is still in use. |
| `disposal.date` | string | yes | The day of the sale or disposal. |
| `disposal.reason` | `sale`, `write_off` | yes | sale or write_off (theft, loss, scrapping). |
| `disposal.note` | string or null | yes | The note left, or null. |

```json
{
  "id": "fxa_OufpKqnrvx9p3",
  "object": "fixed_asset",
  "livemode": false,
  "issuer": "iss_OufpKqnrvx9p",
  "description": "Camioneta de reparto",
  "source": "manual",
  "cfdi_use": "I03",
  "class": "Equipo de transporte",
  "uuid": null,
  "in_use_since": "2026-01-15",
  "cost": 120000,
  "annual_rate": 0.25,
  "residual_rate": 0,
  "tax_annual_rate": 0.25,
  "monthly_depreciation": 2500,
  "month": "2026-10",
  "month_depreciation": 2500,
  "accumulated_depreciation": 22500,
  "book_value": 97500,
  "disposal": null
}
```

## Errors

- `feature_not_in_plan` (403): Live, this part of the API (inventario, portal de proveedores, pedidos, comprobación de gastos) follows the empresa's plan, as in the app: it comes with Operaciones (added to any paid plan; included in Corporativo). The books (the /v1/accounting routes except DIOT, cross checks, IVA refunds and fixed assets) come with Contabilidad (added to Independiente, Emprendedor or Negocio; included in Despacho and Corporativo): without it, changing the books answers this error, and reading them works only up to the last month it had it. Add either in Ajustes › Plan y pagos; test mode has everything.
- `issuer_archived` (400): The issuer is archived and no longer stamps. Its documents can still be read and canceled.
- `issuer_linked_empresa` (403): That issuer is an empresa of the app connected to your account: through the API it only offers its Portal de proveedores (/v1/portal_suppliers and /v1/supplier_invoices) and, once someone who may pay suppliers and change Configurar pagos turned them on, its supplier payouts (/v1/payouts and /v1/payroll_payouts). It also stops when whoever connected it (or turned its payouts on) no longer has that permission in the empresa: message_es says which. Do everything else in the app.
- `issuer_missing` (404): There is no such issuer in the account (or it belongs to the other mode).
- `issuer_not_allowed` (403): This key can't use that issuer.
- `issuer_required` (400): The account has several issuers and the request doesn't say which: send `issuer` (iss_…).
- `livemode_mismatch` (400): The object belongs to the other mode: an fk_test_ key only sees test data and an fk_live_ key only live data.

Plus those of any call (key, fields, limits): https://fiscalisto.com/en/docs/api/errores.md.
