# Finalize an invoice

Source: https://docs.vendasta.com/automations/my-automations/finalize-an-invoice/

`Finalize an invoice` locks a draft invoice so it's ready for payment collection. Once finalized, the invoice can be sent to the customer or charged automatically.

## How it works

1.  The automation reaches the `Finalize an invoice` step with an invoice in scope
2.  The step changes the invoice status from draft to finalized
3.  The invoice is locked and ready for payment collection or sending
4.  The automation continues to the next step

## Set up the action

1.  Open the automation builder and add a new step
2.  Under `Sales`, select `Finalize an invoice`
3.  Configure the invoice selection as prompted

## Outputs

This action produces no outputs available to downstream steps.

## Related resources

-   [Actions overview](https://docs.vendasta.com/automations/my-automations/actions-overview/): Browse all available actions
-   [Charge an invoice](https://docs.vendasta.com/automations/my-automations/charge-an-invoice/): Collect payment on a finalized invoice
-   [Logic & flow control](https://docs.vendasta.com/automations/my-automations/logic-and-flow-control/): If/else branches, delays, and jump steps
-   [Creating and configuring automations](https://docs.vendasta.com/automations/my-automations/creating-and-configuring-automations/): Build and configure workflows
