Python Скрипт Для Google Functions. DocuSign API, Stripe API
116 USDСоставные части:
1. Google Firestore: База данных NoSQL, в которой мы будем хранить документы (формат JSON): Пример документа:
- Информация о клиенте
- Информация о владельце
- Информация о контракте.
- Информация о счете
2. Функции Google: функция Google будет запускаться каждый раз, когда документ загружается в Google Firestore.
3. DocuSign API (https://developers.docusign_com/): электронная подпись контракта. Это используется для создания контракта и отправки его клиенту на подпись.
4. Stripe API: Платежи. Вместе с договором клиент получит ссылку для оплаты счета.
5. Функция обратного звонка: когда клиент оплачивает счет или подписывает контракт, должен быть инициирован обратный звонок.
- Обновите статус предложения до счета-фактуры.
Поток:
1. Документ добавлен в Firestore.
2. Срабатывает GF (функция Google):
3. GF вызывает DocuSign API, чтобы создать контракт и отправить его клиенту на подпись.
4. GF вызывает Stripe API и создает счет.
5. GF отправляет электронное письмо / текстовое сообщение с URL-адресами для DocuSign и Stripe.
6. Обратный вызов: когда пользователь оплачивает счет Stripe или подписывает контракт на DocuSign, запись обновляется в базе данных FireStore.
English Version:
Components:
1. Google Firestore: NoSQL Database where we'll store documents (Json Format): Document example:
- Client information
- Owner information
- Contract information.
- Invoice information
2. Google Functions: Google function will be triggered each time a document is uploaded to Google Firestore.
3. DocuSign API (https://developers.docusign_com/): contract E-signiture. This is used to create a contract and send it to the client for a signiture.
4. Stripe API: Payments. Along with the contract the client will receive the link to pay the invoice.
5. Call back function: When the client pays the invoice or signs the contract., a callback should be triggered.
- Update the status of the quote to invoice.
Flow:
1. A document is added to Firestore.
2. GF (Google function) is triggered:
3. GF calls DocuSign API to create a contract and send it the client for signing
4. GF calls Stripe API and creates an invoice.
5. GF Sends an email/text message with the URLs for DocuSign and Stripe
6. Callback: when user pays the Stripe invoice or signs the contract on DocuSign, a record is updated in the FireStore database.
Пример документа в Firestore:
Input Example: {
"name": "Invoice #194",
"client": {
"company_name": "Tesla",
"Contact_person" : "Elon Musk",
"phone": "124112",
"email": "elon_tesla_om",
"address": {
"address": "647 Beverly Hill St",
"city": "Los Angels",
"zip": "78302",
"state": "california"
}
},
"owner": {
"company_name": "SpaceX",
"Contact_person" : "James Bond",
"phone": "123123",
"email": "james_spacex_com",
"address": {
"address": "111 Beverly Hill St",
"city": "Los Angels",
"zip": "11111",
"state": "california"
}
},
"contract": {
"file_url": "file_uls",
"field_positions": [
{
"value": "company_name",
"x_offset": 176.3,
"y_offset": 15.0
},
{
"value": "contact_person",
"x_offset": 53.2,
"y_offset": 103.9
},
...
],
"signiture": {
"signiture_image_url": "url_link",
"x_offset": 629.1,
"y_offset": 32.8
}
},
"invoice": {
"items": [
{
"name": "computer",
"qty": 1,
"price": 18.4,
"note": "thinkpad P955"
},
....
],
"total": {
"subtotal": 300.0,
"tax": 100.0,
"total": 400.0
},
"payment_method": {
"name": "stripe",
"url": "stripe_com",
"secret_code": "ifdjsf32hufd84343009f",
...
}
}
}
Долгосрочное сотрудничество если проект выполнен хорошо.
Client's review of cooperation with Serhii Tokarev
Python Скрипт Для Google Functions. DocuSign API, Stripe APIРабота выполнена очень быстро и качественно!
![]()
Freelancer's review of cooperation with client
Python Скрипт Для Google Functions. DocuSign API, Stripe APIотличный заказчик всем рекомендую к сотрудничеству, 10 из 10 =)
-
871 10 0 Добрый день , очень интересный заказ , готов выполнить на Python
сроки обсуждаются , всегда беру с запасом, что бы не подводить заказчика
У меня есть вопрос :
количество колов укладываться в стандартные лимиты API ?
-
1825 26 1 1 Добрый день. Это можно реализовать есть опыт работы с API DocuSign. Самое главное чтобы акк страйпа был активен
Current freelance projects in the category Python
AI Commenting Platform for TikTok and Instagram.Project Goal Develop a system that allows managing a large number of TikTok and Instagram accounts and automatically posting relevant comments under selected videos using AI. Main Functionality1. Account Management It is necessary to implement the ability to connect accounts:… AI & Machine Learning, Python ∙ 8 minutes back ∙ 3 proposals |
Build a customer classification model1. There is client data in Mongo/SQL (approximately 20,000 entries with raw data). 2. It is necessary to build features and a classification model of clients into behavioral groups based on this data. 3. The project should be completed in Python. AI & Machine Learning, Python ∙ 1 day 18 hours back ∙ 32 proposals |
IT Automation of VAT Reporting
223 USD
It is necessary to develop a system for automating the transfer of sales data from the CRM to the accounting system Wafeq. The system should import bank and payment reports, automatically reconcile payments with invoices, generate invoices for VAT reporting, and minimize manual… AI & Machine Learning, Python ∙ 1 day 23 hours back ∙ 42 proposals |
Account reconciliation tool with the bank, cards, and accountantTechnical Assignment: Tool for Reconciling Accounts with Bank, Cards, and AccountantGeneral Goal A local tool (script/small application in Python) is needed, which is manually run once every 1-2 months on my computer and performs reconciliation between: Invoices I issued to… Python, Desktop Apps ∙ 2 days 12 hours back ∙ 42 proposals |
Automatic video posting on social media according to a scheduleTechnical Assignment (TA) Automatic video publication on social media according to a scheduleProject Description A script/bot (Python preferred, or any other solution of your choice — the main thing is stability and ease of maintenance) is needed, which automatically publishes… Python, Bot Development ∙ 3 days back ∙ 59 proposals |