BillptCreateReceipt
Description
Section titled “Description”Creates a payment receipt for an invoice in Bill.pt. Allows registering full or partial payments for tax documents.
Configuration
Section titled “Configuration”| Field | Type | Required | Description |
|---|---|---|---|
| credentials_id | credentials | Yes | Bill.pt credential |
| document_id | text | Yes | ID of the invoice to pay |
| amount | number | No | Payment amount (empty = invoice total) |
| payment_method | text | No | Payment method |
| date | text | No | Date YYYY-MM-DD (default: today) |
| observations | textarea | No | Observations |
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, "receipt": { ... }, "receipt_id": 321, "message": "Recibo creado para documento 789"}POST /receipts - https://api.bill.pt
Usage Example
Section titled “Usage Example”{ "document_id": "789", "amount": 50.00, "payment_method": "bank_transfer", "date": "2025-01-20", "observations": "Pago parcial por transferencia"}- If
amountis not specified, the payment is registered for the invoice total - The
document_idmust correspond to an existing invoice - Multiple partial receipts can be created for the same invoice
- The default date is the current date
Related Nodes
Section titled “Related Nodes”- BillptGetDocuments - Get documents/invoices
- BillptCreateDocument - Create tax document
- BillptSendDocumentEmail - Send document by email