item_type car_rental.reservations and item_id set to the reservation ID.status is one of draft, sent, open, partial, paid, void or template.template invoice is the model of a recurring invoice, not a bill, so skip it.type is invoice, credit_note or refund.type and book credit notes and refunds as reversals.original_invoice_id.issued_on first, 50 per page unless you send limit.success (see Responses and pagination).issued_on (date) and on contact_id, contact_type, status, po_number, invoice_number and products.category_id (string).contact, its tax in tax_object, the amount still due in total_unpaid and its line items in product_invoice.updated_since.issued_on period, and read recent invoices again, paid ones included, because a refund can still be added and the invoice can be voided.issued_on, so read past periods again too.GET /invoices/invoices/{id} returns one invoice under invoice.GET /invoices/invoices/{id}/payments lists the payments and refunds of one invoice, newest first, in pages.type (payment or refund), method, contact_id or paid_on.paid_on, method, amount_paid and notes (all required) to POST /invoices/invoices/{id}/payments.contact_type (contacts for customers), contact_id, paid_on, method, amount_paid and notes to POST /invoices/invoices/attach-payment.draft, sent and partial documents (credit notes and refunds included, open ones not), in no guaranteed order, until the amount runs out, and returns the invoices it paid under invoices.GET /invoices/invoices/e-invoices/peppol_bis_3 lists the invoices that can be exported, in pages.updated_since and filters on issued_on, status and brand_id.GET /invoices/invoices/e-invoices/peppol_bis_3/download?ids=101,102,103 returns a ZIP file with one document per invoice, for up to 50 IDs.SKIPPED-INVOICES.txt and SKIPPED-INVOICES.json inside the ZIP."success": false, so check the content type before you save the file.invoice_sent, invoice_paid and invoice_partially_paid (see Webhooks).