Skip to content

BillptCreateReceipt

Creates a payment receipt for an invoice in Bill.pt. Allows registering full or partial payments for tax documents.

FieldTypeRequiredDescription
credentials_idcredentialsYesBill.pt credential
document_idtextYesID of the invoice to pay
amountnumberNoPayment amount (empty = invoice total)
payment_methodtextNoPayment method
datetextNoDate YYYY-MM-DD (default: today)
observationstextareaNoObservations

This module requires a billpt type credential with the following fields:

  • API Token: Bill.pt API access token
{
"success": true,
"receipt": { ... },
"receipt_id": 321,
"message": "Recibo creado para documento 789"
}

POST /receipts - https://api.bill.pt

{
"document_id": "789",
"amount": 50.00,
"payment_method": "bank_transfer",
"date": "2025-01-20",
"observations": "Pago parcial por transferencia"
}
  • If amount is not specified, the payment is registered for the invoice total
  • The document_id must correspond to an existing invoice
  • Multiple partial receipts can be created for the same invoice
  • The default date is the current date