https://github.com/joebb10/das-generator
This flask api allows you to generate and send DAS documents to WhatsApp numbers.
https://github.com/joebb10/das-generator
automation brazil contabilidade
Last synced: 3 months ago
JSON representation
This flask api allows you to generate and send DAS documents to WhatsApp numbers.
- Host: GitHub
- URL: https://github.com/joebb10/das-generator
- Owner: joebb10
- Created: 2023-09-13T06:12:10.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-09-13T06:15:45.000Z (over 1 year ago)
- Last Synced: 2025-01-17T16:16:56.205Z (5 months ago)
- Topics: automation, brazil, contabilidade
- Language: Python
- Homepage:
- Size: 1.95 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# DAS-generator
This flask api allows you to generate and send DAS documents to WhatsApp numbers.This code is a Flask application that generates and sends a DAS document to a WhatsApp number.
To use the application, you will need to first create a Receita Federal API key. Once you have your API key, you can start the application by running the following command:
python app.py
The application will then be available at the following URL:
http://localhost:5000/
You can generate a DAS document by sending a POST request to the following URL:
http://localhost:5000/generate-das
The request body should contain the following JSON data:
{
"nome": "John Doe",
"cnpj": "12345678901234",
"whatsapp": "1234567890"
}The application will then generate the DAS document and send it to the specified WhatsApp number.