Developing.
Simple and open interfaces for integration into your IT landscape.
Implement Bilendo in the shortest possible time simply via API. You can start with the data transfer and your individual process optimization already on the same day.
API Documentationcurl -X "POST" "https://api.bilendo.de/api/v1/invoices" \
                                    -H "Authorization: Token token=YOUR-API-TOKEN" \
                                    -H "Content-Type: multipart/form-data" \
                                    -F "customer[name]=New Company Inc" \
                                    -F "contact[name]=John Smith" \
                                    -F "invoice=@invoice.pdf" \
                                    -F "invoice_attachment=@attachment.pdf"
                                 
$ch = curl_init();
                                    curl_setopt($ch, CURLOPT_URL, 'https://api.bilendo.de/api/v1/invoices');
                                    curl_setopt($ch, CURLOPT_CUSTOMREQUEST, 'POST');
                                    curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
                                    curl_setopt($ch, CURLOPT_HTTPHEADER, ["Authorization: Token token=YOUR-API-TOKEN"]);
                                    $body = [
                                        'customer[name]'     => 'New Company Inc.',
                                        'contact[name]'      => 'John Smith',
                                        'invoice'            => new CurlFile('invoice.pdf', 'application/pdf'),
                                        'invoice_attachment' => new CurlFile('attachment.pdf', 'application/pdf'),
                                    ];
                                    curl_setopt($ch, CURLOPT_POST, 1);
                                    curl_setopt($ch, CURLOPT_POSTFIELDS, $body);
                                    $resp = curl_exec($ch);
                                
require 'net/http'
                                    require 'net/https'
                                    require 'net/http/post/multipart'
                                    uri = URI('https://api.bilendo.de/api/v1/invoices')
                                    http = Net::HTTP.new(uri.host, uri.port)
                                    http.use_ssl = true
                                    http.verify_mode = OpenSSL::SSL::VERIFY_PEER
                                    body = {
                                        'customer[name]'     => 'New Company Inc.',
                                        'contact[name]'      => 'John Smith',
                                        'invoice'            => UploadIO.new(File.new('invoice.pdf'), 'application/pdf'),
                                        'invoice_attachment' => UploadIO.new(File.new('attachment.pdf'), 'application/pdf')
                                    }
                                    req = Net::HTTP::Post::Multipart.new(uri, body)
                                    req.add_field 'Authorization', 'Token token=YOUR-API-TOKEN'
                                    res = http.request(req)
                                
import requests
                                    response = requests.post(
                                        url = 'https://api.bilendo.de/api/v1/invoices',
                                        headers = {
                                            'Authorization': 'Token token=YOUR-API-TOKEN'
                                        },
                                        files = {
                                            'invoice':            open('invoice.pdf', 'rb'),
                                            'invoice_attachment': open('attachment.pdf', 'rb')
                                        },
                                        data = {
                                            'customer[name]': 'New Company Inc',
                                            'contact[name]':  'John Smith'
                                        }
                                    )