> ## Documentation Index > Fetch the complete documentation index at: https://docs.restaurant365.com/llms.txt > Use this file to discover all available pages before exploring further. # /public/accounting/v1/transactions > Retrieves transactions with optional filtering and pagination ## OpenAPI ````json GET /public/accounting/v1/transactions { "openapi": "3.0.1", "info": { "title": "R365.PublicApi", "contact": { "name": "R365 Services Team", "email": "r365@restaurant365.com" }, "version": "1.0" }, "security": [ { "Bearer": [] } ], "paths": { "/public/accounting/v1/transactions": { "get": { "tags": [ "accounting" ], "description": "Retrieves transactions with optional filtering and pagination", "parameters": [ { "name": "LocationId", "in": "query", "description": "Location. Required. Only a single location is supported for v1", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "ModifiedOnStart", "in": "query", "description": "Modified date start (inclusive)", "schema": { "type": "string", "format": "date-time" } }, { "name": "ModifiedOnEnd", "in": "query", "description": "Modified date end (inclusive)", "schema": { "type": "string", "format": "date-time" } }, { "name": "DateOfBusinessStart", "in": "query", "description": "Date of business start (inclusive)", "schema": { "type": "string", "format": "date" } }, { "name": "DateOfBusinessEnd", "in": "query", "description": "Date of business end (inclusive)", "schema": { "type": "string", "format": "date" } }, { "name": "Status", "in": "query", "description": "Approval status. Valid values: Unapproved, Approved", "schema": { "type": "string" } }, { "name": "TransactionTypes", "in": "query", "description": "Transaction types. Valid values: APInvoice, APCreditMemo, APPayment, ARInvoice, ARCreditMemo, ARPayment, JournalEntry, BankExpense, BankTransfer, BankDeposit, InventoryCount, ItemTransfer, WasteLog, CommissaryFulfillment, Donation", "schema": { "type": "array", "items": { "type": "string" } } }, { "name": "IncludeDetails", "in": "query", "description": "Include transaction detail lines in the response", "schema": { "type": "boolean" } }, { "name": "IncludeDistributions", "in": "query", "description": "Include distribution information in the response", "schema": { "type": "boolean" } }, { "name": "PageSize", "in": "query", "description": "Number of results per page. Default: 250, Max: 250", "schema": { "maximum": 250, "minimum": 1, "type": "integer", "format": "int32", "default": 250 } }, { "name": "ContinuationToken", "in": "query", "description": "Continuation token for pagination. Use the nextLink from a previous response to get the next page of results", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Transactions query results.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/R365.Accounting.Public.Contracts.Transactions.Models.QueryTransactionsResponse" } } } }, "422": { "description": "Unprocessable Content", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/R365.Accounting.Public.Models.R365Error" } } } } } } } }, "components": { "schemas": { "R365.Accounting.Public.Contracts.Transactions.Models.QueryTransactionsResponse": { "type": "object", "properties": { "transactions": { "type": "array", "items": { "$ref": "#/components/schemas/R365.Accounting.Public.Contracts.Transactions.Models.Transaction" }, "description": "The collection of transactions for the current page.", "nullable": true }, "nextLink": { "type": "string", "description": "URL to retrieve the next page of results, or null if this is the last page.", "nullable": true } }, "additionalProperties": false, "description": "Paginated response containing queried transactions." }, "R365.Accounting.Public.Models.R365Error": { "type": "object", "properties": { "errorCode": { "type": "string", "nullable": true }, "innerError": { "$ref": "#/components/schemas/R365.Accounting.Public.Models.R365Error" } } }, "R365.Accounting.Public.Contracts.Transactions.Models.Transaction": { "type": "object", "properties": { "id": { "type": "string", "description": "Unique identifier (GUID) of the transaction.", "format": "uuid" }, "type": { "type": "string", "description": "Transaction type name (e.g., \"APInvoice\", \"JournalEntry\").", "nullable": true }, "number": { "type": "string", "description": "Transaction number.", "nullable": true }, "dateOfBusiness": { "type": "string", "description": "Business date of the transaction.", "format": "date-time", "nullable": true }, "templateName": { "type": "string", "description": "Name of the template used to generate this transaction, if any.", "nullable": true }, "debitTotal": { "type": "number", "description": "Total debit amount across all distribution lines.", "format": "double" }, "creditTotal": { "type": "number", "description": "Total credit amount across all distribution lines.", "format": "double" }, "legalEntity": { "$ref": "#/components/schemas/R365.Accounting.Public.Contracts.Transactions.Models.LegalEntityReference" }, "location": { "$ref": "#/components/schemas/R365.Accounting.Public.Contracts.Transactions.Models.LocationReference" }, "comment": { "type": "string", "description": "Free-text comment or memo on the transaction.", "nullable": true }, "spreadType": { "type": "string", "description": "Spread type applied when the transaction spans multiple periods.", "nullable": true }, "status": { "type": "string", "description": "Approval status of the transaction.", "nullable": true }, "modifiedOn": { "type": "string", "description": "Timestamp of the most recent modification.", "format": "date-time", "nullable": true }, "details": { "type": "array", "items": { "$ref": "#/components/schemas/R365.Accounting.Public.Contracts.Transactions.Models.TransactionDetail" }, "description": "Transaction detail lines. Only included when includeDetails is true.", "nullable": true }, "distribution": { "$ref": "#/components/schemas/R365.Accounting.Public.Contracts.Transactions.Models.TransactionDistribution" } }, "additionalProperties": false, "description": "Transaction model for the query transactions public API response." }, "R365.Accounting.Public.Contracts.Transactions.Models.LegalEntityReference": { "type": "object", "properties": { "id": { "type": "string", "description": "Unique identifier (GUID) of the legal entity.", "format": "uuid" }, "name": { "type": "string", "description": "Display name of the legal entity.", "nullable": true }, "number": { "type": "string", "description": "Legal entity number.", "nullable": true } }, "additionalProperties": false, "description": "Legal entity reference for transaction responses." }, "R365.Accounting.Public.Contracts.Transactions.Models.LocationReference": { "type": "object", "properties": { "id": { "type": "string", "description": "Unique identifier (GUID) of the location.", "format": "uuid" }, "name": { "type": "string", "description": "Display name of the location.", "nullable": true }, "number": { "type": "string", "description": "Location number.", "nullable": true } }, "additionalProperties": false, "description": "Location reference for transaction responses." }, "R365.Accounting.Public.Contracts.Transactions.Models.TransactionDetail": { "type": "object", "properties": { "id": { "type": "string", "description": "Unique identifier of the detail line.", "format": "uuid" }, "glAccount": { "$ref": "#/components/schemas/R365.Accounting.Public.Contracts.Transactions.Models.GlAccountReference" }, "debit": { "type": "number", "description": "Debit amount on this line. Zero when the line is a credit.", "format": "double" }, "credit": { "type": "number", "description": "Credit amount on this line. Zero when the line is a debit.", "format": "double" }, "location": { "$ref": "#/components/schemas/R365.Accounting.Public.Contracts.Transactions.Models.LocationReference" }, "legalEntity": { "$ref": "#/components/schemas/R365.Accounting.Public.Contracts.Transactions.Models.LegalEntityReference" }, "comment": { "type": "string", "description": "Free-text comment on this detail line.", "nullable": true } }, "additionalProperties": false, "description": "Transaction detail line for the query transactions public API response." }, "R365.Accounting.Public.Contracts.Transactions.Models.TransactionDistribution": { "type": "object", "properties": { "debitTotal": { "type": "number", "description": "Total debit amount across all distribution lines.", "format": "double" }, "creditTotal": { "type": "number", "description": "Total credit amount across all distribution lines.", "format": "double" }, "lines": { "type": "array", "items": { "$ref": "#/components/schemas/R365.Accounting.Public.Contracts.Transactions.Models.DistributionLine" }, "description": "Individual GL distribution lines.", "nullable": true } }, "additionalProperties": false, "description": "Distribution summary for the query transactions public API response." }, "R365.Accounting.Public.Contracts.Transactions.Models.GlAccountReference": { "type": "object", "properties": { "id": { "type": "string", "description": "Unique identifier (GUID) of the GL account.", "format": "uuid" }, "name": { "type": "string", "description": "Display name of the GL account.", "nullable": true }, "number": { "type": "string", "description": "GL account number.", "nullable": true }, "glType": { "type": "string", "description": "GL type name for this account.", "nullable": true } }, "additionalProperties": false, "description": "GL account reference for transaction responses." }, "R365.Accounting.Public.Contracts.Transactions.Models.DistributionLine": { "type": "object", "properties": { "glAccount": { "$ref": "#/components/schemas/R365.Accounting.Public.Contracts.Transactions.Models.GlAccountReference" }, "location": { "$ref": "#/components/schemas/R365.Accounting.Public.Contracts.Transactions.Models.LocationReference" }, "legalEntity": { "$ref": "#/components/schemas/R365.Accounting.Public.Contracts.Transactions.Models.LegalEntityReference" }, "debit": { "type": "number", "description": "Debit amount on this distribution line. Zero when the line is a credit.", "format": "double" }, "credit": { "type": "number", "description": "Credit amount on this distribution line. Zero when the line is a debit.", "format": "double" }, "comment": { "type": "string", "description": "Comment on this distribution line.", "nullable": true }, "attribute1": { "type": "string", "description": "Custom reporting attribute 1.", "nullable": true }, "attribute2": { "type": "string", "description": "Custom reporting attribute 2.", "nullable": true } }, "additionalProperties": false, "description": "Individual distribution line within a transaction distribution." } }, "securitySchemes": { "Bearer": { "type": "http", "description": "Put **_ONLY_** your JWT Bearer token on textbox below!", "scheme": "Bearer", "bearerFormat": "JWT" } } } } ````