> Markdown versions of all pages of this connector library are available by appending `.md` to the page URL. For the full index of connectors, see [llms.txt](https://connectors.appmixer.com/llms.txt).

# appmixer.stripe.core.FinalizeDraftInvoice

- Component: `appmixer.stripe.core.FinalizeDraftInvoice`
- Kind: Action
- Version: 1.0.0
- Visibility: Public
- Connector: [appmixer.stripe 3.1.0](https://connectors.appmixer.com/connector/appmixer.stripe/3.1.0.md)
- Component page: <https://connectors.appmixer.com/connector/appmixer.stripe/3.1.0/component/appmixer.stripe.core.FinalizeDraftInvoice>

Finalizes a draft invoice, making it ready for payment.

## Input ports

### Port `in`

| Field | Type | Description |
| --- | --- | --- |
| Invoice Id (`invoiceId`) | text | The identifier of the draft invoice to finalize. |

## Output ports

### Port `out`

| Field | Type | Description |
| --- | --- | --- |
| Id (`id`) | string | - |
| Object (`object`) | string | - |
| Status (`status`) | string | - |

## Full metadata (component.json)

```json
{
  "name": "appmixer.stripe.core.FinalizeDraftInvoice",
  "author": "Appmixer <info@appmixer.com>",
  "description": "Finalizes a draft invoice, making it ready for payment.",
  "version": "1.0.0",
  "private": false,
  "auth": {
    "service": "appmixer:stripe"
  },
  "quota": {
    "manager": "appmixer:stripe",
    "resources": "requests"
  },
  "inPorts": [
    {
      "name": "in",
      "schema": {
        "type": "object",
        "properties": {
          "invoiceId": {
            "type": "string"
          }
        }
      },
      "inspector": {
        "inputs": {
          "invoiceId": {
            "type": "text",
            "tooltip": "The identifier of the draft invoice to finalize.",
            "label": "Invoice Id",
            "index": 0
          }
        }
      }
    }
  ],
  "outPorts": [
    {
      "name": "out",
      "options": [
        {
          "label": "Id",
          "value": "id",
          "schema": {
            "type": "string",
            "example": "in_1ABC123DEF456"
          }
        },
        {
          "label": "Object",
          "value": "object",
          "schema": {
            "type": "string",
            "example": "invoice"
          }
        },
        {
          "label": "Status",
          "value": "status",
          "schema": {
            "type": "string",
            "example": "open"
          }
        }
      ]
    }
  ],
  "icon": "(data URI omitted)"
}
```
