# Pay an amendment filing with a voucher (/reference/post-legal-entities-id-amendments-filing-id-pay-voucher)

The filing must be signed first (see `nextSteps.signatureUrl`). Creates the filing invoice when needed, applies the voucher, and submits the amendment for review when the voucher covers the full amount. Invoice preparation happens before voucher validation, so an invalid voucher can leave a locked Pending Payment filing with an unpaid invoice. Read state before retrying after errors/timeouts. Standard keys act on every entity the key owner actively represents. Agent Keys are limited to entities incorporated through the API and need active representation and the listed `agent:entity.filing.*` scope. Agent writes also require an active Manifestation of Will. OAuth tokens and Partner Keys cannot call these filing endpoints. See https://docs.eprospera.com/entity-filings for signing, payment, and recovery. Agent scope: `agent:entity.filing.pay`.

Account deactivation revokes personal API keys, including Agent Keys, and OAuth authorizations. Account reactivation requires new API keys, including new Agent Keys, and consent; previously issued credentials remain invalid.

Full request/response schemas for this operation: https://docs.eprospera.com/openapi.yaml

The filing must be signed first (see `nextSteps.signatureUrl`). Creates the filing invoice when needed, applies the voucher, and submits the amendment for review when the voucher covers the full amount. Invoice preparation happens before voucher validation, so an invalid voucher can leave a locked Pending Payment filing with an unpaid invoice. Read state before retrying after errors/timeouts. Standard keys act on every entity the key owner actively represents. Agent Keys are limited to entities incorporated through the API and need active representation and the listed `agent:entity.filing.*` scope. Agent writes also require an active Manifestation of Will. OAuth tokens and Partner Keys cannot call these filing endpoints. See https://docs.eprospera.com/entity-filings for signing, payment, and recovery. Agent scope: `agent:entity.filing.pay`.

Account deactivation revokes personal API keys, including Agent Keys, and OAuth authorizations. Account reactivation requires new API keys, including new Agent Keys, and consent; previously issued credentials remain invalid.