Invoices

Create invoice

POST
Create an invoice for an integration.

Request

This endpoint expects an object.
integration_id
stringRequired
vendor_id
stringOptional
The Propexo unique identifier for the vendor
vendor_location_id
stringOptional
The Propexo unique identifier for the vendor location
invoice_number
stringOptional
The invoice or reference number that the vendor assigned to the service request
invoice_date
datetimeOptional
The date of issuance for the invoice
total_amount_in_cents
doubleOptional
The amount of the invoice, in cents
invoice_items
list of objectsOptional
ap_financial_account_id
stringOptional
The Propexo unique identifier for the financial account. You'll likely want to work with your customer to know what value is appropriate here.
post_month
unionOptional
The post month for the invoice. We will strip all data out of the datetime except the year and month.
discount_amount_in_cents
doubleOptional
The discount, in cents, of the invoice. This amount will be applied prior to the total amount being calculated.
due_date
datetimeOptional
The due date associated with the invoice
notes
stringOptional
Notes associated with the invoice
attachments
list of objectsOptional
Files to upload for the invoice. All the files can have a maximum combined file size of 50 MB
cash_financial_account_id
stringOptional
The Propexo unique identifier for the financial account. You'll likely want to work with your customer to know what value is appropriate here.
expense_type
stringOptional
The expense type of the invoice. You'll have to request this data from your customer
display_type
stringOptional
The display type of the invoice. You'll have to request this data from your customer

Response

This endpoint returns an object
job_id
string
The ID of the job created to handle this operation
data
object
Returned data from the operation. This is dependent on the vendor specific endpoint's returned data.
POST
1curl -X POST https://api.propexo.com/v1/invoices \
2 -H "Authorization: Bearer <token>" \
3 -H "Content-Type: application/json" \
4 -d '{
5 "integration_id": "integration_id"
6}'
200
Successful
1{
2 "job_id": "job_id",
3 "data": {}
4}