> ## Documentation Index
> Fetch the complete documentation index at: https://docs.useparagon.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Update Bill



## OpenAPI

````yaml /actionkit/openapi.json POST /projects/{project_id}/tools/#SAGE_INTACCT_UPDATE_BILL
openapi: 3.0.0
info:
  title: ActionKit Tools API
  version: 1.0.0
servers:
  - url: https://actionkit.useparagon.com
    description: US Cloud
security: []
paths:
  /projects/{project_id}/tools/#SAGE_INTACCT_UPDATE_BILL:
    post:
      summary: Update Bill
      parameters:
        - name: project_id
          in: path
          required: true
          schema:
            type: string
            description: >-
              Your Paragon Project ID. You can copy your Project ID from your
              dashboard URL or by clicking Copy Project ID under the Environment
              switcher.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                tool:
                  type: string
                  default: SAGE_INTACCT_UPDATE_BILL
                parameters:
                  type: object
                  properties:
                    recordNumber:
                      type: string
                      description: 'Record Number : The record number of the bill to update.'
                    vendorId:
                      type: string
                      description: 'Vendor ID : The vendor ID this bill is for.'
                    date:
                      type: string
                      description: >-
                        Date : Transaction date for when this bill was created.
                        Format as MM/DD/YYYY. (example: "12/15/2030")
                    dueDate:
                      type: string
                      description: >-
                        Due Date : Due date for this bill. Format as MM/DD/YYYY.
                        (example: "12/15/2030")
                    billItems:
                      type: object
                      description: >-
                        Bill Items : Specify Bill Items as a JSON array. If
                        specified, these bill items will replace the current
                        items in the bill. See all available fields in the
                        documentation.
                        (https://developer.intacct.com/api/accounts-payable/bills/#:~:text=with%20%23~%23.-,APBILL.APBILLITEMS.APBILLITEM,-Name).
                        (example: "[{
                          ACCOUNTNO: "1010",
                          TRX_AMOUNT: 500.00,
                          ENTRYDESCRIPTION: "Bill line 1"
                        }]")
                      properties: {}
                    payTo:
                      type: string
                      description: 'Pay To : Name of contact to pay to.'
                    returnTo:
                      type: string
                      description: 'Return To : Name of contact to return to.'
                    billNumber:
                      type: string
                      description: 'Bill Number : ID for the bill.'
                    referenceNumber:
                      type: string
                      description: 'Reference Number : Reference number for the bill.'
                    paymentTerm:
                      type: string
                      description: 'The payment term for this bill. (example: Net 30)'
                    recommendPaymentDate:
                      type: string
                      description: 'Recommended Payment Date : Format as MM/DD/YYYY.'
                    onHold:
                      type: boolean
                      description: On Hold
                    attachment:
                      type: string
                      description: >-
                        Attachment : Specify an ID for an attachment to include
                        in this bill.
                    description:
                      type: string
                      description: Description
                  required:
                    - recordNumber
                    - dueDate
                  x-integration: sageintacct
              required:
                - tool
                - parameters
      responses:
        '200':
          description: Success
      security:
        - BearerAuth: []
components:
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: >-
        Your [Paragon User
        Token](/getting-started/installing-the-connect-sdk#setup) (JWT), which
        you can generate using your project's signing keys.

````