Pagination - Taxes

Overview

When retrieving tax data through the Venddor API, you can control how many results are returned and which page of results to display using pagination parameters.

Base URL: https://www.venddor.com.br/api

Pagination Parameters

Add these parameters to your API requests to control the pagination of tax data:

Parameter Description
page Specifies which page of tax records to display. Pages are numbered starting from 1.
items_per_page Controls how many tax records are included on each page. Default value is 10.
Tip: Pagination is especially important when working with tax data, as tax databases can be quite large depending on jurisdictions and tax types.

Examples

GET /api/taxes?page=5

This request will return 10 tax records from the 5th page.

Since items_per_page is not specified, the default value of 10 is used.

GET /api/taxes?items_per_page=20

This request will return 20 tax records from the first page.

Since page is not specified, the default value of 1 is used.

GET /api/taxes?page=5&items_per_page=20

This request will return 20 tax records from the 5th page.

Both pagination parameters are specified, giving you complete control over the results.

Response Format

The API will return a JSON array containing tax objects based on your pagination parameters. Each tax object will include details like tax rate, jurisdiction, tax type, and applicable conditions.

Important: Tax data should always be verified with appropriate financial or legal authorities. The API provides access to tax data as stored in the system, but tax regulations change frequently and may vary by location.