# Add
source: https://developer.mastercard.com/iccp/documentation/api-reference/soap_api/purchaserequest/invoice_addenda_data/addaddenda/index.md
> Add up to 5000 invoice addenda records to a purchase request. In each request, send a maximum of 1000 invoice addenda records. Mastercard may change the limit on the number of records supported at a future date.
Note: Invoice addenda data is not supported for ICMP.
## Request Headers {#request-headers}
| Key name | Value | Description for In Control |
|-----------------|--------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| Idempotency-Key | Any random UUID set in HTTP Request Header | 1. The header key Idempotency-Key is optional. 2. If the header key Idempotency-Key is added then it should be non-null and non-empty. 3. Max length of key is 80 chars. 4. It is recommended that the key is UUID and generated randomly. |
## Parameters {#parameters}
{#fnref:1}
| Names | Description | Required for In Control | Required for ICMP | Type |
|-----------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------|-------------------|--------------|
| `purchaseRequestId` | ID of an active purchase request. Cannot use ID of a canceled purchase request. | Yes | No | Numeric |
| `InvoiceNumber` ^[1](https://developer.mastercard.com/iccp/documentation/api-reference/soap_api/purchaserequest/invoice_addenda_data/addaddenda/index.md#fn:1)^ | Number of an invoice up to 35 characters. | Yes | No | Alphanumeric |
| `InvoiceCurrencyAmount` | Amount paid, up to 35 characters. | No **NOTE:** Mandatory, if you specify the `CurrencyCode` parameter. | No | Numeric |
| `CurrencyCode` | ISO 4217 Currency Codes | No **NOTE** : Mandatory, if you specify the `InvoiceCurrencyAmount` parameter. | No | Alphanumeric |
| `CurrencyExponent` | ISO 4217 Currency Codes | No **NOTE** : Mandatory, if you specify the `InvoiceCurrencyAmount` parameter | No | Alphanumeric |
| `CurrencySign` | Credit or Debit | No **NOTE:** Mandatory, if you specify the `InvoiceCurrencyAmount` parameter | No | Alphanumeric |
| `InvoiceDate` | Date of an invoice in the format: YYYY-MM-DD | No | No | Date |
| `PONumber` | Purchase order number provided by the company, up to 35 characters. | No | Alphanumeric | No |
| `moreAddendaExpected` | Whether or not you will make a follow up addAddenda call to add more invoice records. * Send as N/excluded from the request, the supplier email is sent after adding the invoice addenda records. * Send as Y if you are adding invoice addenda records through a series of API requests. In the final request, send the `moreAddendaExpected` parameter as N so that the supplier email is sent. | No | No | Boolean |
### Sample request {#sample-request}
```xml
2187360
2187360
100
2019-12-01
123
N
```
## Response {#response}
For each request, you receive:
| Names | Description | Required | Type |
|------------------------------------------|----------------------------------------------------------------|----------|---------------|
| `purchaseRequestId` | ID of the purchase request. | Yes | Integer, long |
| `responseDescription` | A success message. | Yes | Alphanumeric |
| All invoice details sent in the request. | | Yes | |
| `Id` | Application assigned ID for each added invoice addenda record. | Yes | Alphanumeric |
### Sample response {#sample-response}
```xml
2187360
Request for Add Addenda successfully created.
0ADNff15f7c0bbfed0a1921e98593b8b0b6c10ecd80f9b92cd48431aa88ed7ef7df71588780932
2187360
100
2019-12-01
123
```
*** ** * ** ***
1. Mastercard recommends that unique invoice numbers are added to each purchase request. [↩︎](https://developer.mastercard.com/iccp/documentation/api-reference/soap_api/purchaserequest/invoice_addenda_data/addaddenda/index.md#fnref:1)
{#fn:1}
{#fn:1}