BillptGetSeries
Description
Section titled “Description”Gets the document series configured in Bill.pt. Useful for obtaining the series_id needed when creating tax documents.
Configuration
Section titled “Configuration”| Field | Type | Required | Description |
|---|---|---|---|
| credentials_id | credentials | Yes | Bill.pt credential |
| type | select | No | Filter by type: FT, FR, ORC, NC or all |
Credentials
Section titled “Credentials”This module requires a billpt type credential with the following fields:
- API Token: Bill.pt API access token
Output
Section titled “Output”{ "success": true, "series": [ { "id": 1, "name": "Serie A", "type": "FT" }, { "id": 2, "name": "Serie B", "type": "ORC" } ], "total": 2}GET /document-series - https://api.bill.pt
Usage Example
Section titled “Usage Example”Get all series
Section titled “Get all series”{}Filter series by invoice type
Section titled “Filter series by invoice type”{ "type": "FT"}- Series are configured in the Bill.pt dashboard
- Each series has an associated type (FT, FR, ORC, NC)
- The obtained
series_idis used when creating documents with BillptCreateDocument
Related Nodes
Section titled “Related Nodes”- BillptCreateDocument - Create tax document
- BillptGetDocuments - Get documents