# Update a Draft Invoice

If you want to update the invoice's details, you can do so through the API:



To see the complete list of invoice fields you can update, visit our [API reference docs](🔗).

## Add additional line items to an invoice

When adding invoice line items to an existing invoice, you can use the invoice ID to add additional line items. Each line item requires a separate API request.



See our API reference for invoice line items [here](🔗).

# Share an Invoice with a Counterparty

To mark the invoice as ready-to-collect, update the invoice, indicating if you want to include the embedded payment UI and updating the invoice status to `unpaid`.



Now, the invoice is ready-to-collect and you can send the invoice's counterparty the hosted URL.