### Example POST Request for Creating Receipts Source: https://documenter.getpostman.com/view/16327979/UUy1eSan#intro Example of how to make a POST request to create receipts in the test environment using v2. ```http POST https://test.biller.uy/v2/comprobantes/crear ``` -------------------------------- ### Get Comprobante PDF Source: https://documenter.getpostman.com/view/16327979/UUy1eSan#intro Retrieve the PDF version of an already issued financial document. ```APIDOC ## GET /v2/comprobantes/{id}/pdf ### Description Retrieves the PDF of an issued financial document. ### Method GET ### Endpoint https://{ambiente}.biller.uy/v2/comprobantes/{id}/pdf ### Parameters #### Path Parameters - **id** (string) - Required - The ID of the comprobante to retrieve the PDF for. ### Request Example ```json { "example": "request body" } ``` ### Response #### Success Response (200) - **pdf_content** (string) - The PDF content of the comprobante. #### Response Example ```json { "example": "response body" } ``` ``` -------------------------------- ### Create Comprobante Source: https://documenter.getpostman.com/view/16327979/UUy1eSan#intro This endpoint allows you to create a new financial document (comprobante). Ensure you have a valid Bearer Token for authentication. ```APIDOC ## POST /v2/comprobantes/crear ### Description Allows the creation of financial documents (comprobantes). ### Method POST ### Endpoint https://{ambiente}.biller.uy/v2/comprobantes/crear ### Parameters #### Request Body - **field1** (type) - Required/Optional - Description ### Request Example ```json { "example": "request body" } ``` ### Response #### Success Response (200) - **field1** (type) - Description #### Response Example ```json { "example": "response body" } ``` ``` -------------------------------- ### Token Generation URLs Source: https://documenter.getpostman.com/view/16327979/UUy1eSan#intro URLs for generating authentication tokens in testing and production environments. ```plaintext https://test.biller.uy/api/tokens ``` ```plaintext https://biller.uy/api/tokens ``` -------------------------------- ### HTTP Headers for Authentication Source: https://documenter.getpostman.com/view/16327979/UUy1eSan#intro Required HTTP headers for API authentication using a Bearer Token. ```plaintext Authorization: Bearer su-token-aqui Content-Type: application/json ``` -------------------------------- ### Generate Bearer Token Source: https://documenter.getpostman.com/view/16327979/UUy1eSan#intro Obtain a Bearer Token for authenticating API requests. This token is unique to each company. ```APIDOC ## POST /api/tokens ### Description Generates a Bearer Token for API authentication. This token is associated with a specific company. ### Method POST ### Endpoint https://{ambiente}.biller.uy/api/tokens ### Parameters #### Request Body - **username** (string) - Required - The username for authentication. - **password** (string) - Required - The password for authentication. ### Request Example ```json { "username": "your_username", "password": "your_password" } ``` ### Response #### Success Response (200) - **token** (string) - The generated Bearer Token. #### Response Example ```json { "token": "your-bearer-token-here" } ``` ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.