Skip to main content

invoice_pdfs

Creates, updates, deletes, gets or lists an invoice_pdfs resource.

Overview

Nameinvoice_pdfs
TypeResource
Idaws.invoicing.invoice_pdfs

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
document_urlstringThe pre-signed URL to download the invoice document. (pattern: <code>.*</code>)
document_url_expiration_datestring (date-time)The pre-signed URL expiration date of the invoice document.
invoice_idstringYour unique invoice ID. (pattern: <code>.*</code>)
supplemental_documentsarrayList of supplemental documents associated with the invoice.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_invoice_pdfselectregionReturns a URL to download the invoice document and supplemental documents associated with an invoice. The URLs are pre-signed and have expiration time. For special cases like Brazil, where Amazon Web Services generated invoice identifiers and government provided identifiers do not match, use the Amazon Web Services generated invoice identifier when making API requests. To grant IAM permission to use this operation, the caller needs the invoicing:GetInvoicePDF policy action.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

SELECT examples

Returns a URL to download the invoice document and supplemental documents associated with an invoice. The URLs are pre-signed and have expiration time. For special cases like Brazil, where Amazon Web Services generated invoice identifiers and government provided identifiers do not match, use the Amazon Web Services generated invoice identifier when making API requests. To grant IAM permission to use this operation, the caller needs the invoicing:GetInvoicePDF policy action.

SELECT
document_url,
document_url_expiration_date,
invoice_id,
supplemental_documents
FROM aws.invoicing.invoice_pdfs
WHERE region = '{{ region }}' -- required
;