VAT lines of one entity, as rows of a versioned analytics view.
Changed onJournal lines that carry a tax code, with the taxable base (tax_base_amount). Amounts in *_base columns are in the entity's base currency (base_currency). Rows are keyset-paged on row_id (up to 1000 per page): pass page.next_cursor back as cursor while page.has_more is true; reading every page returns exactly row_count rows. Decimals are decimal strings. Also served as an OData v4 feed at /api/v1/finance/odata/{entity_id}/ (entity set VatLines) for Excel, Power BI and any OData client: HTTP Basic with any user name and the API key as the password, or a Bearer token. Answers 403 finance_feature_off until the BI feed is switched on.
The GET form of finance_bi_vat_lines: the same arguments as query parameters.
Request
- Base URLhttps://app.magistry.io
- Auth
- HTTP bearer
- or OAuth 2Authorization codehttps://app.magistry.io/api/oauth/authorizeToken URLhttps://app.magistry.io/api/oauth/tokenScopesfinance:read
Query parameters
The entity, one of those this app was granted (GET /api/v1/finance/entities lists them). In a GET query string entity is accepted too.
The next_cursor of the previous page. Opaque.
Rows per page.
Also return row_count, count(*) of the view for this entity.
Alias of entity_id; give one of the two.
Response
Result
Changes
- warning
added the new
method_not_allowedenum value to theerrorresponse property for the response status - warning
added the new
method_not_allowedenum value to theerrorresponse property for the response status - warning
added the new
method_not_allowedenum value to theerrorresponse property for the response status
11 more changes in this revision
- warning