Skip to main content

Overview

Nocotax provides flexible tax management for invoices, allowing you to either let the system automatically calculate taxes based on registrations and rules, or manually specify tax amounts for complete control. Proper tax configuration ensures:
  • Compliance with local tax regulations
  • Accurate tax collection and reporting
  • Correct input tax recovery on purchases
  • Simplified tax filing and reconciliation

Tax calculation approaches

Nocotax supports two approaches to tax calculation on invoices:

Automatic tax calculation

The system automatically determines applicable tax rates and calculates tax amounts based on:
  • Your tax registrations
  • Customer/supplier tax registrations
  • Transaction type (B2B vs B2C)
  • Product tax codes
  • Applicable tax rules
When to use: Most scenarios, especially for platforms selling across multiple jurisdictions.

Manual tax calculation

You specify exact tax amounts for each line item, overriding automatic calculation. When to use: Special cases, legacy data migration, or when you have custom tax calculation logic.

Automatic tax calculation

Enable automatic tax calculation when creating an invoice:

How automatic calculation works

When automatic_tax_calculation.enabled: true, Nocotax:
  1. Identifies the tax jurisdiction: Based on supplier and customer locations
  2. Determines tax registration status: Checks if you’re registered where tax applies
  3. Applies tax rules: Uses B2B vs B2C rules, reverse charge, exemptions, etc.
  4. Calculates rates: Applies the correct tax rate for each line item
  5. Computes totals: Calculates line-level and invoice-level tax amounts

Tax codes

Tax codes categorize your products or services for tax purposes. They help Nocotax apply the correct tax treatment:
Tax codes are optional when automatic calculation is enabled. If omitted, Nocotax uses the default tax treatment for your business type (digital goods)

Tax determination factors

Automatic tax calculation considers multiple factors:

1. Supplier tax registrations

Your tax registrations determine where you can charge tax:
See Tax Registrations Configuration for setup details.

2. Customer tax registrations

Customer tax status affects tax treatment:

3. Transaction location

Where the transaction is deemed to take place:
  • Goods: Usually where goods are delivered
  • Services: Depends on service type and recipient location
  • Digital services: Customer’s location

4. Product type

Different products may have different tax rates:
  • Standard rate (e.g., 20% in France)
  • Reduced rate (e.g., 5.5% for books in France)
  • Super-reduced rate (e.g., 2.1% for essentials in Spain)
  • Zero rate
  • Exempt

Result of automatic calculation

After automatic calculation, the invoice contains calculated tax data:
In this example, the invoice is for €99.00 excluding tax: the 20% VAT is €19.80 and the total is €118.80. All totals are integers in the smallest currency unit.

Default vs explicit tax registration numbers

When creating invoices, you can control which tax registration numbers appear on the invoice.

Default behavior

By default, Nocotax automatically selects the appropriate tax registration number for each organization based on the transaction:
How default selection works: For the supplier (seller):
  • Nocotax uses the tax registration relevant to the transaction jurisdiction
  • If you have multiple registrations (e.g., standard + OSS), the most appropriate one is selected
  • Example: Selling to a German customer, your German VAT number or EU OSS number is used
For the customer (buyer):
  • If the customer has a tax registration in the transaction jurisdiction, it’s included
  • For B2B transactions, the customer’s VAT number is validated and included
  • For B2C transactions, no customer tax number is required

Explicit tax registration numbers

You can override the default behavior and explicitly specify which tax registration numbers to use:
When to use explicit IDs:
  • You have multiple registrations and need to specify which one to use
  • Testing specific tax scenarios
  • Ensuring a particular registration appears on the invoice
  • Handling edge cases with complex tax setups
Explicitly setting incorrect tax registration IDs can result in wrong tax calculations. Use the default behavior unless you have a specific reason to override.

Example: Multiple registrations

If your platform has both a standard and an OSS registration in the EU: Default: Nocotax picks the best registration (German standard VAT or EU OSS):
Explicit: force the use of the OSS registration:

Manual tax calculation

For complete control over tax amounts, disable automatic calculation and specify tax manually:
The first item carries 20% VAT (€20.00) and the second has no taxes, so no tax applies on that line. The invoice totals are total_extratax_amount: 20000 (€200.00), total_tax_amount: 2000 (€20.00) and total_tax_included_amount: 22000 (€220.00), as integers in the smallest currency unit.

When to use manual tax

Valid use cases:
  • Importing historical invoices with known tax amounts
  • Handling unusual tax situations not covered by rules
  • Applying custom tax calculations from external systems
  • Zero-rating or exempting specific transactions manually
Risks and considerations:
  • You’re responsible for tax accuracy
  • No automatic compliance with tax rules
  • Requires careful manual review
  • May complicate tax reporting
Manual tax calculation bypasses Nocotax’s compliance features. Use automatic calculation whenever possible to ensure accuracy and compliance.

Mixed manual and automatic

You cannot mix manual and automatic calculation within a single invoice. Each invoice must use one approach consistently:

Tax on different invoice flows

Tax treatment varies by invoice flow:

Sales invoices (output tax)

Tax you charge to customers on sales:
The supplier is your own organization by default: you charge the tax.
  • You collect tax from customers
  • Tax increases the invoice total
  • You must remit collected tax to authorities
  • Reported on your VAT return as “output tax” or “sales tax”

Purchase invoices (input tax)

Tax charged to you on purchases:
The customer is your own organization by default: you are charged the tax.
  • Supplier charges you tax
  • Tax increases what you pay
  • You may be able to reclaim this tax (input tax deduction)
  • Reported on your VAT return as “input tax”

Registration warnings

If you’re selling without proper registrations:
If you are not registered for tax in Germany, Nocotax may:
  • Show a warning about the missing registration
  • Apply your home country rate (if under thresholds)
  • Suggest registering for tax in Germany

Best practices

Unless you have a specific reason to manually control tax, enable automatic calculation. It ensures:
  • Accurate rates based on current tax rules
  • Proper B2B vs B2C treatment
  • Correct reverse charge application
  • Up-to-date compliance
While optional, providing a tax code improves calculation accuracy. A tax code is a class letter followed by 8 digits: D (digital goods), P (physical goods), S (services) or L (localizable services). The default codes are D10000000, S10000000, P10000000 and L10000000. A more specific code falls back to the default of its class when no dedicated rate exists.
Ensure your tax registrations in Nocotax match your actual registrations with tax authorities. Update them immediately when:
  • You register in a new jurisdiction
  • Registration numbers change
  • Registration types change (e.g., standard to OSS)
For B2B sales, ensure customers provide valid tax registration numbers. Invalid numbers can result in:
  • Incorrect reverse charge application
  • Charging VAT when not required
  • Compliance issues during audits
Let Nocotax automatically select the appropriate tax registration numbers unless you have a specific reason to override. The default behavior is designed to ensure compliance.

Frequently Asked Questions

No, the tax calculation method is locked. You would need to create a new invoice with the desired method if you need to change this behaviour.
If you enable automatic calculation but don’t specify tax codes, Nocotax uses default tax treatment based on your business type and applicable rules. For manual calculation, omitting tax amounts means zero tax.
Tax-exempt status is typically handled automatically when the customer has an appropriate tax registration number (e.g., charity VAT number). For special cases, you can use manual tax calculation with zero tax amounts.
Yes. Invoices with automatic calculation include a taxes field showing jurisdictions, rates, taxable amounts, and tax amounts. This provides transparency into the calculation.
First, verify your tax registrations, customer information, and tax codes are correct. If the calculation still seems wrong, contact support with details. You can temporarily use manual calculation as a workaround.
No. Default behavior is recommended—Nocotax automatically selects the appropriate tax registrations. Only specify explicitly when you have multiple registrations and need precise control.