BatchGetInvoiceProfile
This gets the invoice profile associated with a set of accounts. The accounts must be linked accounts under the requester management account organization.
Request Syntax
{
"AccountIds": [ "string
" ]
}
Request Parameters
For information about the parameters that are common to all actions, see Common Parameters.
The request accepts the following data in JSON format.
- AccountIds
-
Retrieves the corresponding invoice profile data for these account IDs.
Type: Array of strings
Array Members: Minimum number of 1 item. Maximum number of 1000 items.
Pattern:
\d{12}
Required: Yes
Response Syntax
{
"Profiles": [
{
"AccountId": "string",
"Issuer": "string",
"ReceiverAddress": {
"AddressLine1": "string",
"AddressLine2": "string",
"AddressLine3": "string",
"City": "string",
"CompanyName": "string",
"CountryCode": "string",
"DistrictOrCounty": "string",
"PostalCode": "string",
"StateOrRegion": "string"
},
"ReceiverEmail": "string",
"ReceiverName": "string",
"TaxRegistrationNumber": "string"
}
]
}
Response Elements
If the action is successful, the service sends back an HTTP 200 response.
The following data is returned in JSON format by the service.
- Profiles
-
A list of invoice profiles corresponding to the requested accounts.
Type: Array of InvoiceProfile objects
Errors
For information about the errors that are common to all actions, see Common Errors.
- AccessDeniedException
-
You don't have sufficient access to perform this action.
HTTP Status Code: 400
- InternalServerException
-
The processing request failed because of an unknown error, exception, or failure.
HTTP Status Code: 500
- ResourceNotFoundException
-
The resource could not be found.
HTTP Status Code: 400
- ThrottlingException
-
The request was denied due to request throttling.
HTTP Status Code: 400
- ValidationException
-
The input fails to satisfy the constraints specified by an AWS service.
HTTP Status Code: 400
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: