Financeiro › Faturas
Alterar
put/invoices/{id}
Request
- Base URL: https://api.apresenta.me
- URL: https://api.apresenta.me/invoices/{id}
- Auth: HTTP bearer
Request body
Example request
{
"type": "single",
"payer_id": 1,
"contract_id": 2,
"business_id": 3,
"account_id": 4,
"billing_id": 5,
"billing_method": "pix",
"paid_at": "2024-01-01",
"credit_at": "2024-01-02",
"payment_error": true,
"description": "Fatura X",
"total": 1200,
"date": "2024-01-01",
"due_date": "2024-01-10",
"guaranteed_transfer": true,
"period_initial": "2024-01-01",
"period_final": "2024-01-31",
"tag": [
123,
456,
789
],
"ticket_date": "2024-01-01 00:00:00",
"ticket_key": "abc123",
"ticket_id": 1,
"ticket_fee": "12.0",
"ticket_link": "https://api.pjbank.com.br/boletos/823a8ee8043b3a96e2df963bead9gg63e5ea16c1",
"ticket_barcode": "12395828200001760000010003821587100516853008",
"ticket_info": "Este boleto...",
"ticket_digitable": "12390.01007 03821.587106 05168.530086 5 82820000176000",
"ticket_late_fee": true,
"ticket_late_fee_item_id": 1,
"ticket_late_fee_percentage": 12,
"ticket_late_fee_interest": 13,
"ticket_discount": true,
"ticket_discount_mode": "percentage",
"ticket_discount_fixed": "123.20",
"ticket_discount_percentage": "10",
"ticket_discount_action": "business",
"ticket_discount_days": 12,
"protest": "{\"status\":\"PENDING\"}"
}Changes
No recorded changes to this operation across all 1 revision of this API.