Overview
This section contains endpoints for billing finance data in the accounts payable module.Billing Finance View
GET /api/accounts-payable/billing/finance/view
Retrieves the billing finance view grid data. This endpoint provides a comprehensive view of billing finance information.Authentication
This endpoint requires authentication. Include a valid bearer token in the Authorization header.Query Parameters
Filter type for date range:
1- Previous day2- Previous month3- Current month4- Last year5- Full month by year (requires Month and Year parameters)6- Custom7- All records
Specific month to search. Valid values: 1-12. Required when TypeFilter is 5.
Specific year to search. Valid values from previous year onwards. Required when TypeFilter is 5.
Page number, starting from 1.
Number of records to retrieve per page.
Example Request
Billing Finance Purchase Orders
GET /api/accounts-payable/billing/finance/order-purchase
Retrieves the billing finance view for purchase orders (órdenes de compra). This endpoint provides financial information related to purchase orders.Authentication
This endpoint requires authentication. Include a valid bearer token in the Authorization header.Query Parameters
Filter type for date range:
1- Previous day2- Previous month3- Current month4- Last year5- Full month by year (requires Month and Year parameters)6- Custom7- All records
Specific month to search. Valid values: 1-12. Required when TypeFilter is 5.
Specific year to search. Valid values from previous year onwards. Required when TypeFilter is 5.
Page number, starting from 1.
Number of records to retrieve per page.
Example Request
Common Response Schema
Both endpoints return aResultDataGridModel object with the following structure:
Current page number
Name of the grid
Unique identifier for the grid
Number of records returned in current response
Total number of pages available
Total number of records available
Contains the actual grid data
Common Response Codes
200- Success401- Unauthorized - Authentication token is missing or invalid500- Internal Server Error