---
title: SendInvoiceDocuments (Push Method)
description: "API: Uploads one or more documents attached to an invoice.\nEach file is passed as base64‑encoded data, and the system stores the documents against the specified invoice."
---

[Skip to content](https://knowledge.vipsoftware.com/sendinvoicedocuments-push-method#main-content)

[More support](https://knowledge.vipsoftware.com/kb-tickets/new?hsLang=en)

![](https://knowledge.vipsoftware.com/hs-fs/hubfs/rate%20iq%20(1)%20-%20June%2019%2c%202026%20at%2011.43.46-8-Artboard%208%20(1).png?width=500&height=500&name=rate%20iq%20(1)%20-%20June%2019%2c%202026%20at%2011.43.46-8-Artboard%208%20(1).png)

- [Knowledge Base](https://knowledge.vipsoftware.com/)
- [Support](https://knowledge.vipsoftware.com/tickets)

Open main navigation

Close main navigation

- [Knowledge Base](https://knowledge.vipsoftware.com/)
- [Support](https://knowledge.vipsoftware.com/tickets)
- [More support](https://knowledge.vipsoftware.com/kb-tickets/new)

 How can we help you?

- There are no suggestions because the search field is empty.

1. [Help Center](https://knowledge.vipsoftware.com/?hsLang=en)
2. [Integrations](https://knowledge.vipsoftware.com/integrations?hsLang=en)

# SendInvoiceDocuments (Push Method)

### SendInvoiceDocuments

Uploads one or more **documents** attached to an invoice.  
Each file is passed as **base64‑encoded data**, and the system stores the documents against the specified invoice.

##### Request

| **Parameter** | **Type** | **Description** |
| --- | --- | --- |
| Company | String | **Required.** Company identifier from **GetCompanies**. |
| InvoiceNumber | String | **Required.** Invoice number the documents will be attached to. |
| InvoiceFiles.FileName | String | **Required (per file).** File name including extension. |
| InvoiceFiles.FileData | String | **Required (per file).** Base64‑encoded file bytes. |

##### Response

| **Parameter** | **Type** | **Description** |
| --- | --- | --- |
| ID | String | Identifier in BAP. |
| Errors | Array | Contains error message(s) should an error occur. |

##### Example (C#)

 

// setup request parameters

ParametersForInvoiceDocuments objVParams = new ParametersForInvoiceDocuments

{

    Company = "ABC",

    InvoiceNumber = "1000",

    invoiceFiles = new List\<InvoiceFile\>()

    {

        new InvoiceFile()

        {

            FileName = "M Info.txt",

            FileData = Convert.ToBase64String(

                File.ReadAllBytes(@"C:\\Inv313\\Info.txt")

            )

        },

        new InvoiceFile()

        {

            FileName = "index.jpg",

            FileData = Convert.ToBase64String(

                File.ReadAllBytes(@"C:\\Inv313\\index.jpg")

            )

        }

    }

};

dynamic sendInvoiceDocsResponse = apiClient.SendInvoiceDocuments(objVParams);

 

- [Support FAQ](https://knowledge.vipsoftware.com/support-faq?hsLang=en)
- [General Application Information](https://knowledge.vipsoftware.com/general-application-information?hsLang=en)
- [BAP](https://knowledge.vipsoftware.com/bap?hsLang=en)
- [Invision](https://knowledge.vipsoftware.com/invision?hsLang=en)
- [Integrations](https://knowledge.vipsoftware.com/integrations?hsLang=en)

- [Knowledge Base](https://knowledge.vipsoftware.com/)
- [Support](https://knowledge.vipsoftware.com/tickets)

[![](https://knowledge.vipsoftware.com/hs-fs/hubfs/rate%20iq%20(1)%20-%20June%2019%2c%202026%20at%2011.43.46-8-Artboard%208%20(1).png?width=500&height=500&name=rate%20iq%20(1)%20-%20June%2019%2c%202026%20at%2011.43.46-8-Artboard%208%20(1).png)](http://vipsoftware.com)

<https://www.facebook.com/> <https://www.twitter.com/> <https://www.instagram.com/> <https://podcasts.apple.com/> [mailto:email@email.com](mailto:email@email.com)

Copyright © 2026, vipsoftware.com