Retrieve a PDF copy of the detailed invoice summary.
Description
Retrieve a PDF record of a SoftLayer detailed invoice summary. SoftLayer keeps PDF records of all closed invoices for customer retrieval from the portal and API. You must have a PDF reader installed in order to view these files.
Parameters
None
Required Headers
Optional Headers
Return Values
Error Handling
- Throw the exception “Unable to load a valid invoice PDF.” if the PDF for this invoice is a corrupted.
curl -g -u $SL_USER:$SL_APIKEY -X GET \
'https://api.softlayer.com/rest/v3.1/SoftLayer_Billing_Invoice/{SoftLayer_Billing_InvoiceID}/getPdfDetailed'