accounting
invoice

Update an invoice

patch/accounting/{connection_id}/invoice/{id}

Path parameters

connection_idstring required

ID of the connection

idstring required

ID of the Invoice

Query parameters

fieldsstring[]

Fields to return

rawstring

Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar

Request body

idstring
created_atstring date-time
updated_atstring date-time
due_atstring date-time
paid_atstring date-time
refunded_atstring date-time
cancelled_atstring date-time
posted_atstring date-time
total_amountnumber
paid_amountnumber
refund_amountnumber
tax_amountnumber
discount_amountnumber
balance_amountnumber
invoice_numberstring
referencestring
contact_idstring
currencystring
notesstring
refund_reasonstring
term'ON_RECEIPT' | 'NET_7' | 'NET_10' | 'NET_15' | 'NET_20' | 'NET_25' | 'NET_30' | 'NET_45' | 'NET_60' | 'NET_90' | 'OTHER'
payment_terms'ON_RECEIPT' | 'NET_7' | 'NET_10' | 'NET_15' | 'NET_20' | 'NET_25' | 'NET_30' | 'NET_45' | 'NET_60' | 'NET_90' | 'OTHER'
paymentterm_idstring
status'DRAFT' | 'VOIDED' | 'AUTHORIZED' | 'PAID' | 'PARTIALLY_PAID' | 'PARTIALLY_REFUNDED' | 'REFUNDED' | 'SUBMITTED' | 'DELETED' | 'OVERDUE'
urlstring
payment_collection_method'send_invoice' | 'charge_automatically'
type'BILL' | 'INVOICE' | 'CREDITMEMO'
sendboolean
organization_idstring
category_idsstring[]
project_idstring
rawobject

Response

Successful

idstring
created_atstring date-time
updated_atstring date-time
due_atstring date-time
paid_atstring date-time
refunded_atstring date-time
cancelled_atstring date-time
posted_atstring date-time
total_amountnumber
paid_amountnumber
refund_amountnumber
tax_amountnumber
discount_amountnumber
balance_amountnumber
invoice_numberstring
referencestring
contact_idstring
currencystring
notesstring
refund_reasonstring
term'ON_RECEIPT' | 'NET_7' | 'NET_10' | 'NET_15' | 'NET_20' | 'NET_25' | 'NET_30' | 'NET_45' | 'NET_60' | 'NET_90' | 'OTHER'
payment_terms'ON_RECEIPT' | 'NET_7' | 'NET_10' | 'NET_15' | 'NET_20' | 'NET_25' | 'NET_30' | 'NET_45' | 'NET_60' | 'NET_90' | 'OTHER'
paymentterm_idstring
status'DRAFT' | 'VOIDED' | 'AUTHORIZED' | 'PAID' | 'PARTIALLY_PAID' | 'PARTIALLY_REFUNDED' | 'REFUNDED' | 'SUBMITTED' | 'DELETED' | 'OVERDUE'
urlstring
payment_collection_method'send_invoice' | 'charge_automatically'
type'BILL' | 'INVOICE' | 'CREDITMEMO'
sendboolean
organization_idstring
category_idsstring[]
project_idstring
rawobject

Changes

Changed in 6 of the 25 revisions of this API.829

    • added the new optional request property

      new-optional-request-property

    • added the enum value extended_notes to the property items/ of the query request parameter fields

      request-parameter-property-enum-value-added

    • added the optional property to the response with the status

      response-optional-property-added

    This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • added the new optional request property

      new-optional-request-property

    • added the enum value paymentterm_id to the property items/ of the query request parameter fields

      request-parameter-property-enum-value-added

    • added the optional property to the response with the status

      response-optional-property-added

  • 1c744a7590b425See the full diff
    • added the new SERVICE_CHARGE enum value to the //// response property for the response status

      response-property-enum-value-added

    • added the new TIP enum value to the //// response property for the response status

      response-property-enum-value-added

    • added the new optional request property

      new-optional-request-property

    • added the enum value metadata to the property items/ of the query request parameter fields

      request-parameter-property-enum-value-added

    • added the new SERVICE_CHARGE enum value to the request property ////

      request-property-enum-value-added

    • added the new TIP enum value to the request property ////

      request-property-enum-value-added

    • added the optional property to the response with the status

      response-optional-property-added

    • added the new optional request property

      new-optional-request-property

    • added the enum value project_id to the property items/ of the query request parameter fields

      request-parameter-property-enum-value-added

    • added the optional property to the response with the status

      response-optional-property-added

  • 963bcc74f9e3312See the full diff
    • added the new NET_45 enum value to the response property for the response status

      response-property-enum-value-added

    • added the new NET_90 enum value to the response property for the response status

      response-property-enum-value-added

    • added the new OTHER enum value to the response property for the response status

      response-property-enum-value-added

    • added the new optional request property

      new-optional-request-property

    • added the new optional request property

      new-optional-request-property

    • added the new optional request property

      new-optional-request-property

    • added the enum value category_ids to the property items/ of the query request parameter fields

      request-parameter-property-enum-value-added

    • added the enum value payment_terms to the property items/ of the query request parameter fields

      request-parameter-property-enum-value-added

    • added the enum value payments to the property items/ of the query request parameter fields

      request-parameter-property-enum-value-added

    • added the new NET_45 enum value to the request property

      request-property-enum-value-added

    • added the new NET_90 enum value to the request property

      request-property-enum-value-added

    • added the new OTHER enum value to the request property

      request-property-enum-value-added

    • added the optional property to the response with the status

      response-optional-property-added

    • added the optional property to the response with the status

      response-optional-property-added

    • added the optional property to the response with the status

      response-optional-property-added

  • 8f243766856733See the full diff
    • added the new NET_20 enum value to the response property for the response status

      response-property-enum-value-added

    • added the new NET_25 enum value to the response property for the response status

      response-property-enum-value-added

    • added the new NET_7 enum value to the response property for the response status

      response-property-enum-value-added

    • added the new NET_20 enum value to the request property

      request-property-enum-value-added

    • added the new NET_25 enum value to the request property

      request-property-enum-value-added

    • added the new NET_7 enum value to the request property

      request-property-enum-value-added