HTTP Operation Type Object
Query taxTreatments

Description

Used to define tax codes that associate the type of operation (such as purchasing goods, purchasing services, selling goods, etc.) with general tax accounts.
This association simplifies the entry of sales or purchase records within the accounting system.

For example, when entering a sales invoice, if the net sales account is linked to a tax code, the associated tax account will be automatically proposed.
The calculation of the net and VAT will be automatic according to the percentage of the tax.

img

Key Value
Authorization Bearer Current access Token How to find?
X-TenantId Current tenant id How to find?
X-OrganizationId Current organization Id How to find?
x-api-key Primary or secondary subscription key of your app How to find?

taxTreatments

Fields Type Description
id UUID Id
creationDate DateTime Creation Date
modificationDate DateTime Modification Date
     
description String
  • Tax Treatment of type Sales (registerType = ISSUED)
  • Tax Treatment of type Purchase (registerType = RECEIVED)
inactive Boolean Deactivated
registerType
  • UNDEFINED
  • ISSUED
  • RECEIVED
  • BOTH
Taxable event
isIntracommunity Boolean Intra
     
taxGroup Tax Group Fields of Tax Group
taxGroupId UUID Tax Group ID
     
taxCode String Tax Code
taxType
  • NOT_SPECIFIED
  • IVA
  • IGIC
  • IPSI
  • FOREIGN
  • TVA
  • DOM
  • UST
  • IRPF
Tax Type
inputAccountingAccount[] Array Input account
outputAccountingAccount[] Array Output account

taxTreatments/inputAccountingAccount

Fields Type Description Length
code String Code account 13
name String Name account 100

taxTreatments/outputAccountingAccount

Fields Type Description Length
code String Code account 13
name String Name account 100