Skip to content

FIX respect AEAT submission wait time - #37

Open
braito4 wants to merge 1 commit into
garacil:mainfrom
braito4:fix/respect-aeat-wait-time
Open

FIX respect AEAT submission wait time#37
braito4 wants to merge 1 commit into
garacil:mainfrom
braito4:fix/respect-aeat-wait-time

Conversation

@braito4

@braito4 braito4 commented Jul 27, 2026

Copy link
Copy Markdown

Summary

The module ignored TiempoEsperaEnvio returned by AEAT, allowing immediate subsequent requests that can be rejected for exceeding the required submission rate.

This change stores the next allowed submission timestamp per Dolibarr entity and blocks invoice or cancellation submissions until the delay expires. The wait message is translated in all bundled languages.

Validation

  • verified persistence and retrieval against MySQL 8.0.44
  • verified isolation through the entity-scoped Dolibarr constant
  • PHP syntax and git diff --check pass

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant