SpecialTaxableEvent enum represents special fiscal treatment codes for invoice line items. These codes indicate whether an operation is taxable, exempt, or not subject to tax.
Enum Cases
| Case | Code | Spanish Name | Description |
|---|---|---|---|
Taxable | 01 | Operación sujeta y no exenta | Taxable operation (not exempt) |
Exempt | 02 | Operación exenta | Tax-exempt operation |
NotSubject | 03 | Operación no sujeta | Operation not subject to tax |
Event Details
Taxable (01)
Taxable operations are the default for most commercial transactions. The operation is subject to tax and not exempt. Characteristics:- Standard tax applies (IVA, IGIC, etc.)
- Tax calculated and charged normally
- Most common scenario
- Full tax collection
- Regular commercial sales
- Standard services
- Most B2B and B2C transactions
- Default for most line items
Exempt (02)
Exempt operations are subject to the tax system but specifically exempt from taxation under Spanish law. Characteristics:- Subject to tax rules but no tax charged
- Legal exemption applies
- Must document exemption reason
- Still tracked for tax reporting
- Educational services
- Healthcare services
- Financial services
- Insurance operations
- Certain exports
- Cultural activities
- Goods/services with legal tax exemption
NotSubject (03)
Not subject operations fall outside the scope of the tax system entirely. Characteristics:- Outside tax jurisdiction
- Not covered by tax law
- No tax reporting required
- Different from exempt
- Operations outside Spain’s tax territory
- Transactions between non-Spanish entities
- Activities outside commercial scope
- Certain intra-EU transactions
- Reverse charge situations
Usage Examples
Standard Taxable Operation
Tax-Exempt Operation
Not Subject Operation
Mixed Invoice with Different Events
Common Exempt Operations
Healthcare
Education
Financial Services
Common Not Subject Operations
Intra-EU B2B (Reverse Charge)
Export Outside EU
Decision Tree
Use this guide to choose the right special taxable event:Tax Rate Implications
| Event | Tax Rate | Tax Charged |
|---|---|---|
| Taxable | Standard rate (21%, 10%, 4%) | Yes |
| Exempt | 0% | No |
| NotSubject | 0% | No |
Documentation Requirements
For Exempt Operations
- Document legal basis for exemption
- Reference applicable law article
- Keep supporting documentation
- Include in additional information field
For Not Subject Operations
- Explain why not subject
- Document reverse charge if applicable
- Keep proof of customer location
- Include relevant legal references
Common Mistakes
Using Exempt Instead of NotSubject
Forgetting to Set Special Event
Validation Rules
Taxableoperations must have tax rate > 0Exemptoperations should have tax rate = 0NotSubjectoperations should have tax rate = 0- Special events must match the tax treatment
- Supporting documentation recommended for Exempt and NotSubject
Notes
- Default is
Taxablefor most operations - Always document exemptions and not-subject reasons
- Consult tax advisor for complex situations
- Rules vary by country and transaction type
- Keep updated with Spanish tax law changes
- Different rules apply for B2B vs B2C
See Also
- Tax - Tax type codes
- Invoice::addItem() - Adding line items
- InvoiceItem - Line item configuration