Skip to content

Commit

Permalink
Release v0.3.28
Browse files Browse the repository at this point in the history
  • Loading branch information
fern-api[bot] committed Apr 13, 2024
1 parent a1b3ddd commit b3ca5e7
Showing 1 changed file with 58 additions and 4 deletions.
62 changes: 58 additions & 4 deletions collection.json
Original file line number Diff line number Diff line change
Expand Up @@ -1204,7 +1204,7 @@
"request": {
"description": "Get invoices for an entity with the given filters.",
"url": {
"raw": "{{baseUrl}}/entity/:entityId/invoices?excludePayables=&excludeReceivables=&startDate=&endDate=&orderBy=&orderDirection=&limit=&startingAfter=&search=&payerId=&vendorId=&approverId=&invoiceId=&status=&includeFees=",
"raw": "{{baseUrl}}/entity/:entityId/invoices?excludePayables=&excludeReceivables=&startDate=&endDate=&orderBy=&orderDirection=&limit=&startingAfter=&search=&payerId=&vendorId=&approverId=&approverAction=&invoiceId=&status=&includeFees=",
"host": [
"{{baseUrl}}"
],
Expand Down Expand Up @@ -1274,6 +1274,11 @@
"value": "",
"description": "Filter invoices by assigned approver user ID."
},
{
"key": "approverAction",
"value": "",
"description": "Filter invoices by approver action. Needs to be used with approverId. For example, if you want to find all invoices that have been approved by a specific user, you would use approverId and approverAction=APPROVE."
},
{
"key": "invoiceId",
"value": "",
Expand Down Expand Up @@ -1352,9 +1357,9 @@
"_type": "endpoint",
"name": "Get Metrics",
"request": {
"description": "Get invoice metrics for an entity with the given filters.",
"description": "Get invoice metrics for an entity with the given filters. Invoices will be grouped by currency.",
"url": {
"raw": "{{baseUrl}}/entity/:entityId/invoice-metrics?search=&excludePayables=&excludeReceivables=&payerId=&vendorId=&approverId=&invoiceId=&status=&dueDateStart=&dueDateEnd=&createdDateStart=&createdDateEnd=&currency=",
"raw": "{{baseUrl}}/entity/:entityId/invoice-metrics?search=&excludePayables=&excludeReceivables=&returnByDate=&payerId=&vendorId=&approverId=&invoiceId=&status=&dueDateStart=&dueDateEnd=&createdDateStart=&createdDateEnd=&currency=",
"host": [
"{{baseUrl}}"
],
Expand All @@ -1379,6 +1384,11 @@
"value": "",
"description": "Only return invoices that are not receivable by the entity. This will return only invoices that are payable by the entity."
},
{
"key": "returnByDate",
"value": "",
"description": "Return invoice metrics grouped by date."
},
{
"key": "payerId",
"value": "",
Expand Down Expand Up @@ -2883,6 +2893,45 @@
"description": null,
"name": "Approval",
"item": [
{
"_type": "endpoint",
"name": "Add Approver",
"request": {
"description": "Adds an approver to the invoice. Will select the first available approver slot that is not already filled and assign the approver to it. If no approver slots are available, an error will be returned. An explicit approver slot can be specified by setting the `approverSlot` field.",
"url": {
"raw": "{{baseUrl}}/invoice/:invoiceId/add-approver",
"host": [
"{{baseUrl}}"
],
"path": [
"invoice",
":invoiceId",
"add-approver"
],
"query": [],
"variable": [
{
"key": "invoiceId",
"value": "",
"description": null
}
]
},
"header": [],
"method": "POST",
"auth": null,
"body": {
"mode": "raw",
"raw": "{\n \"approvalSlotId\": \"example\",\n \"userId\": \"example\"\n}",
"options": {
"raw": {
"language": "json"
}
}
}
},
"response": []
},
{
"_type": "endpoint",
"name": "Approve",
Expand Down Expand Up @@ -3427,7 +3476,7 @@
"request": {
"description": "Search invoices for all entities in the organization",
"url": {
"raw": "{{baseUrl}}/invoices?entityId=&startDate=&endDate=&orderBy=&orderDirection=&limit=&startingAfter=&search=&payerId=&vendorId=&approverId=&invoiceId=&status=&includeFees=",
"raw": "{{baseUrl}}/invoices?entityId=&startDate=&endDate=&orderBy=&orderDirection=&limit=&startingAfter=&search=&payerId=&vendorId=&approverId=&approverAction=&invoiceId=&status=&includeFees=",
"host": [
"{{baseUrl}}"
],
Expand Down Expand Up @@ -3490,6 +3539,11 @@
"value": "",
"description": "Filter invoices by assigned approver user ID."
},
{
"key": "approverAction",
"value": "",
"description": "Filter invoices by approver action. Needs to be used with approverId. For example, if you want to find all invoices that have been approved by a specific user, you would use approverId and approverAction=APPROVE."
},
{
"key": "invoiceId",
"value": "",
Expand Down

0 comments on commit b3ca5e7

Please sign in to comment.