---
title: "getGovernmentInvoiceDocument"
method: GET
path: "/tax/invoices/2024-06-19/governmentInvoiceRequests/{shipmentId}"
tags: ["Invoices v2024-06-19"]
---

# getGovernmentInvoiceDocument

`GET /tax/invoices/2024-06-19/governmentInvoiceRequests/{shipmentId}`

Returns an invoiceDocument object containing an invoiceDocumentUrl .

**Usage Plan:**

| Rate (requests per second) | Burst |
| ---- | ---- |
| 0.0167 | 1 |

For more information, see "Usage Plans and Rate Limits" in the Selling Partner API documentation.

## Path parameters

- `shipmentId` string, required

## Query parameters

- `marketplaceId` string, required
- `transactionType` string, required
- `invoiceType` string, required
- `inboundPlanId` string
- `fileFormat` string

## Response `200`

Success.

- GovtInvoiceDocumentResponse — Success.
  - `invoiceDocument` InvoiceDocument — Object containing the documentId and a S3 pre-signed URL to download the specified document file.
    - `invoiceDocumentUrl` string — A pre-signed URL to download the invoice document in its original format. This URL expires after 30 seconds.

## Other responses

- `400` — Request has missing or invalid parameters and cannot be parsed.
- `401` — A list of error responses returned when a request is unsuccessful.
- `403` — Indicates that access to the resource is forbidden. Possible reasons include Access Denied, Unauthorized, Expired Token, or Invalid Signature.
- `404` — The resource specified does not exist.
- `413` — The request size exceeded the maximum accepted size.
- `415` — The request payload is in an unsupported format.
- `429` — The frequency of requests was greater than allowed.
- `500` — An unexpected condition occurred that prevented the server from fulfilling the request.
- `503` — Temporary overloading or maintenance of the server.

---

[API](https://skmtc.net/aws-samples/apis/a-content-management-v2020-11-01.md) · [All operations](https://skmtc.net/aws-samples/apis/a-content-management-v2020-11-01/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws-samples/a-content-management-v2020-11-01/revisions/815a5b6dbaa6/schema)
