v1
latestOpenAPI 3.1.02026-07-261420929.5 KBReemitir Fatura Expirada
Reemissão de faturas com situação EXPIRADA e de Cobrança a Vista.
post/invoices/{id}/duplicate
Path parameters
idstring required
ID da fatura Expirada
Request body
due_datestring date
Nova data de vencimento no formato AAAA-MM-DD. Caso não seja informado a data do vencimento, ir assumir o vencimento em 5 dias
ignore_due_emailboolean
Ignora o envio do e-mail de cobrança da nova fatura.
ignore_canceled_emailboolean
Ignora o envio do e-mail de cancelamento da fatura atual.
current_fines_optionboolean
Caso true, aplica multas da fatura original à segunda via.
keep_early_payment_discountboolean
Caso true, copia os descontos de pagamento antecipado da fatura original para a 2ª via.
payable_withstring
Método de pagamento que será disponibilizado para esta Fatura ("all", "credit_card", "bank_slip" ou "pix"). Caso não seja enviado será assumido os métodos da fatura expirada.
Response
200
idstring
due_datestring
currencystring
{"stackTrail":"paths:/invoices/{id}/duplicate:post:responses:200:content:application/json:schema:properties:discount_cents","oasType":"schema","type":"unknown"}
emailstring
items_total_centsinteger
{"stackTrail":"paths:/invoices/{id}/duplicate:post:responses:200:content:application/json:schema:properties:notification_url","oasType":"schema","type":"unknown"}
{"stackTrail":"paths:/invoices/{id}/duplicate:post:responses:200:content:application/json:schema:properties:return_url","oasType":"schema","type":"unknown"}
statusstring
{"stackTrail":"paths:/invoices/{id}/duplicate:post:responses:200:content:application/json:schema:properties:tax_cents","oasType":"schema","type":"unknown"}
total_centsinteger
total_paid_centsinteger
{"stackTrail":"paths:/invoices/{id}/duplicate:post:responses:200:content:application/json:schema:properties:taxes_paid_cents","oasType":"schema","type":"unknown"}
{"stackTrail":"paths:/invoices/{id}/duplicate:post:responses:200:content:application/json:schema:properties:paid_at","oasType":"schema","type":"unknown"}
{"stackTrail":"paths:/invoices/{id}/duplicate:post:responses:200:content:application/json:schema:properties:paid_cents","oasType":"schema","type":"unknown"}
{"stackTrail":"paths:/invoices/{id}/duplicate:post:responses:200:content:application/json:schema:properties:cc_emails","oasType":"schema","type":"unknown"}
{"stackTrail":"paths:/invoices/{id}/duplicate:post:responses:200:content:application/json:schema:properties:financial_return_date","oasType":"schema","type":"unknown"}
payable_withstring
{"stackTrail":"paths:/invoices/{id}/duplicate:post:responses:200:content:application/json:schema:properties:overpaid_cents","oasType":"schema","type":"unknown"}
{"stackTrail":"paths:/invoices/{id}/duplicate:post:responses:200:content:application/json:schema:properties:ignore_due_email","oasType":"schema","type":"unknown"}
{"stackTrail":"paths:/invoices/{id}/duplicate:post:responses:200:content:application/json:schema:properties:ignore_canceled_email","oasType":"schema","type":"unknown"}
{"stackTrail":"paths:/invoices/{id}/duplicate:post:responses:200:content:application/json:schema:properties:advance_fee_cents","oasType":"schema","type":"unknown"}
{"stackTrail":"paths:/invoices/{id}/duplicate:post:responses:200:content:application/json:schema:properties:commission_cents","oasType":"schema","type":"unknown"}
early_payment_discountboolean
{"stackTrail":"paths:/invoices/{id}/duplicate:post:responses:200:content:application/json:schema:properties:order_id","oasType":"schema","type":"unknown"}
updated_atstring
{"stackTrail":"paths:/invoices/{id}/duplicate:post:responses:200:content:application/json:schema:properties:credit_card_brand","oasType":"schema","type":"unknown"}
{"stackTrail":"paths:/invoices/{id}/duplicate:post:responses:200:content:application/json:schema:properties:credit_card_bin","oasType":"schema","type":"unknown"}
{"stackTrail":"paths:/invoices/{id}/duplicate:post:responses:200:content:application/json:schema:properties:credit_card_last_4","oasType":"schema","type":"unknown"}
{"stackTrail":"paths:/invoices/{id}/duplicate:post:responses:200:content:application/json:schema:properties:credit_card_captured_at","oasType":"schema","type":"unknown"}
{"stackTrail":"paths:/invoices/{id}/duplicate:post:responses:200:content:application/json:schema:properties:credit_card_tid","oasType":"schema","type":"unknown"}
{"stackTrail":"paths:/invoices/{id}/duplicate:post:responses:200:content:application/json:schema:properties:external_reference","oasType":"schema","type":"unknown"}
{"stackTrail":"paths:/invoices/{id}/duplicate:post:responses:200:content:application/json:schema:properties:max_installments_value","oasType":"schema","type":"unknown"}
{"stackTrail":"paths:/invoices/{id}/duplicate:post:responses:200:content:application/json:schema:properties:payer_name","oasType":"schema","type":"unknown"}
{"stackTrail":"paths:/invoices/{id}/duplicate:post:responses:200:content:application/json:schema:properties:payer_email","oasType":"schema","type":"unknown"}
{"stackTrail":"paths:/invoices/{id}/duplicate:post:responses:200:content:application/json:schema:properties:payer_cpf_cnpj","oasType":"schema","type":"unknown"}
{"stackTrail":"paths:/invoices/{id}/duplicate:post:responses:200:content:application/json:schema:properties:payer_phone","oasType":"schema","type":"unknown"}
{"stackTrail":"paths:/invoices/{id}/duplicate:post:responses:200:content:application/json:schema:properties:payer_phone_prefix","oasType":"schema","type":"unknown"}
{"stackTrail":"paths:/invoices/{id}/duplicate:post:responses:200:content:application/json:schema:properties:payer_address_zip_code","oasType":"schema","type":"unknown"}
{"stackTrail":"paths:/invoices/{id}/duplicate:post:responses:200:content:application/json:schema:properties:payer_address_street","oasType":"schema","type":"unknown"}
{"stackTrail":"paths:/invoices/{id}/duplicate:post:responses:200:content:application/json:schema:properties:payer_address_district","oasType":"schema","type":"unknown"}
{"stackTrail":"paths:/invoices/{id}/duplicate:post:responses:200:content:application/json:schema:properties:payer_address_city","oasType":"schema","type":"unknown"}
{"stackTrail":"paths:/invoices/{id}/duplicate:post:responses:200:content:application/json:schema:properties:payer_address_state","oasType":"schema","type":"unknown"}
{"stackTrail":"paths:/invoices/{id}/duplicate:post:responses:200:content:application/json:schema:properties:payer_address_number","oasType":"schema","type":"unknown"}
{"stackTrail":"paths:/invoices/{id}/duplicate:post:responses:200:content:application/json:schema:properties:payer_address_complement","oasType":"schema","type":"unknown"}
{"stackTrail":"paths:/invoices/{id}/duplicate:post:responses:200:content:application/json:schema:properties:payer_address_country","oasType":"schema","type":"unknown"}
late_payment_fineinteger
{"stackTrail":"paths:/invoices/{id}/duplicate:post:responses:200:content:application/json:schema:properties:late_payment_fine_cents","oasType":"schema","type":"unknown"}
{"stackTrail":"paths:/invoices/{id}/duplicate:post:responses:200:content:application/json:schema:properties:split_id","oasType":"schema","type":"unknown"}
{"stackTrail":"paths:/invoices/{id}/duplicate:post:responses:200:content:application/json:schema:properties:external_payment_id","oasType":"schema","type":"unknown"}
{"stackTrail":"paths:/invoices/{id}/duplicate:post:responses:200:content:application/json:schema:properties:external_payment_description","oasType":"schema","type":"unknown"}
{"stackTrail":"paths:/invoices/{id}/duplicate:post:responses:200:content:application/json:schema:properties:payment_booklet_id","oasType":"schema","type":"unknown"}
{"stackTrail":"paths:/invoices/{id}/duplicate:post:responses:200:content:application/json:schema:properties:subscription_id","oasType":"schema","type":"unknown"}
variablesobject[]
custom_variablesobject[]
{"stackTrail":"paths:/invoices/{id}/duplicate:post:responses:200:content:application/json:schema:properties:credit_card_transaction","oasType":"schema","type":"unknown"}
account_idstring
bank_account_branchstring
bank_account_numberstring
account_namestring
secure_idstring
secure_urlstring
{"stackTrail":"paths:/invoices/{id}/duplicate:post:responses:200:content:application/json:schema:properties:customer_id","oasType":"schema","type":"unknown"}
{"stackTrail":"paths:/invoices/{id}/duplicate:post:responses:200:content:application/json:schema:properties:customer_ref","oasType":"schema","type":"unknown"}
{"stackTrail":"paths:/invoices/{id}/duplicate:post:responses:200:content:application/json:schema:properties:customer_name","oasType":"schema","type":"unknown"}
{"stackTrail":"paths:/invoices/{id}/duplicate:post:responses:200:content:application/json:schema:properties:user_id","oasType":"schema","type":"unknown"}
totalstring
taxes_paidstring
total_paidstring
total_overpaidstring
total_refundedstring
fine_centsinteger
commissionstring
fines_on_occurrence_daystring
total_on_occurrence_daystring
fines_on_occurrence_day_centsinteger
total_on_occurrence_day_centsinteger
refunded_centsinteger
remaining_captured_centsinteger
{"stackTrail":"paths:/invoices/{id}/duplicate:post:responses:200:content:application/json:schema:properties:advance_fee","oasType":"schema","type":"unknown"}
{"stackTrail":"paths:/invoices/{id}/duplicate:post:responses:200:content:application/json:schema:properties:estimated_advance_fee","oasType":"schema","type":"unknown"}
paidstring
{"stackTrail":"paths:/invoices/{id}/duplicate:post:responses:200:content:application/json:schema:properties:original_payment_id","oasType":"schema","type":"unknown"}
{"stackTrail":"paths:/invoices/{id}/duplicate:post:responses:200:content:application/json:schema:properties:double_payment_id","oasType":"schema","type":"unknown"}
per_day_interestboolean
{"stackTrail":"paths:/invoices/{id}/duplicate:post:responses:200:content:application/json:schema:properties:per_day_interest_value","oasType":"schema","type":"unknown"}
per_day_interest_centsinteger
{"stackTrail":"paths:/invoices/{id}/duplicate:post:responses:200:content:application/json:schema:properties:interest","oasType":"schema","type":"unknown"}
{"stackTrail":"paths:/invoices/{id}/duplicate:post:responses:200:content:application/json:schema:properties:discount","oasType":"schema","type":"unknown"}
{"stackTrail":"paths:/invoices/{id}/duplicate:post:responses:200:content:application/json:schema:properties:duplicated_invoice_id","oasType":"schema","type":"unknown"}
bank_slip_extra_dueinteger
created_atstring
created_at_isostring
{"stackTrail":"paths:/invoices/{id}/duplicate:post:responses:200:content:application/json:schema:properties:authorized_at","oasType":"schema","type":"unknown"}
{"stackTrail":"paths:/invoices/{id}/duplicate:post:responses:200:content:application/json:schema:properties:authorized_at_iso","oasType":"schema","type":"unknown"}
{"stackTrail":"paths:/invoices/{id}/duplicate:post:responses:200:content:application/json:schema:properties:expired_at","oasType":"schema","type":"unknown"}
{"stackTrail":"paths:/invoices/{id}/duplicate:post:responses:200:content:application/json:schema:properties:expired_at_iso","oasType":"schema","type":"unknown"}
{"stackTrail":"paths:/invoices/{id}/duplicate:post:responses:200:content:application/json:schema:properties:refunded_at","oasType":"schema","type":"unknown"}
{"stackTrail":"paths:/invoices/{id}/duplicate:post:responses:200:content:application/json:schema:properties:refunded_at_iso","oasType":"schema","type":"unknown"}
{"stackTrail":"paths:/invoices/{id}/duplicate:post:responses:200:content:application/json:schema:properties:canceled_at","oasType":"schema","type":"unknown"}
{"stackTrail":"paths:/invoices/{id}/duplicate:post:responses:200:content:application/json:schema:properties:canceled_at_iso","oasType":"schema","type":"unknown"}
{"stackTrail":"paths:/invoices/{id}/duplicate:post:responses:200:content:application/json:schema:properties:protested_at","oasType":"schema","type":"unknown"}
{"stackTrail":"paths:/invoices/{id}/duplicate:post:responses:200:content:application/json:schema:properties:protested_at_iso","oasType":"schema","type":"unknown"}
{"stackTrail":"paths:/invoices/{id}/duplicate:post:responses:200:content:application/json:schema:properties:chargeback_at","oasType":"schema","type":"unknown"}
{"stackTrail":"paths:/invoices/{id}/duplicate:post:responses:200:content:application/json:schema:properties:chargeback_at_iso","oasType":"schema","type":"unknown"}
{"stackTrail":"paths:/invoices/{id}/duplicate:post:responses:200:content:application/json:schema:properties:occurrence_date","oasType":"schema","type":"unknown"}
{"stackTrail":"paths:/invoices/{id}/duplicate:post:responses:200:content:application/json:schema:properties:refundable","oasType":"schema","type":"unknown"}
{"stackTrail":"paths:/invoices/{id}/duplicate:post:responses:200:content:application/json:schema:properties:installments","oasType":"schema","type":"unknown"}
{"stackTrail":"paths:/invoices/{id}/duplicate:post:responses:200:content:application/json:schema:properties:transaction_number","oasType":"schema","type":"unknown"}
{"stackTrail":"paths:/invoices/{id}/duplicate:post:responses:200:content:application/json:schema:properties:payment_method","oasType":"schema","type":"unknown"}
{"stackTrail":"paths:/invoices/{id}/duplicate:post:responses:200:content:application/json:schema:properties:financial_return_dates","oasType":"schema","type":"unknown"}
{"stackTrail":"paths:/invoices/{id}/duplicate:post:responses:200:content:application/json:schema:properties:bank_slip","oasType":"schema","type":"unknown"}
early_payment_discountsobject[]
{"stackTrail":"paths:/invoices/{id}/duplicate:post:responses:200:content:application/json:schema:properties:split_rules","oasType":"schema","type":"unknown"}
Example response
{
"id": "ACD03D71D16249BAB49FC89EB6F8516F",
"due_date": "2025-04-07",
"currency": "BRL",
"email": "email@iugu.com",
"items_total_cents": 500,
"status": "pending",
"total_cents": 500,
"payable_with": "credit_card",
"updated_at": "2025-04-02T13:27:43-03:00",
"logs": [
{
"id": "95885CA1558F442ABF54BC7D3619FD43",
"description": "Email de Lembrete enviado!",
"notes": "Lembrete enviado com sucesso para: email@iugu.com",
"created_at": "02/04, 13:27"
}
],
"account_id": "44C5DC6376804D1FA792CBCA382105C1",
"bank_account_branch": "0001",
"bank_account_number": "2739435-0",
"account_name": "Nome da Conta",
"secure_id": "acd03d71-d162-49ba-b49f-c89eb6f8516f-5fa4",
"secure_url": "https://checkout.iugu.com/invoices/acd03d71-d162-49ba-b49f-c89eb6f8516f-5fa4",
"total": "R$ 5,00",
"taxes_paid": "R$ 0,00",
"total_paid": "R$ 0,00",
"total_overpaid": "R$ 0,00",
"total_refunded": "R$ 0,00",
"commission": "R$ 0,00",
"fines_on_occurrence_day": "R$ 0,00",
"total_on_occurrence_day": "R$ 0,00",
"paid": "R$ 0,00",
"bank_slip_extra_due": 10,
"created_at": "02/04, 13:27",
"created_at_iso": "2025-04-02T13:27:43-03:00",
"items": [
{
"id": "14E870A66B4B46DA8947DB8661590009",
"description": "Desc",
"price_cents": 500,
"quantity": 1,
"created_at": "2025-04-02T13:27:43-03:00",
"updated_at": "2025-04-02T13:27:43-03:00",
"price": "R$ 5,00"
}
]
}