There are several methods available for creating accounting entries.
This page provides information about the general structure of an accounting entry as returned in a query.
For the creation process, please refer to How to create?
Accounting entries, known as AccountingEntry in the API context and Journal entries in the product interface, in the context of financial management and record-keeping, refer to the detailed transactions that accurately record the movement of funds, assets, liabilities, and equity within an organization.
These entries serve as crucial components of a company’s financial records, capturing various financial activities such as revenue generation, expense allocation, and asset acquisitions.
Accounting entries are categorized and organized into journals based on their specific characteristics, and these characteristics are determined by the associated journal.
It’s important to note that an accounting entry must be balanced, ensuring that debits equal credits.
This means that accounting entries are complete accounting documents rather than individual lines of entries
session DATALOADERUtilize the DATALOADER feature to enrich your query by adding additional resource fields directly in the query.NEWNew Feature Recently Added
Session
Fields of Session (id, name, stamp,deactivated) See InfoAdditional information is available in the Info block below
sessionId DIn creation, this field can have a default value automatically calculatedNEWNew Feature Recently Added
UUID
Session id See InfoAdditional information is available in the Info block below
number
Decimal
Number See InfoAdditional information is available in the Info block below
description
String
Description See InfoAdditional information is available in the Info block below
200
closeDate InvThis field is not visible in the product interface
Datetime DateThe GraphQL field type is DateTime, but only the date value is considered, the time value is ignored if provided.
closing date of entry
isClosed
Boolean
True if closed
accountingEntryLines[]
Array
List of all lines of entry See InfoAdditional information is available in the Info block below
salesInvoiceDATALOADERUtilize the DATALOADER feature to enrich your query by adding additional resource fields directly in the query.NEWNew Feature Recently Added
salesInvoice
Sales Invoice Header Fields See InfoAdditional information is available in the Info block below
sourceEntityId NEWNew Feature Recently Added
UUID
If provided, see sourceType to identify the entity See InfoAdditional information is available in the Info block below
sourceType NEWNew Feature Recently Added
NOT_SPECIFIED
SALES
ACCOUNTING
IMPORT_FILES
YEAR_END_PROCESS
AP_AUTOMATION
PUBLIC_API COMING SOON This feature is currently in development and will be available in the next version. It’s already documented to keep you informed about its upcoming availability
indicates the origin of the accounting entrySee InfoAdditional information is available in the Info block below
Info
number : operational Number Counter Id
description : optional value, used as template for lines from the interface to assign default value to lines.
accountingEntryLines : List of lines in the accounting entry, the accounting entry must be balanced, the total of the lines with a debit must be equal to the total of the lines with a credit. Adding an unbalanced entry will return an error.
sourceEntityId : ID of a sales invoice, purchase invoice, collected payment, or issued payment, this value can be null.
If this value is provided, refer to the sourceType to determine the associated entity.
Note that salesInvoiceId holds the same value as sourceEntityId when sourceType=SALES
sourceType : Indicates the origin of the accounting entry, detailing how it was generated. This field categorizes entries based on their source, such as sales, purchases, collections, and various import processes among others, to provide clarity and facilitate tracking of financial activities.
Each source type corresponds to a specific method or area within the business operations that has contributed to the accounting record.
salesInvoice : Only invoice header fields are available. To obtain other information (such as lines, addresses, etc.), use the salesInvoice operation directly.
sessionId and session:
A session adds identifiable information to journal entries.
Unused (For Germany only).
Unused (For Germany only).
sessionId: the session identifier, this value is mandatory.
session allows retrieving:
id: the session identifier, which can be retrieved here or via sessionId.
name: the session name (e.g., Automatisch erstellt)
stamp: the session name and timestamp (e.g., Automatisch erstellt 12.06.2024 10:20:04)
deactivated: the session status. When true, the session cannot be used for a new accounting entry.
accountingEntries/accountingEntryLines
Fields
Type
Description
Length
idSSystem field that cannot be assigned
UUID
Id
subAccountDATALOADERUtilize the DATALOADER feature to enrich your query by adding additional resource fields directly in the query.
Status matching See InfoAdditional information is available in the Info block below
matchingLetter
String
Letter matching See InfoAdditional information is available in the Info block below
5
Info
Information available only in reading mode concerning the lettering of the line.
matching: Indicates if the line corresponds to a complete or partial lettering. Can take the values FULL_MATCH for a complete lettering, PARTIAL_MATCH for a partial lettering.
matchingLetter: letter A, B, C … for a complete lettering, letter a, b, c … for a partial lettering.
An Open Item is a financial transaction that allows you to know if it has been fully settled or paid.
Each open item includes detailed information such as the total amount, accumulated amount paid, and the payment due date.
For a single invoice, there can be as many open items as there are different payment installments, which is why openItems is structured as an array to accommodate multiple entries per invoice.
The payment status provides insight into the progress of settling each item.
Additionally, the identifier of the payment method used is provided to track the settlement method.
Fields
Type
Description
idSSystem field that cannot be assigned
UUID
Unique identifier of the item
amount
Decimal
Total amount of the item See InfoAdditional information is available in the Info block below
creationDate
DateTime
Creation date of the item
modificationDate
DateTime
Last modification date of the item, null if not modified
paidAmountAccumulated
Decimal
Accumulated amount that has been paid See InfoAdditional information is available in the Info block below
dueDate
DateTime
Due date for the payment See InfoAdditional information is available in the Info block below
status
NOT_SPECIFIED
COLLECTED
PAID
PARTIAL
Status of the payment See InfoAdditional information is available in the Info block below
paymentMeanDATALOADERUtilize the DATALOADER feature to enrich your query by adding additional resource fields directly in the query.