nav-gov-hu/SAF-T_HU

[Q&A] File size requirements

Opened this issue · 3 comments

I see that various sections (such as General Ledger Entries and Line Items) can optionally be split across multiple files.

  1. What are the limitations on the size of the individual XML files in a submission?
  2. If there is no size limitation, would there be any other reason to split up the xml files?
  3. Is there a size limitation to the submission as a whole?

This information is available in the Handbook:
'The parts are limited to 1.000.000 (one million) transactions (header or lines). This limit can be exceeded in order to export a full set of lines, related to one header. For example, every sales invoice header (referenced by an ID), must have all its lines exported.'

Thank you, I missed that part as I was reading the handbook.

Just to clarify what the handbook is saying:

Suppose every General Ledger Header in my system has exactly 2 corresponding line items.

Would it be acceptable to submit a file with 1.000.000 (one million) General Ledger Headers (and as a result 2 million line items)?
After all, the handbook does say the limit may be exceeded in order to export a full set of lines.

Or would it be preferred to submit a file with 500.000 General Ledger Headers and one million line items?

Or would it be preferred if the sum of number of headers + number of line items be under 1,000,000?

In this case I would have to provide only 333.333 headers and 666.666 line items (resulting in 999.999 items), or since the limit can be exceeded in order to export a full set of lines related to one header, it would seem that 333.334 headers with 666.668 lines (for a total of 1.000.002 items would be the upper limit.

Thank you again for your time

The limit applies to one XML file. We hope only, that one header's lines cannot be greater than 1 million line items :)
So we preffered if the headers + lines be under 1 million records.
At the current stage of the pilot, we cannot yet say whether this is a very strong recommendation or whether we will force it out IT solution.