# Invoices

A Purchasing document

 - [POST /invoices/ocr](https://developer.yellowdogsoftware.com/rest/fetch/api/invoices/post-invoices-ocr.md)
 - [POST /invoices/staged/{stagedInvoiceId}/lines](https://developer.yellowdogsoftware.com/rest/fetch/api/invoices/post-invoices-staged-byid-lines.md)
 - [GET /invoices/staged/{stagedInvoiceId}/original-document](https://developer.yellowdogsoftware.com/rest/fetch/api/invoices/get-invoices-staged-byid-original-document.md)
 - [PUT /invoices/staged/{stagedInvoiceId}](https://developer.yellowdogsoftware.com/rest/fetch/api/invoices/put-invoices-staged-byid.md): This endpoint requires the user to be authenticated and have the Api.Helpers.YdPolicyName.atLeast377 policy. The updated staged invoice is returned in the response body if the operation is successful
 - [PATCH /invoices/staged/{stagedInvoiceId}](https://developer.yellowdogsoftware.com/rest/fetch/api/invoices/patch-invoices-staged-byid.md)
