{
  "opencollection": "1.0.0",
  "info": {
    "name": "Invoice Ninja v5 API",
    "version": "5.0"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "X-Api-Token",
      "value": "{{X-Api-Token}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "Authentication",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Login",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://invoicing.co/api/v1/login",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Login"
        },
        {
          "info": {
            "name": "Refresh data",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://invoicing.co/api/v1/refresh",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Refresh data by timestamp."
        }
      ]
    },
    {
      "info": {
        "name": "Activities",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List activities",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://invoicing.co/api/v1/activities"
          },
          "docs": "List activities"
        },
        {
          "info": {
            "name": "Download activity entity PDF",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://invoicing.co/api/v1/activities/download_entity/:activity_id",
            "params": [
              {
                "name": "activity_id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Download activity entity PDF"
        },
        {
          "info": {
            "name": "Get entity activities",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://invoicing.co/api/v1/activities/entity",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Get entity activities"
        }
      ]
    },
    {
      "info": {
        "name": "Companies",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List companies",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://invoicing.co/api/v1/companies"
          },
          "docs": "List companies"
        },
        {
          "info": {
            "name": "Create company",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://invoicing.co/api/v1/companies",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create company"
        },
        {
          "info": {
            "name": "Get company",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://invoicing.co/api/v1/companies/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Get company"
        },
        {
          "info": {
            "name": "Update company",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://invoicing.co/api/v1/companies/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update company"
        },
        {
          "info": {
            "name": "Delete company",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://invoicing.co/api/v1/companies/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Delete company"
        },
        {
          "info": {
            "name": "Upload company documents",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://invoicing.co/api/v1/companies/:id/upload",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "multipart-form",
              "data": [
                {
                  "name": "documents",
                  "type": "text",
                  "value": ""
                }
              ]
            }
          },
          "docs": "Upload company documents"
        },
        {
          "info": {
            "name": "Get current company",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://invoicing.co/api/v1/companies/current"
          },
          "docs": "Get current company"
        }
      ]
    },
    {
      "info": {
        "name": "Company Gateways",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List company gateways",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://invoicing.co/api/v1/company_gateways"
          },
          "docs": "List company gateways"
        },
        {
          "info": {
            "name": "Create company gateway",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://invoicing.co/api/v1/company_gateways",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create company gateway"
        },
        {
          "info": {
            "name": "Get company gateway",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://invoicing.co/api/v1/company_gateways/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Get company gateway"
        },
        {
          "info": {
            "name": "Update company gateway",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://invoicing.co/api/v1/company_gateways/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update company gateway"
        }
      ]
    },
    {
      "info": {
        "name": "Client Gateway Tokens",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List client gateway tokens",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://invoicing.co/api/v1/client_gateway_tokens"
          },
          "docs": "List client gateway tokens"
        },
        {
          "info": {
            "name": "Create client gateway token",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://invoicing.co/api/v1/client_gateway_tokens",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create client gateway token"
        },
        {
          "info": {
            "name": "Get client gateway token",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://invoicing.co/api/v1/client_gateway_tokens/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Get client gateway token"
        },
        {
          "info": {
            "name": "Update client gateway token",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://invoicing.co/api/v1/client_gateway_tokens/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update client gateway token"
        },
        {
          "info": {
            "name": "Delete client gateway token",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://invoicing.co/api/v1/client_gateway_tokens/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Delete client gateway token"
        }
      ]
    },
    {
      "info": {
        "name": "Bank Integrations",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List bank integrations",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://invoicing.co/api/v1/bank_integrations"
          },
          "docs": "List bank integrations"
        },
        {
          "info": {
            "name": "Create bank integration",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://invoicing.co/api/v1/bank_integrations",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create bank integration"
        },
        {
          "info": {
            "name": "Get bank integration",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://invoicing.co/api/v1/bank_integrations/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Get bank integration"
        },
        {
          "info": {
            "name": "Update bank integration",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://invoicing.co/api/v1/bank_integrations/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update bank integration"
        },
        {
          "info": {
            "name": "Delete bank integration",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://invoicing.co/api/v1/bank_integrations/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Delete bank integration"
        },
        {
          "info": {
            "name": "Refresh bank accounts",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://invoicing.co/api/v1/bank_integrations/refresh_accounts"
          },
          "docs": "Refresh bank accounts"
        }
      ]
    },
    {
      "info": {
        "name": "Bank Transactions",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List bank transactions",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://invoicing.co/api/v1/bank_transactions"
          },
          "docs": "List bank transactions"
        },
        {
          "info": {
            "name": "Create bank transaction",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://invoicing.co/api/v1/bank_transactions",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create bank transaction"
        },
        {
          "info": {
            "name": "Get bank transaction",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://invoicing.co/api/v1/bank_transactions/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Get bank transaction"
        },
        {
          "info": {
            "name": "Update bank transaction",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://invoicing.co/api/v1/bank_transactions/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update bank transaction"
        },
        {
          "info": {
            "name": "Delete bank transaction",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://invoicing.co/api/v1/bank_transactions/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Delete bank transaction"
        },
        {
          "info": {
            "name": "Match bank transactions to invoices/payments",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://invoicing.co/api/v1/bank_transactions/match",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Match bank transactions to invoices/payments"
        }
      ]
    },
    {
      "info": {
        "name": "Bank Transaction Rules",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List bank transaction rules",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://invoicing.co/api/v1/bank_transaction_rules"
          },
          "docs": "List bank transaction rules"
        },
        {
          "info": {
            "name": "Create bank transaction rule",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://invoicing.co/api/v1/bank_transaction_rules",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create bank transaction rule"
        },
        {
          "info": {
            "name": "Get rule",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://invoicing.co/api/v1/bank_transaction_rules/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Get rule"
        },
        {
          "info": {
            "name": "Update rule",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://invoicing.co/api/v1/bank_transaction_rules/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update rule"
        },
        {
          "info": {
            "name": "Delete rule",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://invoicing.co/api/v1/bank_transaction_rules/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Delete rule"
        }
      ]
    },
    {
      "info": {
        "name": "Charts",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get chart totals",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://invoicing.co/api/v1/charts/totals",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Get chart totals"
        },
        {
          "info": {
            "name": "Get chart totals (v2)",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://invoicing.co/api/v1/charts/totals_v2",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Get chart totals (v2)"
        },
        {
          "info": {
            "name": "Get chart summary (v2)",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://invoicing.co/api/v1/charts/chart_summary_v2",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Get chart summary (v2)"
        },
        {
          "info": {
            "name": "Get chart calculated fields",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://invoicing.co/api/v1/charts/calculated_fields",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Get chart calculated fields"
        }
      ]
    },
    {
      "info": {
        "name": "Settings",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List passkeys",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://invoicing.co/api/v1/settings/passkeys"
          },
          "docs": "List passkeys"
        },
        {
          "info": {
            "name": "Register a passkey",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://invoicing.co/api/v1/settings/passkeys",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Register a passkey"
        }
      ]
    }
  ],
  "bundled": true
}