Zahlungseingang v2 /api/v2/:principal_slug/business/payment_receipts

Überblick

Klasse / Datentyp
Zahlungseingang
Response Formats
JSON
API Version
v2
Öffentlich erreichbar
false
HTTP Methode
GET
Zuletzt aktualisiert

/api/v2/:principal_slug/business/payment_receipts

Parameter

Query Parameter

Schlüssel
booked optional

Verbuchte Zahlungseingänge

invoice_id optional

Business::Invoice ID

payment_id optional

Business::Payment ID

sepa_import_id optional

Business::Accounting::SepaImport ID

valuta optional

Valuta Datum

without_payment optional

Ohne verbundene Zahlung

principal_slug Pflicht

Backend::Principal Slug / ID

page optional

Seite Definition der darzustellenden Seite. Standardwert: 1

per optional

Anzahl Datensätze pro Seite Definition der darzustellenden Datensätze pro Seite.

account_id optional

Business::Account ID

accounting_year_id optional

Business::AccountingYear ID

client_id optional

Business::Partner::Client ID

period_id optional

Business::Period ID

Beispiel Rückgabe

{
  "data" : [
    {
      "id"      : "581b837856820b1b2d204aea",
      "valuta"  : "2016-12-03",
      "client"  : {
        "id"                     : "5770fb6856820b57b4c898e2",
        "_type"                  : "Business::Partner::Client::PrivateClient",
        "name"                   : "XXXXXXXX",
        "backend_application_id" : "XXXXXXXX",
        "foreign_id"             : "XXXXXXXX"
      },
      "invoice" : {
        "id"               : "581b2f6a56820b4981b56f72",
        "number"           : "RE-20161103-435",
        "state"            : "completed",
        "state_translated" : "Abgeschlossen"
      },
      "payment" : null,
      "price"   : {"id" : "581b837856820b1b2d204aeb","value" : 39.95}
    },
    {
      "id"      : "581ae31856820b1808a4f26b",
      "valuta"  : "2016-12-01",
      "client"  : {
        "id"                     : "5770fdd156820b57b4c8e559",
        "_type"                  : "Business::Partner::Client::PrivateClient",
        "name"                   : "XXXXXXXX",
        "backend_application_id" : "XXXXXXXX",
        "foreign_id"             : "XXXXXXXX"
      },
      "invoice" : {
        "id"               : "58188cca56820b0e7e54e460",
        "number"           : "RE-20161101-354",
        "state"            : "completed",
        "state_translated" : "Abgeschlossen"
      },
      "payment" : null,
      "price"   : {"id" : "581ae31856820b1808a4f26c","value" : 30}
    }
  ],
  "meta" : {
    "resource_class" : "Business::PaymentReceipt",
    "max_updated_at" : "2016-11-03T18:35:37.784Z",
    "page"           : 1,
    "per"            : 2,
    "total_pages"    : 165,
    "total_count"    : 330
  }
}