Visit Main Site
Join Partner Program
Login
     
Introduction
Authentication
Documentation
Account
GET
POST
PUT
PATCH
DELETE
Item
GET
POST
DELETE
PATCH
Item Fulfillment
GET
POST
PATCH
Item Receipts
GET
POST
PATCH
DELETE
Order
GET
POST
PATCH
PUT
DELETE
Subscription
Usage
GET
POST
PATCH
PUT
DELETE
Express
POST
Invoice
GET
POST
PATCH
DELETE
Payment
GET
POST
PATCH
DELETE
Credit Note
GET
PATCH
Refund
GET
POST
PATCH
DELETE
Purchase Order
GET
POST
DELETE
PATCH
Purchase Invoice
GET
POST
PATCH
DELETE
Purchase Payment
GET
POST
DELETE
PATCH
Purchase Credit Note Applications
GET
PATCH
Purchase Refund
GET
POST
DELETE
Gift Certificate
GET
POST
PATCH
DELETE
Return Merchandise Authorizations
GET
POST
RVA
GET
POST
Settings
GET
POST
PATCH
Integration
GET
POST
PATCH
DELETE
Portal
POST
Communications
GET
POST
Reports
GET
Proforma
GET
POST
Labour
GET
POST
PATCH
DELETE
Workflow
GET
POST
PATCH
Labour Profiles
GET
POST
PATCH
DELETE
Custom Development
Custom Component
GET
POST
PATCH
DELETE
Custom Attribute
GET
PATCH
Custom Object
GET
POST
PATCH
Custom Database
GET
POST
Custom Component Notes
GET
POST
» Purchase Invoice PATCH API Documentation

Update Purchase Invoice Information: purchase-invoices/{id}/information

PATCH
https://dev-api.exsited.com/api/v3/purchase-invoices/{purchase_invoice_id}/information
Try It Out

Purpose

Update the informational metadata of an existing purchase invoice. This endpoint supports partial updates to a purchase invoice's non-financial metadata fields, including the customer purchase order reference, alternate billing dates, alternate issue and due dates, invoice notes, and custom attributes. It does not modify financial fields such as line items, totals, or tax amounts, ensuring that corrections to administrative and reference data can be made safely without affecting the financial integrity of the invoice. Only the fields provided in the request body are updated; omitted fields retain their current values.

Use Case

This endpoint is used to update reference information and metadata on a purchase invoice after it has been created. Common scenarios include adding or correcting the customer purchase order reference number for cross-referencing with the supplier's records, adjusting alternate billing dates to align with internal reporting periods, and adding invoice notes with contextual information such as approval details or dispute resolution outcomes. Finance teams use this endpoint to enrich invoice records with additional metadata that was not available at the time of creation, or to correct data entry errors in non-financial fields. It also supports workflows where custom attributes need to be updated after initial invoice capture, such as tagging invoices with department codes, project references, or compliance flags for downstream reporting and audit purposes.

Path Parameters

ParameterTypeDescription
purchase_invoice_idStringThe unique ID of the purchase invoice (e.g., PI-5Q22OS-0032)

Query Parameters

No query parameters required.

Request Body

JSON
{
  "purchase-invoice": {
    "issue_date": "2026-03-08",
    "due_date": "2026-03-08",
    "purchase_order_note": "Purchase order note added"
  }
}

Response

Returns the full purchase invoice object with all fields reflecting the current state after the update. The response includes the invoice status, human-readable ID, currency details with link, issue and due dates (including any updated alternate dates), computed financial totals (subtotal, tax, total), the supplier account ID, and the associated purchase order ID. Each line item in the lines array contains the full pricing snapshot with pricing rule details, tax configuration, quantity, and accounting code. The kpis object provides current financial metrics including outstanding amount, overdue amount, payment applied, and credit applied. The externalBankDetails object contains the supplier's banking information. Audit fields (createdBy, createdOn, lastUpdatedBy, lastUpdatedOn) are updated to reflect the modification, and the version field is incremented for optimistic concurrency control.

Response Body

JSON
{
    "purchaseInvoice": {
        "status": "PURCHASE_INVOICE_STATUS",
        "id": "PURCHASE_INVOICE_ID",
        "customForm": {
            "uuid": "CUSTOM_FORM_UUID",
            "version": "CUSTOM_FORM_VERSION"
        },
        "currency": {
            "id": "CURRENCY_UUID",
            "name": "CURRENCY_CODE",
            "link": {
                "rel": "LINK_REL",
                "href": "LINK_HREF"
            }
        },
        "issueDate": "ISSUE_DATE",
        "alternateIssueDate": "ALTERNATE_ISSUE_DATE",
        "dueDate": "DUE_DATE",
        "alternateDueDate": "ALTERNATE_DUE_DATE",
        "subtotal": "SUBTOTAL_AMOUNT",
        "tax": "TAX_AMOUNT",
        "total": "TOTAL_AMOUNT",
        "priceTaxInclusive": "TAX_INCLUSIVE_FLAG",
        "accountId": "ACCOUNT_ID",
        "purchaseOrderId": "PURCHASE_ORDER_ID",
        "createdBy": "CREATED_BY_USER",
        "createdOn": "CREATED_ON_DATETIME",
        "lastUpdatedBy": "LAST_UPDATED_BY_USER",
        "lastUpdatedOn": "LAST_UPDATED_ON_DATETIME",
        "uuid": "PURCHASE_INVOICE_UUID",
        "version": "PURCHASE_INVOICE_VERSION",
        "customAttributes": [],
        "customObjects": [],
        "lines": [
            {
                "subtotal": "LINE_SUBTOTAL",
                "total": "LINE_TOTAL",
                "tax": "LINE_TAX",
                "accountingCode": "ACCOUNTING_CODE",
                "itemUuid": "ITEM_UUID",
                "itemPurchaseOrderQuantity": "PO_QUANTITY",
                "itemUom": "UNIT_OF_MEASURE",
                "itemWarehouse": "WAREHOUSE",
                "uuid": "LINE_UUID",
                "version": "LINE_VERSION",
                "itemId": "ITEM_ID",
                "itemName": "ITEM_NAME",
                "itemQuantity": "ITEM_QUANTITY",
                "itemPriceSnapshot": {
                    "pricingRule": {
                        "uuid": "PRICING_RULE_UUID",
                        "version": "PRICING_RULE_VERSION",
                        "priceType": "PRICE_TYPE",
                        "price": "UNIT_PRICE",
                        "uom": "UNIT_OF_MEASURE",
                        "warehouse": "WAREHOUSE",
                        "pricingVersion": "PRICING_VERSION",
                        "latestUsedPricingVersion": "LATEST_PRICING_VERSION"
                    }
                },
                "itemPriceTax": {
                    "uuid": "TAX_UUID",
                    "code": "TAX_CODE",
                    "rate": "TAX_RATE",
                    "link": "TAX_LINK"
                },
                "priceTaxExampt": "TAX_EXEMPT_FLAG"
            }
        ],
        "kpis": {
            "outstanding": "OUTSTANDING_AMOUNT",
            "overdue": "OVERDUE_AMOUNT",
            "lastPaymentDate": "LAST_PAYMENT_DATE",
            "paymentApplied": "PAYMENT_APPLIED_AMOUNT",
            "creditApplied": "CREDIT_APPLIED_AMOUNT",
            "creditIssued": "CREDIT_ISSUED",
            "lastReactivatedOn": "LAST_REACTIVATED_ON",
            "lastCancelledOn": "LAST_CANCELLED_ON",
            "lastAmendedOn": "LAST_AMENDED_ON",
            "voidedOn": "VOIDED_ON",
            "deletedOn": "DELETED_ON"
        },
        "externalBankDetails": {
            "bankName": "BANK_NAME",
            "bankCode": "BANK_CODE",
            "accountName": "ACCOUNT_NAME",
            "accountNumber": "ACCOUNT_NUMBER",
            "swiftBicCode": "SWIFT_BIC_CODE",
            "abaRouting": "ABA_ROUTING",
            "bankAccountNumber": "BANK_ACCOUNT_NUMBER"
        }
    }
}
AttributeTypeDescription
statusStringInvoice status (e.g., ACTIVE, DRAFT)
idStringHuman-readable invoice ID
customFormObjectCustom form associated with the invoice
currency.idStringCurrency UUID
currency.nameStringCurrency code (e.g., AUD)
currency.link.relStringLink relation type
currency.link.hrefStringLink URL
issueDateString (ISO 8601)Date the invoice was issued
alternateIssueDateString (ISO 8601)Alternate issue date
dueDateString (ISO 8601)Payment due date
alternateDueDateString (ISO 8601)Alternate due date
subtotalStringInvoice subtotal before tax
taxStringTotal tax amount
totalStringInvoice total amount
priceTaxInclusiveStringWhether prices include tax
accountIdStringSupplier account ID
purchaseOrderIdStringAssociated purchase order ID
createdByStringUsername of the invoice creator
createdOnString (ISO 8601)Timestamp when the invoice was created
lastUpdatedByStringUsername of the last editor
lastUpdatedOnString (ISO 8601)Timestamp of the last update
uuidString (UUID)UUID of the invoice
versionStringVersion number of the invoice
linesArrayLine items on the invoice
lines[].subtotalStringLine item subtotal before tax
lines[].totalStringLine item total amount
lines[].taxStringTax amount for the line item
lines[].accountingCodeStringAccounting code for the line item
lines[].itemUuidString (UUID)UUID of the item
lines[].itemIdStringHuman-readable item identifier
lines[].itemNameStringDisplay name of the item
lines[].itemQuantityStringQuantity invoiced
lines[].itemPriceSnapshot.pricingRule.priceTypeStringPricing type (e.g., PER_UNIT_PRICING)
lines[].itemPriceSnapshot.pricingRule.priceStringUnit price
lines[].itemPriceTax.codeStringTax code applied
lines[].itemPriceTax.rateStringTax rate percentage
lines[].priceTaxExamptStringWhether the line item is tax exempt
lines[].uuidString (UUID)UUID of the line item
lines[].versionStringVersion number of the line item
kpis.outstandingNumberOutstanding amount on the invoice
kpis.overdueNumberOverdue amount on the invoice
kpis.lastPaymentDateString (ISO 8601)Date of the last payment
kpis.paymentAppliedNumberTotal payment amount applied
kpis.creditAppliedNumberTotal credit amount applied
kpis.creditIssuedStringCredit issued amount
kpis.lastReactivatedOnString (ISO 8601)Date the invoice was last reactivated
kpis.lastCancelledOnString (ISO 8601)Date the invoice was last cancelled
kpis.lastAmendedOnString (ISO 8601)Date the invoice was last amended
kpis.voidedOnString (ISO 8601)Date the invoice was voided
kpis.deletedOnString (ISO 8601)Date the invoice was deleted
externalBankDetails.bankNameStringSupplier bank name
externalBankDetails.bankCodeStringBank code
externalBankDetails.accountNameStringBank account holder name
externalBankDetails.accountNumberStringBank account number
externalBankDetails.swiftBicCodeStringSWIFT/BIC code
externalBankDetails.abaRoutingStringABA routing number
externalBankDetails.bankAccountNumberStringBank account number

Looking to build next big project?

With our robust set of tools and resources, you can create custom solutions that integrate seamlessly with our system and take your business to the next level.

Join Our Partner Program
APIs
SDK
Help Center
Community
Contact Us

©2026 Exsited. All rights reserved.

Terms and Conditions | Privacy Policy

Follow Us: