# POST /purchase-invoice-payments.json **POST /purchase-invoice-payments.json** ## Servers - http://api.example.com/v1: http://api.example.com/v1 () ## Authentication methods - Bearer auth ## Parameters ### Body: application/json (object) - **amount** (number) Amount - **exchangeRate** (number(float)) Exchange rate - **externalId** (string | null) External - **paidAt** (string(date-time)) Paid at - **paymentMethodId** (integer(int32) | null) Payment method - **purchaseInvoiceId** (integer(int32)) Purchase invoice - **purchaseItemId** (integer(int32) | null) Purchase item - **reference** (string | null) Reference - **status** (string | null) Status - **totals** (object | null | array | boolean | integer | number | string) Totals - **transferId** (string | null) Transfer - **type** (string | null) Type - **xeroId** (string | null) Xero ## Responses ### 200 Successful response #### Body: application/json (object) - **amount** (number) Amount - **createdAt** (string(date-time) | null) Created at - **exchangeRate** (number(float)) Exchange rate - **externalId** (string | null) External - **id** (integer(int32)) Id - **paidAt** (string(date-time)) Paid at - **paymentMethodId** (integer(int32) | null) Payment method - **purchaseInvoiceId** (integer(int32)) Purchase invoice - **purchaseItemId** (integer(int32) | null) Purchase item - **reference** (string | null) Reference - **status** (string | null) Status - **totals** (object | null | array | boolean | integer | number | string) Totals - **transferId** (string | null) Transfer - **type** (string | null) Type - **updatedAt** (string(date-time) | null) Updated at - **xeroId** (string | null) Xero [Powered by Bump.sh](https://bump.sh)