API-Referenz · 35 Endpunkte

Endpunkte

Alle Pfade relativ zu https://app.billingsuite.de/api/v1. Listen sind cursorbasiert: ?limit=50&cursor=…. Klicken Sie auf einen Endpunkt für ein Beispiel.

Inhalt

Konto

Informationen zum Schlüssel und Unternehmen.

  • GET/meUnternehmen, Benutzer und Rechte des Schlüssels
    Recht des Schlüssels
    read
    Rolle
    keine
    Beispiel
    curl "https://app.billingsuite.de/api/v1/me" \
      -H "Authorization: Bearer $BILLINGSUITE_API_KEY"

Kunden

Kunden anlegen, suchen und ändern. Löschen archiviert.

  • GET/customersKunden auflisten und suchen (?q=)
    Recht des Schlüssels
    read
    Rolle
    customers:read
    Beispiel
    curl "https://app.billingsuite.de/api/v1/customers" \
      -H "Authorization: Bearer $BILLINGSUITE_API_KEY"
  • POST/customersKunden anlegen
    Recht des Schlüssels
    write
    Rolle
    customers:write
    Idempotency-Key
    unterstützt
    Beispiel
    curl -X POST "https://app.billingsuite.de/api/v1/customers" \
      -H "Authorization: Bearer $BILLINGSUITE_API_KEY" \
      -H "Idempotency-Key: $(uuidgen)" \
      -H "Content-Type: application/json" \
      -d '{ … }'
  • GET/customers/{id}Kunden abrufen
    Recht des Schlüssels
    read
    Rolle
    customers:read
    Beispiel
    curl "https://app.billingsuite.de/api/v1/customers/4b7e9c02-1d3a-4f55-8e21-6a0c9b3d7f18" \
      -H "Authorization: Bearer $BILLINGSUITE_API_KEY"
  • PATCH/customers/{id}Kunden ändern
    Recht des Schlüssels
    write
    Rolle
    customers:write
    Beispiel
    curl -X PATCH "https://app.billingsuite.de/api/v1/customers/4b7e9c02-1d3a-4f55-8e21-6a0c9b3d7f18" \
      -H "Authorization: Bearer $BILLINGSUITE_API_KEY" \
      -H "Content-Type: application/json" \
      -d '{ … }'
  • DELETE/customers/{id}Kunden archivieren
    Recht des Schlüssels
    write
    Rolle
    customers:write
    Beispiel
    curl -X DELETE "https://app.billingsuite.de/api/v1/customers/4b7e9c02-1d3a-4f55-8e21-6a0c9b3d7f18" \
      -H "Authorization: Bearer $BILLINGSUITE_API_KEY"

Produkte

Artikel und Leistungen für Positionen.

  • GET/productsProdukte auflisten
    Recht des Schlüssels
    read
    Rolle
    products:read
    Beispiel
    curl "https://app.billingsuite.de/api/v1/products" \
      -H "Authorization: Bearer $BILLINGSUITE_API_KEY"
  • POST/productsProdukt anlegen
    Recht des Schlüssels
    write
    Rolle
    products:write
    Idempotency-Key
    unterstützt
    Beispiel
    curl -X POST "https://app.billingsuite.de/api/v1/products" \
      -H "Authorization: Bearer $BILLINGSUITE_API_KEY" \
      -H "Idempotency-Key: $(uuidgen)" \
      -H "Content-Type: application/json" \
      -d '{ … }'
  • PATCH/products/{id}Produkt ändern
    Recht des Schlüssels
    write
    Rolle
    products:write
    Beispiel
    curl -X PATCH "https://app.billingsuite.de/api/v1/products/4b7e9c02-1d3a-4f55-8e21-6a0c9b3d7f18" \
      -H "Authorization: Bearer $BILLINGSUITE_API_KEY" \
      -H "Content-Type: application/json" \
      -d '{ … }'

Dokumente

Rechnungen, Angebote und alle weiteren Dokumenttypen. Nur Entwürfe sind änderbar.

  • GET/documentsDokumente auflisten (type, status, customerId, from, to, q)
    Recht des Schlüssels
    read
    Rolle
    documents:read
    Beispiel
    curl "https://app.billingsuite.de/api/v1/documents" \
      -H "Authorization: Bearer $BILLINGSUITE_API_KEY"
  • POST/documentsEntwurf anlegen
    Recht des Schlüssels
    write
    Rolle
    documents:write
    Idempotency-Key
    unterstützt
    Beispiel
    curl -X POST "https://app.billingsuite.de/api/v1/documents" \
      -H "Authorization: Bearer $BILLINGSUITE_API_KEY" \
      -H "Idempotency-Key: $(uuidgen)" \
      -H "Content-Type: application/json" \
      -d '{ … }'
  • GET/documents/{id}Dokument abrufen
    Recht des Schlüssels
    read
    Rolle
    documents:read
    Beispiel
    curl "https://app.billingsuite.de/api/v1/documents/4b7e9c02-1d3a-4f55-8e21-6a0c9b3d7f18" \
      -H "Authorization: Bearer $BILLINGSUITE_API_KEY"
  • PATCH/documents/{id}Entwurf ändern
    Recht des Schlüssels
    write
    Rolle
    documents:write
    Beispiel
    curl -X PATCH "https://app.billingsuite.de/api/v1/documents/4b7e9c02-1d3a-4f55-8e21-6a0c9b3d7f18" \
      -H "Authorization: Bearer $BILLINGSUITE_API_KEY" \
      -H "Content-Type: application/json" \
      -d '{ … }'
  • DELETE/documents/{id}Entwurf löschen
    Recht des Schlüssels
    write
    Rolle
    documents:write
    Beispiel
    curl -X DELETE "https://app.billingsuite.de/api/v1/documents/4b7e9c02-1d3a-4f55-8e21-6a0c9b3d7f18" \
      -H "Authorization: Bearer $BILLINGSUITE_API_KEY"
  • POST/documents/{id}/finalizeAbschließen und Nummer vergeben
    Recht des Schlüssels
    finalize
    Rolle
    documents:finalize
    Idempotency-Key
    unterstützt
    Beispiel
    curl -X POST "https://app.billingsuite.de/api/v1/documents/4b7e9c02-1d3a-4f55-8e21-6a0c9b3d7f18/finalize" \
      -H "Authorization: Bearer $BILLINGSUITE_API_KEY" \
      -H "Idempotency-Key: $(uuidgen)" \
      -H "Content-Type: application/json" \
      -d '{ … }'
  • POST/documents/{id}/sendPer E-Mail versenden
    Recht des Schlüssels
    send
    Rolle
    documents:send
    Idempotency-Key
    unterstützt
    Beispiel
    curl -X POST "https://app.billingsuite.de/api/v1/documents/4b7e9c02-1d3a-4f55-8e21-6a0c9b3d7f18/send" \
      -H "Authorization: Bearer $BILLINGSUITE_API_KEY" \
      -H "Idempotency-Key: $(uuidgen)" \
      -H "Content-Type: application/json" \
      -d '{ … }'
  • POST/documents/{id}/cancelStornieren (Stornorechnung)
    Recht des Schlüssels
    finalize
    Rolle
    documents:cancel
    Idempotency-Key
    unterstützt
    Beispiel
    curl -X POST "https://app.billingsuite.de/api/v1/documents/4b7e9c02-1d3a-4f55-8e21-6a0c9b3d7f18/cancel" \
      -H "Authorization: Bearer $BILLINGSUITE_API_KEY" \
      -H "Idempotency-Key: $(uuidgen)" \
      -H "Content-Type: application/json" \
      -d '{ … }'
  • POST/documents/{id}/convertUmwandeln, zum Beispiel Angebot in Rechnung
    Recht des Schlüssels
    write
    Rolle
    documents:write
    Beispiel
    curl -X POST "https://app.billingsuite.de/api/v1/documents/4b7e9c02-1d3a-4f55-8e21-6a0c9b3d7f18/convert" \
      -H "Authorization: Bearer $BILLINGSUITE_API_KEY" \
      -H "Content-Type: application/json" \
      -d '{ … }'
  • POST/documents/{id}/credit-noteRechnungskorrektur als Entwurf
    Recht des Schlüssels
    write
    Rolle
    documents:write
    Beispiel
    curl -X POST "https://app.billingsuite.de/api/v1/documents/4b7e9c02-1d3a-4f55-8e21-6a0c9b3d7f18/credit-note" \
      -H "Authorization: Bearer $BILLINGSUITE_API_KEY" \
      -H "Content-Type: application/json" \
      -d '{ … }'
  • GET/documents/{id}/pdfPDF herunterladen (?link=1 für signierten Link)
    Recht des Schlüssels
    read
    Rolle
    documents:read
    Beispiel
    curl "https://app.billingsuite.de/api/v1/documents/4b7e9c02-1d3a-4f55-8e21-6a0c9b3d7f18/pdf" \
      -H "Authorization: Bearer $BILLINGSUITE_API_KEY"
  • GET/documents/{id}/xmlE-Rechnung als XML (?format=xrechnung_cii)
    Recht des Schlüssels
    read
    Rolle
    documents:read
    Beispiel
    curl "https://app.billingsuite.de/api/v1/documents/4b7e9c02-1d3a-4f55-8e21-6a0c9b3d7f18/xml" \
      -H "Authorization: Bearer $BILLINGSUITE_API_KEY"
  • POST/documents/{id}/peppolPeppol-UBL erzeugen
    Recht des Schlüssels
    send
    Rolle
    documents:send
    Beispiel
    curl -X POST "https://app.billingsuite.de/api/v1/documents/4b7e9c02-1d3a-4f55-8e21-6a0c9b3d7f18/peppol" \
      -H "Authorization: Bearer $BILLINGSUITE_API_KEY" \
      -H "Content-Type: application/json" \
      -d '{ … }'

Zahlungen

Zahlungen erfassen und stornieren. Gelöscht wird nichts.

  • GET/paymentsZahlungen auflisten
    Recht des Schlüssels
    read
    Rolle
    payments:read
    Beispiel
    curl "https://app.billingsuite.de/api/v1/payments" \
      -H "Authorization: Bearer $BILLINGSUITE_API_KEY"
  • POST/documents/{id}/paymentsZahlung erfassen
    Recht des Schlüssels
    write
    Rolle
    payments:write
    Idempotency-Key
    unterstützt
    Beispiel
    curl -X POST "https://app.billingsuite.de/api/v1/documents/4b7e9c02-1d3a-4f55-8e21-6a0c9b3d7f18/payments" \
      -H "Authorization: Bearer $BILLINGSUITE_API_KEY" \
      -H "Idempotency-Key: $(uuidgen)" \
      -H "Content-Type: application/json" \
      -d '{ … }'
  • DELETE/payments/{id}Zahlung stornieren (mit reason)
    Recht des Schlüssels
    write
    Rolle
    payments:write
    Beispiel
    curl -X DELETE "https://app.billingsuite.de/api/v1/payments/4b7e9c02-1d3a-4f55-8e21-6a0c9b3d7f18" \
      -H "Authorization: Bearer $BILLINGSUITE_API_KEY"

Mahnwesen und Serien

Mahnvorschläge, Mahnungen und Serienrechnungen.

  • GET/dunning/candidatesVorschlag für den Mahnlauf
    Recht des Schlüssels
    read
    Rolle
    dunning:read
    Beispiel
    curl "https://app.billingsuite.de/api/v1/dunning/candidates" \
      -H "Authorization: Bearer $BILLINGSUITE_API_KEY"
  • POST/dunning/noticesMahnung erstellen
    Recht des Schlüssels
    write
    Rolle
    dunning:run
    Idempotency-Key
    unterstützt
    Beispiel
    curl -X POST "https://app.billingsuite.de/api/v1/dunning/notices" \
      -H "Authorization: Bearer $BILLINGSUITE_API_KEY" \
      -H "Idempotency-Key: $(uuidgen)" \
      -H "Content-Type: application/json" \
      -d '{ … }'
  • GET/recurring-profilesSerienrechnungen auflisten
    Recht des Schlüssels
    read
    Rolle
    recurring:read
    Beispiel
    curl "https://app.billingsuite.de/api/v1/recurring-profiles" \
      -H "Authorization: Bearer $BILLINGSUITE_API_KEY"
  • POST/recurring-profilesSerienrechnung anlegen
    Recht des Schlüssels
    write
    Rolle
    recurring:write
    Beispiel
    curl -X POST "https://app.billingsuite.de/api/v1/recurring-profiles" \
      -H "Authorization: Bearer $BILLINGSUITE_API_KEY" \
      -H "Content-Type: application/json" \
      -d '{ … }'

Auswertungen und Stammdaten

Offene Posten, Umsatz, Steuersätze, Nummernkreise, Vorlagen.

  • GET/reports/receivablesOffene Posten nach Fälligkeit
    Recht des Schlüssels
    read
    Rolle
    analytics:read
    Beispiel
    curl "https://app.billingsuite.de/api/v1/reports/receivables" \
      -H "Authorization: Bearer $BILLINGSUITE_API_KEY"
  • GET/reports/revenueUmsatz (from, to, basis)
    Recht des Schlüssels
    read
    Rolle
    analytics:read
    Beispiel
    curl "https://app.billingsuite.de/api/v1/reports/revenue" \
      -H "Authorization: Bearer $BILLINGSUITE_API_KEY"
  • GET/tax-ratesSteuersätze
    Recht des Schlüssels
    read
    Rolle
    settings:read
    Beispiel
    curl "https://app.billingsuite.de/api/v1/tax-rates" \
      -H "Authorization: Bearer $BILLINGSUITE_API_KEY"
  • GET/number-rangesNummernkreise
    Recht des Schlüssels
    read
    Rolle
    settings:read
    Beispiel
    curl "https://app.billingsuite.de/api/v1/number-ranges" \
      -H "Authorization: Bearer $BILLINGSUITE_API_KEY"
  • GET/templatesVorlagen
    Recht des Schlüssels
    read
    Rolle
    templates:read
    Beispiel
    curl "https://app.billingsuite.de/api/v1/templates" \
      -H "Authorization: Bearer $BILLINGSUITE_API_KEY"
  • POST/extract/customerKundendaten aus Dokument erkennen (multipart)
    Recht des Schlüssels
    write
    Rolle
    ai:use
    Beispiel
    curl -X POST "https://app.billingsuite.de/api/v1/extract/customer" \
      -H "Authorization: Bearer $BILLINGSUITE_API_KEY" \
      -H "Content-Type: application/json" \
      -d '{ … }'