CLI Commando's voor e-Boekhouden Integratie
Op zoek naar Magento 2 E-boekhouden koppeling? Bekijk de volledige Magento 2 E-boekhouden koppeling pagina voor functies, configuratieopties en prijzen.
Command line tools voor de e-Boekhouden integratie. Deze commando's zijn handig voor handmatig synchroniseren, probleemoplossing en automatiseringsscripts.
Beschikbare Commando's
| Commando | Beschrijving |
|---|---|
accounting:selftest:eboekhouden |
Voer diagnostische tests uit voor e-Boekhouden |
accounting:sync:eboekhouden |
Synchroniseer alle e-Boekhouden data in de wachtrij |
accounting:sync:orders |
Synchroniseer facturen op order ID, datumbereik of offset |
accounting:selftest |
Voer algemene accounting diagnostische tests uit |
accounting:selftest:eboekhouden
Voer diagnostische tests uit om e-Boekhouden module configuratie en connectiviteit te verifiëren.
bin/magento accounting:selftest:eboekhouden
Wat het controleert:
- Module ingeschakeld status
- e-Boekhouden REST API verbinding
- Grootboekrekening configuratie
- BTW tarief mapping Wanneer te gebruiken:
- Na initiële setup om configuratie te verifiëren
- Wanneer synchronisatie onverwacht stopt
- Voor contact met support (voeg output toe aan ticket)
Voorbeeld output:
Module Enabled: success
- Module is enabled
Connection: success
- Connected to e-Boekhouden account: [Uw Account]
Ledger Configuration: success
- Product ledgers configured
Tax Rate Mapping: warning
- 2 tax rules not mapped
accounting:sync:eboekhouden
Synchroniseer alle e-Boekhouden data in de wachtrij (facturen, creditnota's, klanten). Dit is het platformspecifieke sync commando dat alles in de e-Boekhouden wachtrij verwerkt.
Basis Sync
bin/magento accounting:sync:eboekhouden
Verwerkt alle items die momenteel in de e-Boekhouden sync wachtrij staan.
Sync met Auto-Add
bin/magento accounting:sync:eboekhouden --auto-add
Voegt automatisch beschikbare facturen toe vanuit de Accounting Base wachtrij voor synchronisatie. Handig om bij te werken of wanneer automatisering is uitgeschakeld.
Opties Referentie
| Optie | Beschrijving |
|---|---|
--auto-add |
Voeg beschikbare facturen automatisch toe vanuit Accounting Base voor synchronisatie |
accounting:sync:orders
Handmatig facturen synchroniseren op order ID, datumbereik of offset. Dit is een gedeeld commando van de accounting-base module.
Synchroniseer Enkele Order
bin/magento accounting:sync:orders --order-id=100000123
Synchroniseert alle facturen voor de opgegeven order ID (de increment_id uit het sales order grid).
Synchroniseer Datumbereik
bin/magento accounting:sync:orders --from-date=2025-01-01 --to-date=2025-01-31
Synchroniseert alle facturen aangemaakt tussen de opgegeven datums.
Synchroniseer Recente Orders
bin/magento accounting:sync:orders --offset=7
Synchroniseert alle facturen van de afgelopen 7 dagen. Handig om bij te werken na downtime.
Opties Referentie
| Optie | Beschrijving | Voorbeeld |
|---|---|---|
--order-id |
Magento order increment ID | --order-id=100000123 |
--from-date |
Startdatum (inclusief) | --from-date=2025-01-01 |
--to-date |
Einddatum (inclusief) | --to-date=2025-01-31 |
--offset |
Dagen terug vanaf vandaag | --offset=7 |
Opmerkingen:
--from-datevereist--to-date(of default naar vandaag)- Opties zijn onderling exclusief: gebruik
--order-id, datumbereik, óf--offset - Verwerkt alleen facturen die in de accounting wachtrij staan
Veelvoorkomende Use Cases
Synchroniseer Mislukte Factuur Opnieuw
Wanneer een factuur niet kon synchroniseren (zichtbaar in Synchronisation Logs):
bin/magento accounting:sync:orders --order-id=100000456
Bijwerken Na Downtime
Als cron een paar dagen niet draaide:
bin/magento accounting:sync:eboekhouden --auto-add
Of om een specifieke periode te synchroniseren:
bin/magento accounting:sync:orders --offset=5
Initiële Historische Sync
Om facturen van een specifieke periode te synchroniseren:
bin/magento accounting:sync:orders --from-date=2025-01-01 --to-date=2025-03-31
Debug Specifieke Order
Gecombineerd met debug mode ingeschakeld in configuratie:
- Schakel debug mode in via admin
- Voer uit:
bin/magento accounting:sync:orders --order-id=100000789 - Controleer
var/log/eboekhouden/debug.logvoor gedetailleerde output
Meer Hulp Nodig?
Documentatie:
- Alle Help Artikelen - Compleet documentatie overzicht
Support:
- Contact Opnemen - Hulp van ons team
Voor een compleet overzicht van functies en configuratieopties, bekijk Magento 2 E-boekhouden koppeling.