VAT rates

API calls

Endpoint: /vat-rates


Endpoint Method Payload
/vat-rates GET
/vat-rates/:rate GET
/vat-rates POST rate payload
/vat-rates/:rate PUT update rate payload
/vat-rates/:rate DELETE



VAT rate payload
{
    name*,
    percentage*: num,
    type_id: (vat_rate_types/id)**,
    transaction_type_id: (vat_rate_transaction_types/id)**,
    is_preferred: int
}

*required
** must exist in table/column

Update VAT rate payload
{
    name,
    percentage: num
}

*required

© 2020 Daalder. All rights reserved.