{
  "opencollection": "1.0.0",
  "info": {
    "name": "Accounting subpackage_vendorCredits API",
    "version": "1.0.0"
  },
  "items": [
    {
      "info": {
        "name": "subpackage_vendorCredits",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.merge.dev/api/accounting/v1/vendor-credits",
            "headers": [
              {
                "name": "Authorization",
                "value": ""
              },
              {
                "name": "X-Account-Token",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "company_id",
                "value": "",
                "type": "query",
                "description": "If provided, will only return vendor credits for this company."
              },
              {
                "name": "created_after",
                "value": "",
                "type": "query",
                "description": "If provided, will only return objects created after this datetime."
              },
              {
                "name": "created_before",
                "value": "",
                "type": "query",
                "description": "If provided, will only return objects created before this datetime."
              },
              {
                "name": "cursor",
                "value": "",
                "type": "query",
                "description": "The pagination cursor value."
              },
              {
                "name": "expand",
                "value": "",
                "type": "query",
                "description": "Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces."
              },
              {
                "name": "include_deleted_data",
                "value": "",
                "type": "query",
                "description": "Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/)."
              },
              {
                "name": "include_remote_data",
                "value": "",
                "type": "query",
                "description": "Whether to include the original data Merge fetched from the third-party to produce these models."
              },
              {
                "name": "include_shell_data",
                "value": "",
                "type": "query",
                "description": "Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null)."
              },
              {
                "name": "modified_after",
                "value": "",
                "type": "query",
                "description": "If provided, only objects synced by Merge after this date time will be returned."
              },
              {
                "name": "modified_before",
                "value": "",
                "type": "query",
                "description": "If provided, only objects synced by Merge before this date time will be returned."
              },
              {
                "name": "page_size",
                "value": "",
                "type": "query",
                "description": "Number of results to return per page. The maximum limit is 100."
              },
              {
                "name": "remote_id",
                "value": "",
                "type": "query",
                "description": "The API provider's ID for the given object."
              },
              {
                "name": "transaction_date_after",
                "value": "",
                "type": "query",
                "description": "If provided, will only return objects created after this datetime."
              },
              {
                "name": "transaction_date_before",
                "value": "",
                "type": "query",
                "description": "If provided, will only return objects created before this datetime."
              }
            ]
          },
          "docs": "Returns a list of `VendorCredit` objects.{/* BEGIN_ACCOUNTING_VENDORCREDIT_FETCH_SUPPORTED_FIELDS */}<Footer><MergeSupportedFieldsByIntegrationWidget requestType=\"GET\" data=\"H4sIAAAAAAAAA+1XYW/aOhT9K8gfESGjjFVFepoosJXqETpKq1VTZV2cSzA4dmo7lDLtvz8loSu0YazvpZv21I/4Xh/7Ht9zbvhKGFgMlL4jTQKMqVhaLgNSIaHyUZAmuUTpK93W6HNLKgQi7kGIW9l0cUAqxMRRpLRF/wNH4ZsTjRPSJG6IOkAnlnzC0XcfNrlcWgw0WK6kcb9vdibpblIhgss5+q1sw364LN1Zrzz6aVzBTXL9CIyxU63iYDrEmxjNTyAndxMYorQgHB8suBsojs5g8taSKnwUaNHvgIUOWmRJuesTp9ZGpum6UxRRNT296u"
        },
        {
          "info": {
            "name": "Create",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.merge.dev/api/accounting/v1/vendor-credits",
            "headers": [
              {
                "name": "Authorization",
                "value": ""
              },
              {
                "name": "X-Account-Token",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "is_debug_mode",
                "value": "",
                "type": "query",
                "description": "Whether to include debug fields (such as log file links) in the response."
              },
              {
                "name": "run_async",
                "value": "",
                "type": "query",
                "description": "Whether or not third-party updates should be run asynchronously."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates a `VendorCredit` object with the given values.{/* BEGIN_ACCOUNTING_VENDORCREDIT_CREATE_SUPPORTED_FIELDS */}<Footer><MergeSupportedFieldsByIntegrationWidget requestType=\"POST\" data=\"H4sIAAAAAAAAA82Vb2/aMBDGv0rllwiSUcaqIk0TBbZSDbO1tFpXTdZhH8HFsVPboZRp331ygEK3lrVa9+ed4/ie8z2/u+Qr4eAxMfaGNAhwbnLtpU5ImaRGoCINcoZaGNuyKKQnZQKZpJDindNsukvKxOVZZqxH8VaiEu7Q4og0SJyiTbCSazmSKOJ1UCy1x8SCl0a7+Da4MiqiSZkoqScomouAX8stjleWOz88ulhJF66fgXN+bE2ejI/xKkf3COVwN4Upag+qIsBDvKFSsQuZ+/ZCFQIVehRt8NBGjzyUu8w49j5zjTg"
        },
        {
          "info": {
            "name": "Retrieve",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.merge.dev/api/accounting/v1/vendor-credits/:id",
            "headers": [
              {
                "name": "Authorization",
                "value": ""
              },
              {
                "name": "X-Account-Token",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              },
              {
                "name": "expand",
                "value": "",
                "type": "query",
                "description": "Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces."
              },
              {
                "name": "include_remote_data",
                "value": "",
                "type": "query",
                "description": "Whether to include the original data Merge fetched from the third-party to produce these models."
              },
              {
                "name": "include_shell_data",
                "value": "",
                "type": "query",
                "description": "Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null)."
              }
            ]
          },
          "docs": "Returns a `VendorCredit` object with the given `id`.{/* BEGIN_ACCOUNTING_VENDORCREDIT_FETCH_SUPPORTED_FIELDS */}<Footer><MergeSupportedFieldsByIntegrationWidget requestType=\"GET\" data=\"H4sIAAAAAAAAA+1XYW/aOhT9K8gfESGjjFVFepoosJXqETpKq1VTZV2cSzA4dmo7lDLtvz8loSu0YazvpZv21I/4Xh/7Ht9zbvhKGFgMlL4jTQKMqVhaLgNSIaHyUZAmuUTpK93W6HNLKgQi7kGIW9l0cUAqxMRRpLRF/wNH4ZsTjRPSJG6IOkAnlnzC0XcfNrlcWgw0WK6kcb9vdibpblIhgss5+q1sw364LN1Zrzz6aVzBTXL9CIyxU63iYDrEmxjNTyAndxMYorQgHB8suBsojs5g8taSKnwUaNHvgIUOWmRJuesTp9ZGpum"
        },
        {
          "info": {
            "name": "Partial Update",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://api.merge.dev/api/accounting/v1/vendor-credits/:id",
            "headers": [
              {
                "name": "Authorization",
                "value": ""
              },
              {
                "name": "X-Account-Token",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              },
              {
                "name": "is_debug_mode",
                "value": "",
                "type": "query",
                "description": "Whether to include debug fields (such as log file links) in the response."
              },
              {
                "name": "run_async",
                "value": "",
                "type": "query",
                "description": "Whether or not third-party updates should be run asynchronously."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Updates a `VendorCredit` object with the given `id`.{/* BEGIN_ACCOUNTING_VENDORCREDIT_EDIT_SUPPORTED_FIELDS */}<Footer><MergeSupportedFieldsByIntegrationWidget requestType=\"PATCH\" data=\"H4sIAAAAAAAAA71UbU8iMRD+K5d+JPtygGgkuVx48RQSllNXozGmGbrDUui2S9sFxPjfL12Iwp0X7y6e3zrtzDPT53naR8LAYqr0A2kSYEwV0nKZEo9kKkFBmuQaZaJ0R2PCLfEI5DyCDPey6aJGPGKKPFfaYvKNo0jMmcYxaZIwQ52iX0g+5piEL0UhlxZTDZYracLnYn9cVhOPCC5nmLQ2BW/DbdL97c5PoQkFN278HIyxE62KdHKB8wLNHyC72QRmKC0IPwEL4Q6Krzcwr+25WyQo0GLSBQtdtMjcdbcdJ9bmphmGExR5UH"
        },
        {
          "info": {
            "name": "Application Create",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.merge.dev/api/accounting/v1/vendor-credits/:id/application",
            "headers": [
              {
                "name": "Authorization",
                "value": ""
              },
              {
                "name": "X-Account-Token",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              },
              {
                "name": "is_debug_mode",
                "value": "",
                "type": "query",
                "description": "Whether to include debug fields (such as log file links) in the response."
              },
              {
                "name": "run_async",
                "value": "",
                "type": "query",
                "description": "Whether or not third-party updates should be run asynchronously."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates a new VendorCreditApplyLine to apply a vendor credit to an invoice{/* BEGIN_ACCOUNTING_VENDORCREDIT_CREATE_SUPPORTED_FIELDS */}<Footer><MergeSupportedFieldsByIntegrationWidget requestType=\"POST\" data=\"H4sIAAAAAAAAA82Vb2/aMBDGv0rllwiSUcaqIk0TBbZSDbO1tFpXTdZhH8HFsVPboZRp331ygEK3lrVa9+ed4/ie8z2/u+Qr4eAxMfaGNAhwbnLtpU5ImaRGoCINcoZaGNuyKKQnZQKZpJDindNsukvKxOVZZqxH8VaiEu7Q4og0SJyiTbCSazmSKOJ1UCy1x8SCl0a7+Da4MiqiSZkoqScomouAX8stjleWOz88ulhJF66fgXN+bE2ejI/xKkf3COVwN4Upag+qIsBDvKFSsQuZ+/ZCFQIVehR"
        },
        {
          "info": {
            "name": "Meta Patch Retrieve",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.merge.dev/api/accounting/v1/vendor-credits/meta/patch/:id",
            "headers": [
              {
                "name": "Authorization",
                "value": ""
              },
              {
                "name": "X-Account-Token",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Returns metadata for `VendorCredit` PATCHs.{/* BEGIN_ACCOUNTING_VENDORCREDIT_FETCH_SUPPORTED_FIELDS */}<Footer><MergeSupportedFieldsByIntegrationWidget requestType=\"GET\" data=\"H4sIAAAAAAAAA+1XYW/aOhT9K8gfESGjjFVFepoosJXqETpKq1VTZV2cSzA4dmo7lDLtvz8loSu0YazvpZv21I/4Xh/7Ht9zbvhKGFgMlL4jTQKMqVhaLgNSIaHyUZAmuUTpK93W6HNLKgQi7kGIW9l0cUAqxMRRpLRF/wNH4ZsTjRPSJG6IOkAnlnzC0XcfNrlcWgw0WK6kcb9vdibpblIhgss5+q1sw364LN1Zrzz6aVzBTXL9CIyxU63iYDrEmxjNTyAndxMYorQgHB8suBsojs5g8taSKnwUaNHvgIUOWmRJuesTp9ZGpum6UxRRNT29"
        },
        {
          "info": {
            "name": "Meta Post Retrieve",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.merge.dev/api/accounting/v1/vendor-credits/meta/post",
            "headers": [
              {
                "name": "Authorization",
                "value": ""
              },
              {
                "name": "X-Account-Token",
                "value": ""
              }
            ]
          },
          "docs": "Returns metadata for `VendorCredit` POSTs.{/* BEGIN_ACCOUNTING_VENDORCREDIT_FETCH_SUPPORTED_FIELDS */}<Footer><MergeSupportedFieldsByIntegrationWidget requestType=\"GET\" data=\"H4sIAAAAAAAAA+1XYW/aOhT9K8gfESGjjFVFepoosJXqETpKq1VTZV2cSzA4dmo7lDLtvz8loSu0YazvpZv21I/4Xh/7Ht9zbvhKGFgMlL4jTQKMqVhaLgNSIaHyUZAmuUTpK93W6HNLKgQi7kGIW9l0cUAqxMRRpLRF/wNH4ZsTjRPSJG6IOkAnlnzC0XcfNrlcWgw0WK6kcb9vdibpblIhgss5+q1sw364LN1Zrzz6aVzBTXL9CIyxU63iYDrEmxjNTyAndxMYorQgHB8suBsojs5g8taSKnwUaNHvgIUOWmRJuesTp9ZGpum6UxRRNT296"
        }
      ]
    }
  ],
  "bundled": true
}