Overriding tax on Sale Create

raresrares Posts: 4Member
Is this possible?

It appears that tax1Rate and taxCategoryID are writable api fields. 

If I set both I get:

{"httpCode":"400","httpMessage":"Bad Request","message":"Sale not Created. \\"tax1Rate\\" cannot be set on Create.","errorClass":"Exception"}

The docs aren't clear on this. Is it possible to override the tax category on a sale specifying a rate and category value or should it be just the rate?

Regards

1 comment

  • Michael CareyMichael Carey Posts: 48Administrator, Lightspeed Staff moderator
    Hello,

    It is possible to change the tax on the sale however you cannot set the taxRate directly. You can only set the taxCategoryID and the rates are defined in the tax category. 

    You can create new taxCategories to set different tax rates if necessary.
    Michael Carey
    API Integrations Specialist
    Lightspeed HQ
Sign In or Register to comment.