Przejdź do głównej zawartości

ProductInvoice

Dla: Programista

Typ obiektowyProductInvoice

A sales invoice the print shop issued for a product of an order, as recorded in Prynt (the invoice itself is issued in the accounting system).

Pola

PoleTypOpis
billingEntityIdID

Identifier of the billing entity of the print shop that issued the invoice (an entry of billingEntities); null when not recorded.

createdAtDateTime!

When the invoice was recorded in Prynt.

currencyCodeString!

Code of the invoice currency, for example PLN or EUR: the currency of the order when the invoice was recorded.

currencyIdID

Identifier of the invoice currency (an entry of currencies): the currency of the order. Null on older invoices; currencyCode is always set.

dueDateDateTime

Payment due date (UTC midnight of that day); null when not set.

exchangeRateFloat

Exchange rate from the invoice currency to the print shop home currency used for the *Home amounts (1 for the home currency); by default the rate of the business day before the issue date.

Wymaga zakresu prices:read.

fileFile

The invoice document (for example its PDF): the newest file attached to the invoice; null when none was attached.

Wymaga zakresu files:read.

grossAmountFloat

Gross amount of the invoice, in the invoice currency (currencyCode).

Wymaga zakresu prices:read.

grossHomeFloat

Gross amount in the print shop home currency.

Wymaga zakresu prices:read.

idID!

Identifier of the invoice (UUID).

invoiceNumberString!

Number of the invoice, as issued.

issueDateDateTime!

Date of issue (UTC midnight of that day).

netAmountFloat

Net amount of the invoice, in the invoice currency.

Wymaga zakresu prices:read.

netHomeFloat

Net amount in the print shop home currency.

Wymaga zakresu prices:read.

orderIdID!

Identifier of the order of that product (Order.id): where the buyer is (Order.clientId, the invoice data of the order). It never changes for an invoice.

productIdID!

Identifier of the product the invoice is for (Product.id).

rateDateDateTime

Day of the exchange rate (UTC midnight of that day); null when not recorded.

rateTableNoString

Number of the exchange rate table the rate comes from (for the National Bank of Poland, for example 192/A/NBP/2026); null for the home currency or a rate entered by hand.

typeProductInvoiceType!

Type of the invoice.

updatedAtDateTime!

When the invoice or its file last changed. Filter on it with updatedFrom to fetch only what changed since your last sync.

vatAmountFloat

VAT amount of the invoice, in the invoice currency.

Wymaga zakresu prices:read.

vatHomeFloat

VAT amount in the print shop home currency.

Wymaga zakresu prices:read.

vatRateFloat

VAT rate of the invoice as a fraction, for example 0.23 for 23%.

Używane w