# POST /purchase-invoices.json **POST /purchase-invoices.json** ## Servers - http://api.example.com/v1: http://api.example.com/v1 () ## Authentication methods - Bearer auth ## Parameters ### Body: application/json (object) - **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 - **externalId** (string | null) External - **files** (object | null | array | boolean | integer | number | string) Files - **finalized** (boolean | null) Finalized - **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 - **xeroId** (string | null) Xero ## Responses ### 200 Successful response #### Body: application/json (object) - **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 [Powered by Bump.sh](https://bump.sh)