---
agentTools:
  projectIndex: https://developer.bill.com/llms.txt
---

# New v3 API endpoints for documents and attachments

We have introduced a set of document and attachment API endpoints. You can now upload documents for bills with the v3 API. In addition, you can upload supporting attachments for vendors, customers, and invoices.

| Operation                                                                                           | API endpoint                                  |
| :-------------------------------------------------------------------------------------------------- | :-------------------------------------------- |
| [Upload customer attachment](https://developer.bill.com/v3/reference/createcustomerattachment)      | `POST /v3/attachments/customers/{customerId}` |
| [Get list of customer attachments](https://developer.bill.com/v3/reference/listcustomerattachments) | `GET /v3/attachments/customers/{customerId}`  |
| [Upload invoice attachment](https://developer.bill.com/v3/reference/createinvoiceattachment)        | `POST /v3/attachments/invoices/{invoiceId}`   |
| [Get list of invoice attachments](https://developer.bill.com/v3/reference/listinvoiceattachments)   | `GET /v3/attachments/invoices/{invoiceId}`    |
| [Upload vendor attachment](https://developer.bill.com/v3/reference/createvendorattachment)          | `POST /v3/attachments/vendors/{vendorId}`     |
| [Get list of vendor attachments](https://developer.bill.com/v3/reference/listvendorattachments)     | `GET /v3/attachments/vendors/{vendorId}`      |
| [Get attachment details](https://developer.bill.com/v3/reference/getattachment)                     | `GET /v3/attachments/{attachmentId}`          |
| [Upload bill document](https://developer.bill.com/v3/reference/createbilldocument)                  | `POST /v3/documents/bills/{billId}`           |
| [Get document upload status](https://developer.bill.com/v3/reference/uploadstatus)                  | `GET /v3/documents/upload-status`             |
| [Get document details](https://developer.bill.com/v3/reference/getdocument)                         | `GET /v3/documents/{documentId}`              |
| [Get list of documents](https://developer.bill.com/v3/reference/listdocuments)                      | `GET /v3/documents/bills/{billId}`            |

See [Documents and attachments](https://developer.bill.com/v3/docs/documents-attachments) for more information.