get https://gateway.stage.bill.com/connect/v3/organizations//billing-statements/
Get details about a billing statement for the organization. BILL generates a monthly billing invoice statement for all the billing activities in the organization.
From the response, use downloadLink
in a GET request to download a billing statement.
curl '{downloadLink}' --header 'sessionId={session_id}' --output {statement_name}