The most common 1C errors and methods for correcting them. The most common 1C errors and methods for correcting them Does it happen that there is a 1C error?


At the beginning of a legal contract, especially in the IT field, there is usually a section called Terms. It explains what this or that IT word means or includes.

But in addition to really complex words like server or website, ordinary, well-known words for programmers can also mean something completely different. For example errors. In a universal sense, this word means wrong action. Something for which its author may even be ashamed.

In the programming sense, the word error probably has two definitions.

What does the term “error” mean in programming and in 1C

An error is a program that behaves differently than intended. Each computer is a unique set of programs and hardware, different from another computer.

Standardization of both hardware and programs allows us to assume that programs will work the same on every computer, but in fact, certain circumstances may always arise when the author of the program will be surprised why the program is doing exactly this way and not otherwise.

This can also probably include those situations when the program does something wrong because the programmer forgot about something or didn’t think about it.

An error is a special message from a program about the current circumstances when the program cannot do what it was supposed to do. It may seem like it's the same thing, but it's not.

For example, the programmer intended that first the user would open the file, and then the program would do such and such. However, when the program was copied to the user's computer and the user forgot to open the file. Or I tried to open it, but the file turned out to be incorrect or the hard drive was broken.
And the program tells the user: Hey, there's an error! I can't do what I should.

1C errors have several levels - firstly, 1C error messages may belong to, which reports the impossibility of performing some actions that it should have performed due to current circumstances.

The second level is 1C errors in a program in the 1C language. Yes, the platform successfully executes a program written by a 1C programmer, but the program may be written incorrectly or also cannot be executed under the current circumstances (on this computer, with such actions of a particular user, etc.).

The third level is 1C errors in the data. The data in the database is interconnected with each other. However, there may be situations where the data gets corrupted. For example, one of the forms does not have sufficient checks to prevent a particularly creative user from entering something incorrectly. Further, the program may work incorrectly, because the algorithm did not expect that someone would enter this..

Error message 1C

1C reports an error in executing a program in the 1C language using a standard window with the text of the 1C error and the OK and More buttons.

Moreover, the secret here is that this window displays only a short 1C error message, which often does not tell the programmer anything.

To see the full details, click on the Details button. Even the program line in which the 1C error occurred will be displayed there. You can also go directly to this line in the configurator.

But users don’t know about this... And they always send a screenshot of that first window. If they send it :)

Throwing an exception

So, we consider a 1C error in programming as a way/opportunity for a program to inform the user that it cannot do something.

Example. You need to open the file. But when opening, 1C errors are possible - for example, the user does not have access to read the file. We can write like this:


If File = False Then
Report("Failed to open file");
Otherwise
//the program moves on, we do something with the file
endIf;

In this example, we took into account that the file may not be opened using the “If” construct.

However, this example has obvious disadvantages:

  • There can be many such options (the file will not open, the file will not be read to the end, the user is drunk, the electricity is turned off..)
  • There may be unaccounted options that the programmer did not think about.

Therefore, in programming it is common to use a technique called “throw an exception” - that is, allow a 1C error to occur.

The program pretends that the file will open anyway. No “If” is written. If something goes wrong, the program will actually report a 1C error - its execution will be interrupted.

1C itself does not open the file - it calls the Windows API command. Windows is also written using this technique. So you can imagine a chain of execution interrupts starting with Windows:

  • 1C language - command to open a file
  • Platform 1C - command to open a file
  • Windows API - open file command
  • Assembly program - command to open a file
  • Oops! File does not open!
  • The assembler program has been interrupted!
  • Windows API function broken!
  • Platform 1C program execution interrupted!
  • The program in 1C language was interrupted!
  • The user sees the message.

Question: who then displays the 1C error message? Where does it come from?

Catching and handling exceptions

This brings us to the next trick: catching exceptions generated during the execution of this chain.

Exceptions move from the lower level of execution up the chain. If the last level did not handle the exception, then the previous level will.

Example. Let's handle the exception in 1C language:
Attempt
File = OpenFile(FileName);
String = File.Read();
Exception
Report("The file could not be opened: does not exist or does not have access rights");
EndAttempt;

In this example, we processed the exception ourselves (i.e., an exceptional situation or a 1C error). Thus, it is we who inform the user about an “error” that has occurred—the inability to open the file.

When we do this ourselves, we may not tell the user anything, but simply follow a different option for executing the program.

It is easy to see that this method can also be used in cases where “some” 1C error may occur in some part of the code. We “catch” it and process it or report it to the user.

What will happen if we do not intercept and process the 1C error at our “top” level? Then the next level below will report it - the 1C platform. We just talked about how she does this and looked at the screenshot.

What happens if the platform doesn't handle this? That's right - this will usually work at a lower level - Windows. In this case, the 1C program will “crash”, and Windows will report that the program has performed an invalid operation and will be closed.

What happens if Windows doesn't handle this? You've probably seen it - your computer will freeze or reboot.

Nested interception and transactions

What messages do you think the user will see when running this example?

Attempt
Attempt
f = 1/0;
Exception
Report("Specific error");
EndAttempt;
Exception
Report("General error");
EndAttempt;

Right! The internal handler will fire and report “Specific error”, but the external one will not work.

However, from the point of view of the program, a 1C error occurred here, although it was worked out. Somewhere in its brain the platform remembered that there was a 1C error.

This has implications for completing transactions. A transaction is several actions on data in a database that must only be performed together. As we understand, 1C errors may be the reason for their failure to complete them together. Therefore, the following mechanism exists:

StartTransaction();
//created directory 1, but in fact it was not written to the database
Ref1.Write();
//created directory 2, but in fact it was not written to the database
Ref2.Write();
CommitTransaction();
//this command wrote to the database everything that was done starting with ‘Start Transaction’

The CommitTransaction() function can be executed only if no 1C errors have occurred since the StartTransaction() call.

If, when writing such code, you understand that this line of code may contain a 1C error, you can set its processing using Attempt/Exception. However, in this case, the platform will still take into account that a 1C error has occurred and will not record the transaction or write data to the database.

Unintentional 1C errors

So, in the 1C program the programmer may make a 1C mistake. In this case, the 1C platform will report it.

In case you cannot understand why and when such a 1C error occurs, you can use Attempt/Exception to handle the 1C error.

Also, Try/Exception can be used in the case when you would like to create a guaranteed error-free section of the program. You can be sure that even if a 1C error occurs, you will catch it and handle it in a special way.

Intentional errors 1C

You can pretend in the text of the program that the file will always open and the number will always be divided. But use Attempt/Exception as a way to switch the program to another fix option in case this happens. Or simply inform the user about the 1C error.

Own 1C error call

You can create functions yourself that, if they cannot be executed, can report this by throwing an exception.

You can do it like this:

Function DoSomething(Parameter)
If Parameter = Undefined Then
Raise Exception "An error occurred in the DoSomething function. Parameter not specified";
endIf;
EndFunction

What is this for? In the case when you create a function that will be used in many places, and maybe others will use it too, this is a nice way to kill several birds with one stone:

  • Work out error 1C
  • Report a 1C error to a higher level (to the program that called this function)
  • Report not only the 1C error, but also the text/details
  • It is guaranteed to interrupt the execution of not only its own function, but also all levels, if the programmer who wrote them did not think that such a 1C error might exist and did not handle it.

More correct ways to report 1C errors

Typically, when you need to communicate something to the user, .

However, in standard configurations, such as Accounting, Trade Management, SCP, there is a special function:
General Purpose.ReportError("Text");

Its advantages:

  • The form of the message depends on the client running
  • Records information in the log book
  • In some configurations, a more beautiful form of 1C error message has been implemented.

Error Analysis

When the 1C platform is running, the registration log works. In addition to user actions, it also stores information about 1C errors that occurred during the operation of the 1C platform.

In the configurator, select the Administration/Log menu item.

Click the Select button (as in the picture). Set the selection of events only for 1C errors.

The log will display a list of errors that occurred. Click on a line to view a specific message in more detail.

Description of the stream format error in 1C 8.3

The stream format error in 1C occurs most often among all users. And usually in such cases it is difficult to explain its appearance - it seems that they were working in 1C, everything is as usual. Once again launching 1C, we receive the following message:

None of the Stream Format Error buttons allow you to launch the database and continue working. Precisely because this error is the most popular and frequent, we will first explain its causes, and only then move on to considering methods for solving it.

Reasons for the stream format error in 1C 8.3

The stream format error in 1C is related to reading the database cache when accessing it. A cache, in simple terms, is auxiliary information (settings, favorites, frequent commands, etc.) 1C, stored in files separate from the database. During operation, 1C regularly accesses the cache. If a situation arises when this access was interrupted (during a power outage, network problems, emergency shutdown of 1C), the cache may be written with errors. In this case, upon subsequent startup, reading the cache will lead to this same error - a stream format error in 1C.

Ways to solve stream format errors in 1C 8.3

Before you start solving the problem using any of the methods, be sure to make a backup copy of your database! This will help you return to the original result in cases where an attempt to solve a problem fails.

To quickly create a backup copy, open the folder with the database (as done in method No. 1) and copy its contents to any other location. Carry out error correction work only with a backup copy!
1.
2.
3.
4.
5.
6.

Clearing the 1C database cache

The simplest and most helpful method is to clear the 1C database cache. To do this, launch 1C: Enterprise and find out the path where the database is stored:

Let's open this folder in Explorer and delete all files except the database file, as shown in the figure below. Note that the number of files may differ; all of them must be deleted, except one - 1Сv8 (file information database).

Clearing 1C cache

The next method is to clear the 1C: Enterprise cache. To do this, you need to open the folders where they are stored. On Windows 7 and higher there are two of them:

C:\Users\Username\AppData\Roaming\1C

C:\Users\Username\AppData\Local\1C

You should delete the 1cv8 folder in both of them:

After clearing the cache, try logging into the database again. Is the error still there? Try the following method.

Correcting the database using the chdbfl.exe utility

It is possible that the stream format error may be related to errors in the database itself. To do this, it is worth checking it using the special program chdbfl.exe, which comes bundled with 1C: Enterprise. To do this, go to the folder with the program (most often this is C:\Program Files\1cv8\8.3.XX.YYY\bin\) and find the chdbfl.exe file:

Once you open it, click the ellipsis in the upper right corner and find the broken database file. Based on the method above, we can say that this is the same database file that you did not delete when clearing the cache.

After that, check the Fix detected errors checkbox and click Run. Wait until the check is completed and try to start the database. Is the error still there? Try the following method.

Testing and fixing the database using the Configurator

The next way to solve a stream format error in 1C is to Test and fix the database, available from the Configurator.

Launch 1C: Enterprise through the Configurator mode:

In the Configurator that opens, select Administration – Testing and Correction:

In the window that opens, set the settings as in the figure below and click Run.

Wait until all procedures are completed. Close the Configurator and try logging into the database. Is the error still there? Try the following method.

Uploading and loading the database via dt

This method can help eliminate errors that are not eliminated by paragraphs 3 and 4 of this article. Log in to the database through the Configurator mode, as in the method above. Select Administration – Upload infobase:

In the window that opens, select the unloading location. It can be anything, the main thing is to remember this place.

By clicking Save, wait for the upload to finish. Exit Configurator mode. Open 1C: Enterprise again and select Add – Create a new infobase – Create an infobase without configuration – Next – Finish.

Open the created database through the Configurator and click Administration – Load infobase. In the window that opens, indicate the upload file that you just created. Wait for the download to finish, close the Configurator and try logging into the newly downloaded database. Is the error still there? Try the following method.

Advanced ways to solve 1C data format errors

A detailed discussion of advanced methods for solving data format errors in 1C is beyond the scope of this article, since to use them you need to have some knowledge in the field of handling a computer, so the instructions and notes for each of them would be quite voluminous.

We will limit ourselves to listing them:
1. Uploading and loading data between a non-working and empty database using the “Uploading and loading XML data” processing.
2. Different versions of 1C used, working in the same database via the network (for more details, see) need to be put in order.
3. Disabling the IPv6 protocol through the Windows registry.
4. Reinstallation or update of 1C: Enterprise.
5. Transfer the database to another computer and try to run it there.
6. Disabling or removing firewalls and/or antiviruses.
7. Checking the stream format using the Tool_1CD utility
8. Update the configuration using the .cf file.

Is the problem “Stream format error in 1C 8.3” not resolved? Get a free consultation from our specialists to solve this problem!

More recently, starting with version 3.0.43.50, in the 1C: Accounting 8 edition 3.0 program, the developers added a new type of operation Correction of own error to the document “Adjustment of receipts”. Now the document allows you not only to register corrected or adjustment invoices received from the supplier and make corresponding adjustments in accounting, but also to correct technical errors made by accounting employees. In this article, using a specific example, we will look in detail at how you can correct for accounting and tax purposes an error made when entering information from a primary document into the program.

Let me remind you that in order to be able to use the documents Adjustment of receipts and Adjustment of sales in the program, you must enable the Correction and adjustment documents checkbox in the program functionality settings on the Trade tab.

Let's look at an example

The organization "Rassvet" applies the general taxation regime - the accrual method and Accounting Regulations (PBU) 18/02 "Accounting for calculations of corporate income tax." The organization is a VAT payer.

In January 2016, when entering into the program the primary document presented by a third-party organization with an act of provision of services, the accountant-operator made two mistakes. Firstly, he indicated the incorrect cost of the service, and secondly, when registering the invoice received from the supplier, he made a mistake in indicating its number. The act of provision of services received from the supplier is registered in the program using the Receipt document with the transaction type Services. In the “Amount” column of the tabular part of the document, instead of the correct 6,000 rubles, 5,000 rubles were indicated.

The received invoice is registered in the “footer” of the document by indicating its number and date. Instead of the "real" number 7, the number 1 was indicated.
Expenses for the purchased service in accounting are classified as general business expenses (account 26). The document Receipt with the above errors and the result of its implementation are presented in Fig. 1.


When carrying out the document in accounting and for profit tax purposes, I took into account the cost of services without VAT on the debit of account 26 “General business expenses”, allocated on the debit of account 19.04 “VAT on purchased services” the amount of VAT presented by the supplier in correspondence with the credit of account 60.01 “Settlements with suppliers and contractors." The document also formed an entry in the VAT accumulation register presented, which is the basis for generating entries in the purchase book.

Consequently, as a result of an error when indicating the cost of a service in accounting and for profit tax purposes, the amount of expenses was underestimated, the amount of VAT claimed was underestimated, and the debt to the supplier was underestimated.

The Invoice document received is generated in the program on the basis of the Receipt document and, as a result, contains the incorrect amount and VAT amount.

The invoice document generated with the wrong number is shown in Fig. 2.

In the program, the amount of VAT can be deducted either using the regulatory document Formation of purchase ledger entries, or directly in the Invoice document received, with the Reflect VAT deduction in the purchase ledger by the date of receipt checkbox enabled.

The result of posting the document Invoice received is shown in Fig. 3.

The document, when posted in accounting, accepted the VAT amount for deduction and created an entry in the Purchase VAT register (in the purchase book), respectively, with an underestimated VAT amount and an erroneous invoice number.
The purchase book for the first quarter is shown in Fig. 4.

The cost of the service was paid to the supplier only in the next quarter. The Payment order document was created based on an erroneous Receipt document.

The posting of the corresponding document Write-off from the current account created upon receipt of an extract from the current account is shown in Fig. 5.

Finally, as a result of reconciliation of mutual settlements with the supplier, this error was discovered in the second quarter. VAT reporting for the first quarter has already been submitted.

Let's first remember how such an error in accounting and tax accounting should be corrected.

In accordance with clause 5 of PBU 22/2010 “Correcting errors in accounting and reporting,” an error in the reporting year identified before the end of that year is corrected by entries in the relevant accounting accounts in the month of the reporting year in which the error was identified.

In accordance with paragraph 1 of Art. 54 of the Tax Code of the Russian Federation, if errors (distortions) are detected in the calculation of the tax base relating to previous tax (reporting) periods, in the current tax (reporting) period, the tax base and tax amount are recalculated for the period in which these errors (distortions) were committed. .

True, there are exceptions to this rule. In accordance with the same paragraph of the Tax Code of the Russian Federation, the taxpayer has the right to recalculate the tax base and the amount of tax for the tax (reporting) period in which errors (distortions) related to previous tax (reporting) periods were identified, when the errors (distortions) led to to overpayment of tax.

As we have already said, as a result of an error, the amount of expenses was underestimated. Consequently, for the purpose of taxation of profits, the tax base (profit) was overestimated and, accordingly, this led to excessive payment of tax. Therefore, corrections for profit tax purposes can be made in the current reporting period, as in accounting.

But in order to figure out what to do with VAT, we will turn to Decree of the Government of the Russian Federation No. 1137 of December 26, 2011. In accordance with clause 4 of the Rules for maintaining the purchase book, if it is necessary to make changes to the purchase book (after the end of the current tax period), the cancellation of the entry on the invoice, adjustment invoice is made in an additional sheet of the purchase book for the tax period in which they were registered invoice, adjustment invoice, before corrections are made to them.

To correct the error we described, we will use the document Adjustment of receipts and select Correction of our own error as the type of operation.

On the Main tab, you need to select the basis - this is the receipt document in which the error was made, which we will correct (in our case, this is the document Receipt (act, invoice) No. 1 dated 01/11/2016). Just below, when you select the basis, a link to the document being corrected, the Invoice received and its details, is automatically displayed.

We need to correct the incoming number (the new value is 7). On this tab, you can choose where the adjustment will be reflected: only in VAT accounting or in all sections of accounting (we want to make corrections in accounting, in income tax accounting and in VAT accounting). You can also select accounts to record income and expenses.

The completed Main tab of the Receipt Adjustment document is shown in Fig. 6.

If, to correct an error, it is necessary to correct some total indicators, then you may need the following bookmarks: Products, Services, Agency services.
Since in our example an error was made when entering an act of service provision into the program, we will use the Services tab and indicate the correct price - 6,000 rubles.
The Services tab of the Receipt Adjustment document is shown in Fig. 7.

When posting the document in accounting, it will reverse the erroneous entry for VAT deduction (Dt 68.02 - Kt 19.04) in the amount of 900 rubles and create the correct entry in the amount of 1,080 rubles. Additionally, it will allocate on the debit of account 19.04 the missing amount of VAT presented by the supplier (180 rubles), increase on the debit of account 26 “General business expenses” in accounting and tax accounting the amount of expenses for the service (1,000 rubles) and, accordingly, increase on the credit of account 60.01 the amount of debt to the supplier (1,180 rubles).
The postings of the Receipt Adjustment document are shown in Fig. 8.

In addition to postings in accounting and tax accounting, the document will generate entries in VAT accumulation registers.
In the register of VAT presented (VAT amounts presented by suppliers) the receipt for the correct amount of VAT will be recorded, and since this amount of VAT is directly recorded by the document in the purchase book, its expense will be immediately reflected.

Two entries will be created in the Purchase VAT register. The first entry is a reversal of an illegally deductible VAT amount with an erroneous invoice number. And the second entry is the deduction of the correct amount of VAT on the invoice with the correct details. Since the corrections are made in the previous VAT tax period, the generated records will include the attribute of an additional sheet and the corresponding corrected period will be indicated.
The documents generated by the document Adjustment of receipt of entries in the accumulation registers are presented in Fig. 9.

Also, when posting a document in the program, a new Invoice document will be created (registered) with the explanation “correcting your own error” (see Fig. 6). This document can be viewed in the list of documents Invoice received. The erroneous and corrected documents are shown in Fig. 10.

Form of the corrected document The invoice received contains the date of correction and a link to the document being corrected. Also in the document form there are values ​​of the details of the invoice received from the supplier before the error was corrected and after it was corrected (Fig. 11).

Let's, to check the correctness of our actions, create a purchase book for the first quarter - the tax period in which the error was made.
We will indicate the required period in the report we generate. In the report settings, enable the “Generate additional sheets” checkbox and specify the generation option – for the current period.
The Purchase Book report settings are shown in Fig. 12.

Let's look at the additional sheet of the purchase book.
As expected, the additional sheet indicates the number of the additional sheet, the tax period and the date of preparation. Column 16 of the tabular section shows the total amount of VAT for the tax period before drawing up the additional sheet.
The additional sheet contains, as we expected, two lines: a reversal of an invoice with an incorrect number and amounts, and a corrected entry with the correct invoice number and correct amounts.
An additional sheet of the purchase book for the first quarter is presented in Fig. 13.

Such a problem as Stream format error occurs quite often in 1C 8.3. Let's look at how to fix this error.

What is a stream format error in 1s 8.3?

This happens in the following situations:

  1. A stream format error when launching 1C Enterprise 8.2 or the configurator is usually associated with cache problems. It is usually caused by the system not shutting down properly due to, for example, a power outage. Therefore, it is strongly recommended to install uninterruptible power supplies so as not to lose important information. Often the error appears when starting the database after updating the configuration.
  2. The second situation is when generating a report, for example, opening a report, posting a document, opening a document, etc. Often this is due precisely to the content of information in the database. The cause of this error is most often the presence of “broken” information within the system.

Get 267 video lessons on 1C for free:

Correction

  1. As a rule, to solve this problem, it is enough to clean temporary files on the system. .
  2. If it doesn’t help, but you can get into the configurator, run .
  3. If you don’t have access to the configurator and the database is test, use it, which is located in the program folder.
  4. If the above methods do not help, but 1C Enterprise mode starts, upload the data to a new database using the “ “ processing. However, this may result in data loss.
  5. Update. Another reason may be the presence of active user sessions with different versions of the client part of the 1C platform. That is, for example, a user with the 1C platform 8.3.5.1517 is working in the database, and another one is trying to connect, with version 8.3.5.1444.

If this does not help, there are more sophisticated ways to solve this problem. For example, using a HEX editor. If you need qualified help from 1C programmers, contact us! Details on the page

We have collected answers from 1C experts to frequently asked questions about correcting errors made in accounting and reporting for VAT, as well as in accounting and tax accounting for profit tax purposes. We tell you howcorrect errors and reflect the corrections in “1C: Accounting 8” edition 3.0.

How can I correct errors in the numbers, dates and amounts of received invoices registered in previous tax periods?

If the buyer manually registers primary documents and invoices received from sellers in the accounting system, then the situation when technical errors occur (invoice number or date entered incorrectly, etc.) is not so rare. As a result, errors appear in the registration records of the purchase book, which lead to the reflection of inaccurate information in Section 8 of the VAT return. Input errors can be minimized if you use electronic document exchange (EDI).

1C experts spoke about the exchange of electronic documents from “1C: Accounting 8” (rev. 3.0), the use of UPD and UCD at a lecture on December 14, 2017 in 1C: Lecture Hall.

Errors made during the registration of invoices can be detected by the taxpayer himself, or can be identified by the tax authority during desk control (clause 3 of Article 88 of the Tax Code of the Russian Federation).

In the first case the taxpayer will have to submit an updated tax return with correct information to the tax authority. Despite the fact that the obligation to submit an updated declaration arises only if errors made led to an understatement of the amount of tax payable to the budget (clause 1 of Article 81 of the Tax Code of the Russian Federation), correction of information previously presented in Section 8 of the VAT return , is possible only by submitting an updated tax return.

In the second case the taxpayer will receive a message from the tax authority requesting explanations (clause 2.7 of the Recommendations for conducting desk tax audits, sent by letter of the Federal Tax Service of Russia dated July 16, 2013 No. AS-4-2/12705). In response to the message received, the taxpayer must send an explanation to the tax authority indicating the correct data. At the same time, the taxpayer does not need to subsequently submit an updated declaration, although the Federal Tax Service of Russia recommends doing so (letter No. ED-4-15/19395 dated November 6, 2015).

In both cases, the taxpayer will have to clarify the data entered erroneously into the accounting system and make corrections to the purchase book.

Errors made in previous tax periods are corrected by canceling erroneous registration entries and making new registration entries in an additional sheet of the purchase book (clauses 4, 9 of the Rules for maintaining a purchase book, approved by Decree of the Government of the Russian Federation of December 26, 2011 No. 1137 (hereinafter referred to as - Resolution No. 1137), letter of the Federal Tax Service of Russia dated April 30, 2015 No. BS-18-6/499@). The data from such additional sheets is used to make changes to the VAT tax return (clause 6 of the Rules for filling out an additional sheet of the purchase book, approved by Resolution No. 1137).

To correct technical errors made when registering a received invoice, the document is used in the 1C: Accounting 8 program, edition 3.0 Adjustment of receipts(chapter Purchases) with the type of operation .

A document can be created based on a document Receipt (act, invoice), in this case the main fields on the tab Main and tabular part on bookmarks Goods or Services will be filled in immediately upon opening the document.

Operation Correcting your own mistake allows you to correct erroneously entered invoice details:

  • number and date;
  • TIN and KPP of the counterparty;
  • transaction type code;
  • sum and quantitative indicators.

If technical errors do not affect the total or quantitative indicators, then on the tab Main in field Reflect adjustment it is advisable to set the value Only for VAT accounting, since correcting technical errors in entering invoice details does not affect the reflection of transactions on the accounting accounts and does not require making entries in the accounting register.

In the block Correcting errors in invoice details:

  • in line What are we fixing? a hyperlink to the document being corrected is automatically inserted Invoice received;
  • for details: Incoming number, date, TIN of the counterparty, Counterparty checkpoint, Operation type code two columns with indicators are formed Old meaning And New meaning, where the relevant information from the document is initially automatically transferred Invoice received.

To correct details that contain errors (for example, an erroneous invoice number), the corresponding indicator in the column New meaning must be replaced with the correct one (Fig. 1).

Rice. 1. Correction of a technical error made when registering the received invoice

Technical errors may occur when transferring information from primary documents about the price and quantity of purchased goods (work, services, property rights), as well as the rate and amount of VAT charged, to the accounting system documents.

In this case, in the field Reflect adjustment value should be set In all sections of accounting, if it is necessary to simultaneously adjust accounting and tax accounting data for income tax and VAT.

Elimination of errors affecting quantitative and total indicators is performed on the tabs Goods or Services. Tabular part Goods (Services) is filled in automatically according to the base document.

Each line of the source document corresponds to two lines in the adjustment document: before change And after change. In line after change you need to indicate the corrected sum (quantitative) indicators.

As a result of the document Adjustment of receipts with the type of operation Correcting your own mistake:

  • in line Invoice a hyperlink to a new automatically created document appears at the bottom of the document Invoice received, which is, in fact, a “technical duplicate” of a previously entered erroneous document for the transaction of purchasing goods. All fields of the new document Invoice received will be filled in automatically based on the information specified in the document Correction of receipts;
  • entries are made in special registers for VAT accounting purposes.

The additional sheet of the purchase ledger will contain two entries:

  • cancellation of an entry on a received invoice containing errors in the details;
  • registration entry for the same invoice with corrected details.

After the approval of the annual financial statements, an organization applying the general taxation system (OSNO) identified an error from last year: the amount of direct expenses in accounting and for profit tax purposes was overstated. At the same time, a loss was made last year, but a profit was made this year. Can the income tax adjustment be reflected in the current year?

In accounting, an error of the previous reporting year, identified after the approval of the financial statements for this year, is corrected in the current reporting period (clauses 9, 14 of the Accounting Regulations “Correcting Errors in Accounting and Reporting” (PBU 22/2010), approved by order of the Ministry of Finance of Russia dated June 28, 2010 No. 63n, hereinafter referred to as PBU 22/2010).

In tax accounting, including for profit tax purposes, as a general rule, in accordance with paragraph 1 of Article 54 of the Tax Code of the Russian Federation, errors (distortions) are corrected in the period in which they were committed. At the same time, the taxpayer has the right to recalculate the tax base and tax amount in the tax (reporting) period in which errors (distortions) were identified if:

  • it is impossible to determine the period of commission of these errors (distortions);
  • such errors (distortions) led to excessive payment of tax.

Obviously, overestimating the amount of direct expenses could not lead to excessive payment of income tax for the previous year. The tax for the previous period was not overpaid also because the organization incurred a loss last year, therefore, such errors are taken into account in relation to the tax period in which they were made (letter of the Ministry of Finance of Russia dated 05/07/2010 No. 03-02-07/ 1-225). Therefore, the organization must recalculate the tax base and the tax amount for the period the error was committed, and also submit to the tax authority an updated tax return for the previous year (paragraph 1, clause 1, article 81 of the Tax Code of the Russian Federation).

In "1C: Accounting 8" edition 3.0, an error from previous years associated with overestimation of expenses can be corrected either by document Adjustment of receipts, or a document Operation.

Please note that the organization’s internal regulations may prohibit updating last year’s data (including tax accounting data) in the program: a date has been set for prohibiting changes to last year’s data, and it is unacceptable to “open” a closed period.

If changes are made to the tax accounting data (TA) for the previous year, then the financial result in the TA changes, so there is a need to re-create the operation Balance Reformation, and without re-entering all other documents, so as not to affect the accounting data.

You can avoid these difficulties by doing the following:

  • in the current period, correct the error only in accounting - by entries on the relevant accounts in correspondence with account 84 “Retained earnings (uncovered loss)” or with account 91 “Other income and expenses”, depending on the significance of the error (clauses 9, 14 PBU 22/2010);
  • for organizations applying the Accounting Regulations “Accounting for calculations of corporate income tax” PBU 18/02, approved. by order of the Ministry of Finance of Russia dated November 19, 2002 No. 114n (hereinafter referred to as PBU 18/02), reflect the permanent difference (PR). In this case, PR refers to income that forms the accounting profit of the reporting period, but is not taken into account when determining the tax base for income tax for both the reporting and subsequent reporting periods;
  • manually compile a tax register for the previous year, where to reflect the decrease in direct expenses;
  • fill out and submit to the Federal Tax Service an updated income tax return for the previous year;
  • additionally accrue and pay income tax for the previous period;
  • calculate, accrue and pay penalties for income tax.

The organization (on OSNO, a VAT payer, does not apply the provisions of PBU 18/02) discovered errors: in previous reporting periods of the current year, not all expenses were reflected in accounting. How and in what period should the relevant documents be registered in the program?

As follows from the question, expenses not reflected on time and the moment of discovery of this fact relate to the same tax period.

In this case, documents accounting for expenses ( Receipt (act, invoice), Receipt of additional expenses, Request-invoice, Operation etc.) and relating to previous reporting periods of the current year, can be registered at the time of their receipt or discovery, that is, before the end of the current year.

Thus, these expenses will automatically be taken into account when determining the tax base (profit) of the current reporting (tax) period, which, in accordance with paragraph 7 of Article 274 of the Tax Code of the Russian Federation, is determined on an accrual basis from the beginning of the year.

Since in this situation, errors made in income tax declarations for previous reporting periods of the current year did not lead to an underestimation of the amount of tax payable, the organization is not obliged to submit updated declarations to the Federal Tax Service for these periods (paragraph 2, clause 1, art. 81 Tax Code of the Russian Federation).

But what if an organization has identified expenses in the current reporting (tax) period that relate to previous tax periods (for example, due to the fact that primary documents were not received on time)?

According to the Ministry of Finance of Russia (letter dated March 24, 2017 No. 03-03-06/1/17177), such non-reflection is a distortion of the tax base of the previous tax period, therefore it is necessary to act in accordance with the provisions of Article 54 of the Tax Code of the Russian Federation. Moreover, if in the current reporting (tax) period the organization incurred a loss, then in this period recalculation of the tax base is impossible, since the tax base is recognized as equal to zero.

Thus, documents from last year can also be registered in the current period, provided that profit was made both in the previous year and in the correction period.

If at least one of these conditions is not met, then errors (distortions) in accounting and tax accounting will have to be corrected in different periods. To do this, you can use the sequence of actions described in the answer to the previous question: using the document Operation reflect the expenses of previous years in accounting, then manually draw up a tax accounting register, where adjustments to the tax base of the previous year are reflected.

At the same time, you will not need to pay arrears of income tax and penalties for the previous year. It is in the taxpayer’s interests to submit an updated income tax return for the previous year in order to subsequently take into account either overpaid tax or increased losses from previous years.

As for the value added tax, taxpayers-buyers have the right to claim a tax deduction within 3 years after registration of goods, works, services, property rights purchased on the territory of the Russian Federation (paragraph 1, clause 1.1, article 172 of the Tax Code of the Russian Federation ). Therefore, the organization is not required to submit an updated VAT return.

The organization (applies OSNO and PBU 18/02) erroneously did not reflect in the last reporting period of the current year the acceptance of fixed assets (fixed assets) using bonus depreciation for accounting. Is it possible for the program to automatically correct this error during the period it is detected (the previous reporting period is closed for adjustments)?

Since the program sets a date for prohibiting data changes (for example, June 30), the acceptance of fixed assets for accounting should be registered during the error detection period (for example, in July) using the document Acceptance for accounting of fixed assets (section of fixed assets and intangible assets).

The document must indicate the parameters for calculating depreciation for accounting and tax accounting purposes, including the useful life (SPI), as if the error had not been made.

On the Depreciation bonus tab, select the Include depreciation bonus as an expense checkbox.

At the same time, if in fact the fixed assets were accepted for accounting in the previous reporting period (for example, in May), this fact of economic life must be confirmed by primary documents (order of the manager, act of acceptance and transfer of the fixed assets object, inventory card of the fixed assets object), where they are recorded relevant dates. Depreciation in the program will begin in August. In the same month, indirect expenses will include expenses for capital investments in the amount of no more than 10% (no more than 30% in relation to fixed assets belonging to 3-7 depreciation groups) of the initial cost of fixed assets (clause 9 of article 258, p. 3 Article 272 of the Tax Code of the Russian Federation).

The program does not provide for automatic calculation of depreciation for the missed months (for June and July), so you should draw up an accounting certificate and use the document Operation(Fig. 2). Since the error does not affect the parameters for calculating depreciation, adjustments to the registers of the OS accounting subsystem will not be required.

Rice. 2. Adjustment of accrued depreciation of fixed assets

In this situation, you don’t have to specify the income tax for the six months. But, if the organization has registered separate divisions (SU), an error made in the second quarter could affect the calculation of profit shares for the specified period. If the specified OS is the object of taxation of the property tax of organizations, and the legislative body of the constituent entity of the Russian Federation has established reporting periods, then the organization is obliged to submit an updated property tax declaration for the six months.

The organization (OSNO) accepted fixed assets (movable property) for accounting in April, and in August discovered an arithmetic error, as a result of which the cost of fixed assets was overstated. How to reduce the initial cost of fixed assets and recalculate depreciation?

It is not clear from the question how the movable property entered the organization. Let's say the specified OS was purchased from a supplier for a fee. To adjust the cost of an acquired fixed asset in August of the current year, you need to create a document in the program Operation, where to indicate the following account correspondence:

REVERSE Debit 08.04.1 Credit 60.01

REVERSE Debit 01.01 Credit 08.04.1- by the amount of adjustment to the cost of fixed assets;

REVERSE Debit 20.01 (26, 44) Credit 02.01- by the amount of depreciation adjustment for May, June, July of the current year;

Debit 20.01 (26, 44) Credit 02.01- for the amount of depreciation for August of the current year, taking into account the adjusted initial cost of fixed assets.

For tax accounting purposes for income tax, the corresponding amounts are also recorded in resources Amount NU Dt And Amount NU Kt. In order for future depreciation in accounting and tax accounting to be calculated taking into account the adjustments made, the depreciation parameters must be clarified using the document (chapter Fixed assets and intangible assets - Fixed assets depreciation parameters). The document should also be created in August (Fig. 3). When entering a document Changing OS depreciation parameters In the header you need to indicate the following details:

  • the name of the event in the “life” of the fixed asset, which is reflected in this document;
  • set flags Reflect in accounting And Reflect in tax accounting.

Rice. 3. Changing the OS depreciation parameters

In the table field you need to indicate:

  • a fixed asset whose depreciation parameters are changed due to a detected error;
  • in field Expiration date (BOO)- useful life of a fixed asset in accounting in months, initially established by the organization upon acceptance for accounting, for example 62 months;
  • in field Deadline for depreciation. (BOO)- remaining useful life for calculating depreciation in accounting. This SPI is calculated as the originally established SPI minus the number of months of depreciation for May-August (62 months - 4 months = 58 months);
  • in field Cost to calculate depreciation. (BOO)- the remaining cost of fixed assets for calculating depreciation in accounting. This cost is calculated as the adjusted initial cost of fixed assets minus accrued depreciation for May-August;
  • in field Expiration date (WELL)- useful life in months for calculating depreciation in tax accounting. In this situation, this period does not change.

Starting from September when performing a routine operation Depreciation and depreciation of fixed assets the program will calculate depreciation according to the specified parameters.

This error led to an underpayment of income tax, so the organization is obliged to submit an updated declaration for the six months.

The inflated cost of fixed assets could also affect the calculation of profit shares if the organization has registered OPs.

In July of this year, the organization (OSNO, VAT payer) signed an additional agreement with the supplier to reduce the price of inventory items purchased in previous tax periods. Corrective invoices were received in the same month. Inventory data were included in expenses in the period of receipt. In what tax period should income related to a decrease in the purchase price be reflected: can they be taken into account in the current period or should updated returns for previous years be submitted? In previous years, the organization had profits for tax purposes.

First, let’s figure out whether accounting for inventory items at the prices indicated in the original source documents can be considered an error. In accordance with paragraph 2 of PBU 22/2010, inaccuracies or omissions in the reflection of facts of economic activity, identified as a result of obtaining new information that was not available to the organization at the time of reflection (non-reflection) of such facts, are not considered errors. At the time of receiving inventory items and writing them off for production in previous tax periods, the organization correctly reflected all income and expenses. An agreement signed with a supplier to change the price of a product is an independent event that is not an accounting error. Thus, when reflecting changes in the price of inventory items in accounting, the rules of PBU 22/2010 do not apply.

In accounting, profits from previous years identified in the reporting year are included in other income (other income). Other receipts are recognized as they are identified and are subject to credit to the organization’s profit and loss account (clauses 7, 11, 16 of the Accounting Regulations “Income of the Organization” PBU 9/99, approved by order of the Ministry of Finance of Russia dated May 6, 1999 No. 32n , hereinafter referred to as PBU 9/99). What about income tax? The Tax Code of the Russian Federation does not disclose the concept of “error (distortion)”, therefore this concept should be used in the meaning in which it is used in the accounting legislation (clause 1 of Article 11 of the Tax Code of the Russian Federation), and the Ministry of Finance of Russia agrees with this (letter from 01/30/2012 No. 03-03-06/1/40). Despite this, regulatory authorities insist on adjusting the tax base for income tax in previous periods when the price of goods sold decreases:

  • when a discount provided to him by revising the price of a product is reflected in the buyer’s tax base, the taxpayer does not generate taxable income (Clause 19.1, Clause 1, Article 265 of the Tax Code of the Russian Federation does not apply). It is necessary to recalculate the cost of raw materials and supplies in tax accounting, taking into account price changes, including by recalculating the average cost of the corresponding inventory items from the period of capitalization until the moment of write-off (letter of the Ministry of Finance of Russia dated March 20, 2012 No. 03-03-06/1/137);
  • changes in income or expense indicators that arise in connection with a change in the contract price, including in connection with the provision of discounts, are taken into account in the manner prescribed by Article 54 of the Tax Code of the Russian Federation, i.e., as if an error is detected (letter of the Ministry of Finance of Russia dated May 22, 2015 No. 03-03-06/1/29540).

Since in the situation under consideration, adjusting tax accounting affects several past tax periods, it is advisable in the program to use the sequence of actions described earlier: using the document Operation reflect the income of previous years in accounting, reflect the PR in special resources for tax accounting purposes (if the organization applies the provisions of PBU 18/02), then manually compile tax accounting registers, where to attach calculations of tax base adjustments for each tax period.

Regarding VAT, the situation is much simpler. Upon receipt from the supplier of an adjustment invoice to reduce the cost of inventory items, the buyer must:

  • restore part of the input VAT accepted for deduction when capitalizing inventory items. VAT restoration must be performed in the tax period in which the earliest of the following dates falls: the date of receipt of an additional agreement to reduce the cost of inventory items or the date of receipt of an adjustment invoice (clause 4, clause 3, article 170 of the Tax Code of the Russian Federation). In our situation, this is the third quarter;
  • reflect in the sales book the document received first (clause 14 of the Rules for maintaining the sales book, approved by Resolution No. 1137).

These operations are automatically performed using the document Adjustment of receipts with the type of operation Adjustment by agreement of the parties.

In order not to affect accounting and tax accounting, on the tab Main in field Reflect adjustment value should be set Only for VAT accounting.

Errors were found in the sales document for last year, one of which led to an overpayment of income tax, and the other to an underpayment, and the amount of the overpayment was greater than the underpayment. How to fix these errors? How to generate postings for this adjustment?

According to the regulatory authorities, if several errors (distortions) are detected that lead to both an understatement and an overestimation of the tax base and tax amount relating to previous tax (reporting) periods, the tax base and tax amount are clarified in the context of each detected error (letter from the Ministry of Finance of Russia dated November 15, 2010 No. 03-02-07/1-528).

Recalculation of the tax base and tax amount is carried out in accordance with paragraphs 2 and 3 of paragraph 1 of Article 54 of the Tax Code of the Russian Federation.

This means that errors made in last year’s sales document that resulted in an understatement of the tax base and tax amount should be corrected last year, while errors that did not result in understatements can be corrected in the current period.

This is exactly how an accounting system document works Implementation adjustments(chapter Sales) with the type of operation Correction in primary documents(if the adjustment is made in all sections of accounting).

Changes to tax accounting data are made:

  • in the last tax period- if errors (distortions) led to an underestimation of the amount of tax payable. At the same time, in order to make changes, the adjusted period must be open, otherwise the document will not be posted;
  • in the current reporting (tax) period- if errors (distortions) did not lead to an understatement of the amount of tax payable. However, the program does not check for losses in past or current periods.

If the annual financial statements are approved, then the document Implementation adjustments on the bookmark Calculations flag needs to be set Last year's accounting is closed for adjustments (reporting has been signed). In this case, errors of previous years in accounting are corrected in the current period as profits and losses of previous years in the context of each error.

This document automatically corrects all errors of previous years in a simplified manner, which is established for minor errors in accordance with paragraphs 9 and 14 of PBU 22/2010.

To correct VAT, you must register a new (corrected) copy of the invoice (clause 7 of the Rules for filling out invoices, approved by Resolution No. 1137). The additional sheet of the sales book will automatically reflect two entries (clause 3 of the Rules for filling out an additional sheet of the sales book, approved by Resolution No. 1137):

  • cancellation of an entry on an issued invoice containing errors;
  • registration entry for the corrected invoice.

The procedure for correcting errors in tax accounting (for income tax) in different tax periods in this situation will lead to the fact that, along with the obligation to submit an updated declaration for the previous tax period, the organization will also have to pay additional income tax arrears, as well as penalties.

This trouble can be avoided if all errors are corrected in the previous tax period, since the amount of tax overpayment is greater than the amount of underpayment. To do this, it is advisable in the program to use the sequence of actions described earlier: in the current period using the document Operation reflect income and expenses of previous years in accounting (in correspondence with 91 or 84 accounts), if necessary, reflect permanent differences, then manually compile a tax accounting register for the previous tax period. And the document Implementation adjustments- Use only for VAT adjustments.

Tired of searching for news on multiple accounting sites? Are you afraid of missing really important changes in legislation? Subscribe to the largest accounting channel BUKH.1S in Telegram https://t.me/buhru (or type @buhru in the search bar in Telegram) and we will promptly send important news directly to your phone!







2024 gtavrl.ru.