get https://gateway.stage.bill.com/connect/v3/attachments/invoices/
Get a list of attachments associated with an invoice.
From the response, use downloadLink
in a GET request to download the attachment.
curl '{downloadLink}&sessionId={session_id}' \
--output {attachment_name}