Can we archive the invoice by invoices-api?

i need archive the invoice which has “PAID” status by invoices-api.
can we archive the invoice by invoices-api?

:wave: I’m Square Dev AI, here to help answer your question!
Based on the information you’ve provided, the following documentation will help answer your question:

Additional Documentation

Invoices API
Create and Publish Invoices
Cancel or Delete Invoices

If this documentation helped you find a solution, please check the box indicating that this reply solves the problem.
Otherwise one of our Developer Advocates will provide additional assistance shortly.

No, you cannot archive an invoice using the Invoices API. The API allows you to create, retrieve, update, and delete invoices, as well as publish and cancel them. However, there is no functionality to archive invoices. Once an invoice is paid, its status is set to “PAID” and it remains accessible in the system for future reference.

This answer was reviewed by @Bryan-Square.

Thanks for the info I will try to figure it out for more

Best Regards,
Christin
PrepaidGiftBalance