# PUT /purchase-invoices/{id}.json **PUT /purchase-invoices/{id}.json** ## Servers - http://api.example.com/v1: http://api.example.com/v1 () ## Authentication methods - Bearer auth ## Parameters #### Path parameters - **id** (integer(int64)) Numeric ID of the instance ## Body parameters Content-type: application/json - **accountingError** (string | null) Accounting error - **accountingIntegrationExternalId** (boolean | null) Accounting integration external - **accountingProblem** (object | null | array | boolean | integer | number | string) Accounting problem - **adjustment** (number | null) Adjustment - **adjustmentReason** (string | null) Adjustment reason - **commissionMethod** (string | null) Commission method - **createdAt** (string(date-time) | null) Created at - **externalId** (string | null) External - **files** (object | null | array | boolean | integer | number | string) Files - **finalized** (boolean | null) Finalized - **id** (integer(int32)) Id - **invoiceShippingProblem** (object | null | array | boolean | integer | number | string) Invoice shipping problem - **invoiceShippingSource** (string | null) Invoice shipping source - **invoicingStage** (string | null) Invoicing stage - **paid** (number) Paid - **paymentStatus** (string) Payment status - **purchaseId** (integer(int32)) Purchase - **quickbooksId** (string | null) Quickbooks - **reference** (string) Reference - **saleReturnId** (integer(int32) | null) Sale return - **saleReturnInvoiceShippingSource** (string | null) Sale return invoice shipping source - **saleReturnItemId** (integer(int32) | null) Sale return item - **source** (string | null) Source - **transactionId** (integer(int32) | null) Transaction - **updatedAt** (string(date-time) | null) Updated at - **xeroId** (string | null) Xero ## Responses [Powered by Bump.sh](https://bump.sh)