AS2 · IMPLEMENTATION GUIDE
How to connect your company to MGR via AS2
This guide gathers the technical data required to set up EDI document exchange with MGR over the AS2 protocol, plus the step-by-step path to production.
Data provided by MGR
- AS2 ID
- MGRNET
- Receiving URL
- https://as2.mgrnet.com.br/pyas2/as2receive/
- Public certificate
- Download certificate (.pem) →
Data MGR needs from the partner
- • Partner AS2 ID
- • Partner's public certificate (to verify signatures and, where applicable, encrypt messages sent from MGR to the partner)
- • Target URL, if you want to receive the delivery receipt (MDN) asynchronously
- • Preferred signature and encryption algorithms (SHA-256 and AES-256 by default)
- • Preferred MDN mode: synchronous or asynchronous
Step by step to production
01
Certificate exchange
Each side sends its AS2 ID and digital certificate to the other.
02
Configuration
MGR registers the partner with the data above.
03
Homologation test
Test messages are exchanged and the MDN is validated before any real document.
04
Production
Once certification is approved, EDI documents start flowing for real.
05
Monitoring
Continuous monitoring of messages sent and received.
Questions about the implementation?