| Attribute | Type | Default | Description |
|---|
| name | string | | Line item name |
| description | string | null | Line description |
| code | string | null | Internal/product code |
| quantity | number | | Quantity |
| amount | number | | Unit price |
| exempt | boolean | | Whether line is tax-exempt |
| tax | number | | Line tax total (auto-calculated) |
| tax_percent | number | | Line effective tax rate (auto-calculated) |
| total | number | | Line total (auto-calculated) |
| unit_code | string | | Measurement / unit code |
| tax_settings | object | | Country-specific line tax settings (e.g. BR br_cfop, br_ncm) |
| taxes | array of objects | | Detailed taxes for this line |
| created | datetime | | Creation timestamp (read-only) |
| updated | datetime | | Last update timestamp (read-only) |
| Attribute | Type | Default | Description |
|---|
| code | string | null | Tax code (icms, ipi, pis, cofins, etc) |
| name | string | null | Tax display name |
| rate | number | null | Tax rate (%) |
| base | number | null | Tax base amount |
| amount | number | null | Tax amount. If omitted, API computes from rate and base |
| include_in_total | boolean | true | If true, this tax contributes to line total |
| tax_settings | object | | Tax-specific config. Keys must start with country iso code br_, co_, cl_ or mx_ |