Invoices#
InvoicesPaymentTypeDebut#
Invoice data for type debit
message InvoicesPaymentTypeDebit {
string iban = 1;
string bic = 2;
string bankname = 3;
}
Field |
Type |
Description |
|---|---|---|
|
|
Bank account IBAN number |
|
|
Bank BIC number |
|
|
Bank name |
InvoicesPaymentTypeCredit#
Invoice data for type credit
message InvoicesPaymentTypeCredit {
string card_number = 1;
string card_owner = 2;
string card_valid_until = 3;
optional string card_issuer = 4;
}
Field |
Type |
Description |
|---|---|---|
|
|
Credit card number |
|
|
Credit card owner |
|
|
Month and year until when the card is valid |
|
|
Optional. What company issued the card |
InvoicesRoot#
Invoices root collection
message InvoicesRoot {
string id = 1;
string name = 2;
string title = 3;
Language language = 18;
string email = 20;
optional string email_cc = 21;
optional string address = 23;
optional string country = 22;
bool send_printed_invoice = 24;
InvoicesPaymentType payment_type = 25;
optional InvoicesPaymentTypeDebit debit_data = 26;
optional InvoicesPaymentTypeCredit credit_data = 27;
ItemType item_type = 28;
EffectivePermission effective_permission = 29;
string dataroom_id = 30;
optional string mandate_reference = 31;
}
Field |
Type |
Description |
|---|---|---|
|
|
|
|
|
|
|
|
|
|
|
See Language |
|
|
|
|
|
Optional |
|
|
Optional |
|
|
Optional |
|
|
|
|
|
|
|
|
Optional see InvoicesPaymentTypeDebit |
|
|
Optional see InvoicesPaymentTypeCredit |
|
|
see ItemType |
|
|
|
|
|
|
|
|
Optional |
InvoiceItem#
Interface for one invoice item
message InvoiceItem {
string id = 1;
string title = 2;
bool is_first_invoice = 3;
bool invoice_paper = 4;
optional string comment = 5;
google.protobuf.Timestamp invoice_from = 6;
google.protobuf.Timestamp invoice_until = 7;
google.protobuf.Timestamp invoice_date = 8;
google.protobuf.Timestamp invoice_paid = 9;
uint32 invoice_amount = 10;
optional uint32 invoice_amount_open = 11;
string currency = 12;
ItemType item_type = 13;
EffectivePermission effective_permission = 14;
string name = 15;
string dataroom_id = 16;
optional string mandate_reference = 17;
optional bool pdf_variant_exists = 18;
optional bool pdf_variant_creatable = 19;
optional string mime_type = 20;
}
Field |
Type |
Description |
|---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Optional |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Optional |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Optional |
|
|
Optional |
|
|
Optional |
|
|
Optional |