Create purchase order
const url = 'https://api.shypr.app/rest/billing/purchaseOrders/create';const options = { method: 'POST', headers: {'X-API-KEY': '<X-API-KEY>', 'Content-Type': 'application/json'}, body: '{"actionType":"draft","supplierId":"2489E9AD-2EE2-8E00-8EC9-32D5F69181C0","currency":{"currencyCode":"example","numericCode":1,"name":"example","defaultFractionDigits":1,"currencyType":{}},"requestedShipDate":"2026-04-15T12:00:00Z","shippingCost":1,"products":[{"position":1,"productId":"2489E9AD-2EE2-8E00-8EC9-32D5F69181C0","reservedProductId":"2489E9AD-2EE2-8E00-8EC9-32D5F69181C0","pricePerUnit":1,"discountPercentage":1,"quantity":1,"comment":"example","isRemoved":false,"priceTiers":[{"quantity":1,"pricePerUnit":1}]}],"shipTo":{"id":"example","uid":"2489E9AD-2EE2-8E00-8EC9-32D5F69181C0","name":"example","street":"example","streetNo":"example","city":"example","zip":"example","state":"example","attention":"example","countryName":"example","countryISOAlpha3":"example"},"shipToSourceId":"2489E9AD-2EE2-8E00-8EC9-32D5F69181C0","billToSourceId":"2489E9AD-2EE2-8E00-8EC9-32D5F69181C0","contactSourceId":"2489E9AD-2EE2-8E00-8EC9-32D5F69181C0","trackAndTraceNumbers":["example"],"salesOrderNumber":"example","sendTo":{"name":"example","email":"hello@example.com","ccEmails":["example"],"message":"example","attachments":["example"]},"exchangeRate":{}}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://api.shypr.app/rest/billing/purchaseOrders/create \ --header 'Content-Type: application/json' \ --header 'X-API-KEY: <X-API-KEY>' \ --data '{ "actionType": "draft", "supplierId": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "currency": { "currencyCode": "example", "numericCode": 1, "name": "example", "defaultFractionDigits": 1, "currencyType": {} }, "requestedShipDate": "2026-04-15T12:00:00Z", "shippingCost": 1, "products": [ { "position": 1, "productId": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "reservedProductId": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "pricePerUnit": 1, "discountPercentage": 1, "quantity": 1, "comment": "example", "isRemoved": false, "priceTiers": [ { "quantity": 1, "pricePerUnit": 1 } ] } ], "shipTo": { "id": "example", "uid": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "name": "example", "street": "example", "streetNo": "example", "city": "example", "zip": "example", "state": "example", "attention": "example", "countryName": "example", "countryISOAlpha3": "example" }, "shipToSourceId": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "billToSourceId": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "contactSourceId": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "trackAndTraceNumbers": [ "example" ], "salesOrderNumber": "example", "sendTo": { "name": "example", "email": "hello@example.com", "ccEmails": [ "example" ], "message": "example", "attachments": [ "example" ] }, "exchangeRate": {} }'Creates a PurchaseOrder resource.
Authorizations
Section titled “Authorizations”Request Bodyrequired
Section titled “Request Bodyrequired”The new PurchaseOrder resource
object
object
The currency code. For ISO currencies this will be the 3-letter uppercase ISO 4217 currency code. For non-ISO currencies no constraints are defined, but the code must be unique across an application and must not conflict with ISO currency codes.
The numeric currency code. For ISO currencies this will be the ISO 4217 numeric currency code. For non-ISO currencies no constraints are defined, but the code must be unique across an application and must not conflict with ISO currency codes. Set to null if the currency does not have a numeric code.
The currency name. For ISO currencies this will be the official English name of the currency. For non-ISO currencies no constraints are defined.
The default number of fraction digits (typical scale) used with this currency. For example, the default number of fraction digits for the Euro is 2, while for the Japanese Yen it is 0. This cannot be a negative number.
The type of the currency. For ISO currencies, this indicates whether the currency is currently in use (IsoCurrent) or has been withdrawn (IsoHistorical). For non-ISO currencies defined by the application, the type is Custom.
object
object
Null when the price is not known yet: a line of a request for quotation. It is stored as 0.
The discount off the unit price, from 0 to 100. Null: the discount of the price list for a line without a price, the discount that a saved line has, else 0. See docs/price-lists.md.
An edit form sends a removed line without its quantity: it shows only the hidden fields of that line. Nothing reads the quantity of a removed line.
The other quantities that a quote offers for this line. Only a quote keeps them.
object
object
The address that the form selected for the ship-to copy: any address of the workspace, see PurchaseOrder::selectShipToLocation(). Null is an address that the user typed.
The address and the contact of the company that the form selected.
The sales order number of the supplier for this order, from its order confirmation.
object
Signed upload tickets, see POST /rest/documents/upload-url.
The value of 1 of the document currency in the currency of the workspace, as a decimal string (“1.0873”). Null takes the ECB rate of the document date.
object
The scale (number of digits after the decimal point) of this decimal number.
Returns the unscaled value of this decimal number.
object
Returns the number of bits in the minimal two’s-complement representation of this BigInteger, excluding a sign bit.
Returns the index of the rightmost (lowest-order) one bit in this BigInteger.
Returns whether this number is even.
Returns whether this number is odd.
Checks if this number equals zero.
Checks if this number is strictly negative.
Checks if this number is negative or zero.
Checks if this number is strictly positive.
Checks if this number is positive or zero.
Returns the number of significant digits in the number.
Returns the integral part of this decimal number.
object
Returns the number of bits in the minimal two’s-complement representation of this BigInteger, excluding a sign bit.
Returns the index of the rightmost (lowest-order) one bit in this BigInteger.
Returns whether this number is even.
Returns whether this number is odd.
Checks if this number equals zero.
Checks if this number is strictly negative.
Checks if this number is negative or zero.
Checks if this number is strictly positive.
Checks if this number is positive or zero.
Returns the fractional part of this decimal number.
object
The scale (number of digits after the decimal point) of this decimal number.
Returns the unscaled value of this decimal number.
object
Returns the number of bits in the minimal two’s-complement representation of this BigInteger, excluding a sign bit.
Returns the index of the rightmost (lowest-order) one bit in this BigInteger.
Returns whether this number is even.
Returns whether this number is odd.
Checks if this number equals zero.
Checks if this number is strictly negative.
Checks if this number is negative or zero.
Checks if this number is strictly positive.
Checks if this number is positive or zero.
Returns the number of significant digits in the number.
Returns the integral part of this decimal number.
object
Returns the number of bits in the minimal two’s-complement representation of this BigInteger, excluding a sign bit.
Returns the index of the rightmost (lowest-order) one bit in this BigInteger.
Returns whether this number is even.
Returns whether this number is odd.
Checks if this number equals zero.
Checks if this number is strictly negative.
Checks if this number is negative or zero.
Checks if this number is strictly positive.
Checks if this number is positive or zero.
Checks if this number equals zero.
Checks if this number is strictly negative.
Checks if this number is negative or zero.
Checks if this number is strictly positive.
Checks if this number is positive or zero.
Checks if this number equals zero.
Checks if this number is strictly negative.
Checks if this number is negative or zero.
Checks if this number is strictly positive.
Checks if this number is positive or zero.
object
object
The currency code. For ISO currencies this will be the 3-letter uppercase ISO 4217 currency code. For non-ISO currencies no constraints are defined, but the code must be unique across an application and must not conflict with ISO currency codes.
The numeric currency code. For ISO currencies this will be the ISO 4217 numeric currency code. For non-ISO currencies no constraints are defined, but the code must be unique across an application and must not conflict with ISO currency codes. Set to null if the currency does not have a numeric code.
The currency name. For ISO currencies this will be the official English name of the currency. For non-ISO currencies no constraints are defined.
The default number of fraction digits (typical scale) used with this currency. For example, the default number of fraction digits for the Euro is 2, while for the Japanese Yen it is 0. This cannot be a negative number.
The type of the currency. For ISO currencies, this indicates whether the currency is currently in use (IsoCurrent) or has been withdrawn (IsoHistorical). For non-ISO currencies defined by the application, the type is Custom.
object
object
Null when the price is not known yet: a line of a request for quotation. It is stored as 0.
The discount off the unit price, from 0 to 100. Null: the discount of the price list for a line without a price, the discount that a saved line has, else 0. See docs/price-lists.md.
An edit form sends a removed line without its quantity: it shows only the hidden fields of that line. Nothing reads the quantity of a removed line.
The other quantities that a quote offers for this line. Only a quote keeps them.
object
object
The address that the form selected for the ship-to copy: any address of the workspace, see PurchaseOrder::selectShipToLocation(). Null is an address that the user typed.
The address and the contact of the company that the form selected.
The sales order number of the supplier for this order, from its order confirmation.
object
Signed upload tickets, see POST /rest/documents/upload-url.
The value of 1 of the document currency in the currency of the workspace, as a decimal string (“1.0873”). Null takes the ECB rate of the document date.
object
The scale (number of digits after the decimal point) of this decimal number.
Returns the unscaled value of this decimal number.
object
Returns the number of bits in the minimal two’s-complement representation of this BigInteger, excluding a sign bit.
Returns the index of the rightmost (lowest-order) one bit in this BigInteger.
Returns whether this number is even.
Returns whether this number is odd.
Checks if this number equals zero.
Checks if this number is strictly negative.
Checks if this number is negative or zero.
Checks if this number is strictly positive.
Checks if this number is positive or zero.
Returns the number of significant digits in the number.
Returns the integral part of this decimal number.
object
Returns the number of bits in the minimal two’s-complement representation of this BigInteger, excluding a sign bit.
Returns the index of the rightmost (lowest-order) one bit in this BigInteger.
Returns whether this number is even.
Returns whether this number is odd.
Checks if this number equals zero.
Checks if this number is strictly negative.
Checks if this number is negative or zero.
Checks if this number is strictly positive.
Checks if this number is positive or zero.
Returns the fractional part of this decimal number.
object
The scale (number of digits after the decimal point) of this decimal number.
Returns the unscaled value of this decimal number.
object
Returns the number of bits in the minimal two’s-complement representation of this BigInteger, excluding a sign bit.
Returns the index of the rightmost (lowest-order) one bit in this BigInteger.
Returns whether this number is even.
Returns whether this number is odd.
Checks if this number equals zero.
Checks if this number is strictly negative.
Checks if this number is negative or zero.
Checks if this number is strictly positive.
Checks if this number is positive or zero.
Returns the number of significant digits in the number.
Returns the integral part of this decimal number.
object
Returns the number of bits in the minimal two’s-complement representation of this BigInteger, excluding a sign bit.
Returns the index of the rightmost (lowest-order) one bit in this BigInteger.
Returns whether this number is even.
Returns whether this number is odd.
Checks if this number equals zero.
Checks if this number is strictly negative.
Checks if this number is negative or zero.
Checks if this number is strictly positive.
Checks if this number is positive or zero.
Checks if this number equals zero.
Checks if this number is strictly negative.
Checks if this number is negative or zero.
Checks if this number is strictly positive.
Checks if this number is positive or zero.
Checks if this number equals zero.
Checks if this number is strictly negative.
Checks if this number is negative or zero.
Checks if this number is strictly positive.
Checks if this number is positive or zero.
Responses
Section titled “Responses”PurchaseOrder resource created
object
The last time the buyer sent the request for quotation to the supplier.
The sales order number of the supplier for this order, from its order confirmation.
The manufacturing lots opened by the receipts of this purchase order.
The address as it was on the day of the document.
object
The lines of the address on a PDF: the street, the zip with the city and the state, the country.
object
The net total, in minor units with 2 decimals, so 100000 is 1000.00.
object
The amount.
object
The scale (number of digits after the decimal point) of this decimal number.
Returns the unscaled value of this decimal number.
object
Returns the number of bits in the minimal two’s-complement representation of this BigInteger, excluding a sign bit.
Returns the index of the rightmost (lowest-order) one bit in this BigInteger.
Returns whether this number is even.
Returns whether this number is odd.
Checks if this number equals zero.
Checks if this number is strictly negative.
Checks if this number is negative or zero.
Checks if this number is strictly positive.
Checks if this number is positive or zero.
Returns the number of significant digits in the number.
Returns the integral part of this decimal number.
object
Returns the number of bits in the minimal two’s-complement representation of this BigInteger, excluding a sign bit.
Returns the index of the rightmost (lowest-order) one bit in this BigInteger.
Returns whether this number is even.
Returns whether this number is odd.
Checks if this number equals zero.
Checks if this number is strictly negative.
Checks if this number is negative or zero.
Checks if this number is strictly positive.
Checks if this number is positive or zero.
Returns the fractional part of this decimal number.
object
The scale (number of digits after the decimal point) of this decimal number.
Returns the unscaled value of this decimal number.
object
Returns the number of bits in the minimal two’s-complement representation of this BigInteger, excluding a sign bit.
Returns the index of the rightmost (lowest-order) one bit in this BigInteger.
Returns whether this number is even.
Returns whether this number is odd.
Checks if this number equals zero.
Checks if this number is strictly negative.
Checks if this number is negative or zero.
Checks if this number is strictly positive.
Checks if this number is positive or zero.
Returns the number of significant digits in the number.
Returns the integral part of this decimal number.
object
Returns the number of bits in the minimal two’s-complement representation of this BigInteger, excluding a sign bit.
Returns the index of the rightmost (lowest-order) one bit in this BigInteger.
Returns whether this number is even.
Returns whether this number is odd.
Checks if this number equals zero.
Checks if this number is strictly negative.
Checks if this number is negative or zero.
Checks if this number is strictly positive.
Checks if this number is positive or zero.
Checks if this number equals zero.
Checks if this number is strictly negative.
Checks if this number is negative or zero.
Checks if this number is strictly positive.
Checks if this number is positive or zero.
Checks if this number equals zero.
Checks if this number is strictly negative.
Checks if this number is negative or zero.
Checks if this number is strictly positive.
Checks if this number is positive or zero.
The currency.
object
The currency code. For ISO currencies this will be the 3-letter uppercase ISO 4217 currency code. For non-ISO currencies no constraints are defined, but the code must be unique across an application and must not conflict with ISO currency codes.
The numeric currency code. For ISO currencies this will be the ISO 4217 numeric currency code. For non-ISO currencies no constraints are defined, but the code must be unique across an application and must not conflict with ISO currency codes. Set to null if the currency does not have a numeric code.
The currency name. For ISO currencies this will be the official English name of the currency. For non-ISO currencies no constraints are defined.
The default number of fraction digits (typical scale) used with this currency. For example, the default number of fraction digits for the Euro is 2, while for the Japanese Yen it is 0. This cannot be a negative number.
The type of the currency. For ISO currencies, this indicates whether the currency is currently in use (IsoCurrent) or has been withdrawn (IsoHistorical). For non-ISO currencies defined by the application, the type is Custom.
object
The context that defines the capability of this Money.
object
Returns the step used by this context.
Returns whether this context produces a deterministic scale regardless of the input value.
Returns the amount of this Money in minor units (cents) for the currency.
object
The scale (number of digits after the decimal point) of this decimal number.
Returns the unscaled value of this decimal number.
object
Returns the number of bits in the minimal two’s-complement representation of this BigInteger, excluding a sign bit.
Returns the index of the rightmost (lowest-order) one bit in this BigInteger.
Returns whether this number is even.
Returns whether this number is odd.
Checks if this number equals zero.
Checks if this number is strictly negative.
Checks if this number is negative or zero.
Checks if this number is strictly positive.
Checks if this number is positive or zero.
Returns the number of significant digits in the number.
Returns the integral part of this decimal number.
object
Returns the number of bits in the minimal two’s-complement representation of this BigInteger, excluding a sign bit.
Returns the index of the rightmost (lowest-order) one bit in this BigInteger.
Returns whether this number is even.
Returns whether this number is odd.
Checks if this number equals zero.
Checks if this number is strictly negative.
Checks if this number is negative or zero.
Checks if this number is strictly positive.
Checks if this number is positive or zero.
Returns the fractional part of this decimal number.
object
The scale (number of digits after the decimal point) of this decimal number.
Returns the unscaled value of this decimal number.
object
Returns the number of bits in the minimal two’s-complement representation of this BigInteger, excluding a sign bit.
Returns the index of the rightmost (lowest-order) one bit in this BigInteger.
Returns whether this number is even.
Returns whether this number is odd.
Checks if this number equals zero.
Checks if this number is strictly negative.
Checks if this number is negative or zero.
Checks if this number is strictly positive.
Checks if this number is positive or zero.
Returns the number of significant digits in the number.
Returns the integral part of this decimal number.
object
Returns the number of bits in the minimal two’s-complement representation of this BigInteger, excluding a sign bit.
Returns the index of the rightmost (lowest-order) one bit in this BigInteger.
Returns whether this number is even.
Returns whether this number is odd.
Checks if this number equals zero.
Checks if this number is strictly negative.
Checks if this number is negative or zero.
Checks if this number is strictly positive.
Checks if this number is positive or zero.
Checks if this number equals zero.
Checks if this number is strictly negative.
Checks if this number is negative or zero.
Checks if this number is strictly positive.
Checks if this number is positive or zero.
Checks if this number equals zero.
Checks if this number is strictly negative.
Checks if this number is negative or zero.
Checks if this number is strictly positive.
Checks if this number is positive or zero.
This method satisfies the Monetary interface.
Returns the sign of this money.
Returns whether this money has zero value.
Returns whether this money has a negative value.
Returns whether this money has a negative or zero value.
Returns whether this money has a positive value.
Returns whether this money has a positive or zero value.
The total to pay, in minor units with 2 decimals, so 100000 is 1000.00.
object
The amount.
object
The scale (number of digits after the decimal point) of this decimal number.
Returns the unscaled value of this decimal number.
object
Returns the number of bits in the minimal two’s-complement representation of this BigInteger, excluding a sign bit.
Returns the index of the rightmost (lowest-order) one bit in this BigInteger.
Returns whether this number is even.
Returns whether this number is odd.
Checks if this number equals zero.
Checks if this number is strictly negative.
Checks if this number is negative or zero.
Checks if this number is strictly positive.
Checks if this number is positive or zero.
Returns the number of significant digits in the number.
Returns the integral part of this decimal number.
object
Returns the number of bits in the minimal two’s-complement representation of this BigInteger, excluding a sign bit.
Returns the index of the rightmost (lowest-order) one bit in this BigInteger.
Returns whether this number is even.
Returns whether this number is odd.
Checks if this number equals zero.
Checks if this number is strictly negative.
Checks if this number is negative or zero.
Checks if this number is strictly positive.
Checks if this number is positive or zero.
Returns the fractional part of this decimal number.
object
The scale (number of digits after the decimal point) of this decimal number.
Returns the unscaled value of this decimal number.
object
Returns the number of bits in the minimal two’s-complement representation of this BigInteger, excluding a sign bit.
Returns the index of the rightmost (lowest-order) one bit in this BigInteger.
Returns whether this number is even.
Returns whether this number is odd.
Checks if this number equals zero.
Checks if this number is strictly negative.
Checks if this number is negative or zero.
Checks if this number is strictly positive.
Checks if this number is positive or zero.
Returns the number of significant digits in the number.
Returns the integral part of this decimal number.
object
Returns the number of bits in the minimal two’s-complement representation of this BigInteger, excluding a sign bit.
Returns the index of the rightmost (lowest-order) one bit in this BigInteger.
Returns whether this number is even.
Returns whether this number is odd.
Checks if this number equals zero.
Checks if this number is strictly negative.
Checks if this number is negative or zero.
Checks if this number is strictly positive.
Checks if this number is positive or zero.
Checks if this number equals zero.
Checks if this number is strictly negative.
Checks if this number is negative or zero.
Checks if this number is strictly positive.
Checks if this number is positive or zero.
Checks if this number equals zero.
Checks if this number is strictly negative.
Checks if this number is negative or zero.
Checks if this number is strictly positive.
Checks if this number is positive or zero.
The currency.
object
The currency code. For ISO currencies this will be the 3-letter uppercase ISO 4217 currency code. For non-ISO currencies no constraints are defined, but the code must be unique across an application and must not conflict with ISO currency codes.
The numeric currency code. For ISO currencies this will be the ISO 4217 numeric currency code. For non-ISO currencies no constraints are defined, but the code must be unique across an application and must not conflict with ISO currency codes. Set to null if the currency does not have a numeric code.
The currency name. For ISO currencies this will be the official English name of the currency. For non-ISO currencies no constraints are defined.
The default number of fraction digits (typical scale) used with this currency. For example, the default number of fraction digits for the Euro is 2, while for the Japanese Yen it is 0. This cannot be a negative number.
The type of the currency. For ISO currencies, this indicates whether the currency is currently in use (IsoCurrent) or has been withdrawn (IsoHistorical). For non-ISO currencies defined by the application, the type is Custom.
object
The context that defines the capability of this Money.
object
Returns the step used by this context.
Returns whether this context produces a deterministic scale regardless of the input value.
Returns the amount of this Money in minor units (cents) for the currency.
object
The scale (number of digits after the decimal point) of this decimal number.
Returns the unscaled value of this decimal number.
object
Returns the number of bits in the minimal two’s-complement representation of this BigInteger, excluding a sign bit.
Returns the index of the rightmost (lowest-order) one bit in this BigInteger.
Returns whether this number is even.
Returns whether this number is odd.
Checks if this number equals zero.
Checks if this number is strictly negative.
Checks if this number is negative or zero.
Checks if this number is strictly positive.
Checks if this number is positive or zero.
Returns the number of significant digits in the number.
Returns the integral part of this decimal number.
object
Returns the number of bits in the minimal two’s-complement representation of this BigInteger, excluding a sign bit.
Returns the index of the rightmost (lowest-order) one bit in this BigInteger.
Returns whether this number is even.
Returns whether this number is odd.
Checks if this number equals zero.
Checks if this number is strictly negative.
Checks if this number is negative or zero.
Checks if this number is strictly positive.
Checks if this number is positive or zero.
Returns the fractional part of this decimal number.
object
The scale (number of digits after the decimal point) of this decimal number.
Returns the unscaled value of this decimal number.
object
Returns the number of bits in the minimal two’s-complement representation of this BigInteger, excluding a sign bit.
Returns the index of the rightmost (lowest-order) one bit in this BigInteger.
Returns whether this number is even.
Returns whether this number is odd.
Checks if this number equals zero.
Checks if this number is strictly negative.
Checks if this number is negative or zero.
Checks if this number is strictly positive.
Checks if this number is positive or zero.
Returns the number of significant digits in the number.
Returns the integral part of this decimal number.
object
Returns the number of bits in the minimal two’s-complement representation of this BigInteger, excluding a sign bit.
Returns the index of the rightmost (lowest-order) one bit in this BigInteger.
Returns whether this number is even.
Returns whether this number is odd.
Checks if this number equals zero.
Checks if this number is strictly negative.
Checks if this number is negative or zero.
Checks if this number is strictly positive.
Checks if this number is positive or zero.
Checks if this number equals zero.
Checks if this number is strictly negative.
Checks if this number is negative or zero.
Checks if this number is strictly positive.
Checks if this number is positive or zero.
Checks if this number equals zero.
Checks if this number is strictly negative.
Checks if this number is negative or zero.
Checks if this number is strictly positive.
Checks if this number is positive or zero.
This method satisfies the Monetary interface.
Returns the sign of this money.
Returns whether this money has zero value.
Returns whether this money has a negative value.
Returns whether this money has a negative or zero value.
Returns whether this money has a positive value.
Returns whether this money has a positive or zero value.
The standard VAT rate of the record in percent, 21 for 21%, and 0 for a record without VAT.
object
The scale (number of digits after the decimal point) of this decimal number.
Returns the unscaled value of this decimal number.
object
Returns the number of bits in the minimal two’s-complement representation of this BigInteger, excluding a sign bit.
Returns the index of the rightmost (lowest-order) one bit in this BigInteger.
Returns whether this number is even.
Returns whether this number is odd.
Checks if this number equals zero.
Checks if this number is strictly negative.
Checks if this number is negative or zero.
Checks if this number is strictly positive.
Checks if this number is positive or zero.
Returns the number of significant digits in the number.
Returns the integral part of this decimal number.
object
Returns the number of bits in the minimal two’s-complement representation of this BigInteger, excluding a sign bit.
Returns the index of the rightmost (lowest-order) one bit in this BigInteger.
Returns whether this number is even.
Returns whether this number is odd.
Checks if this number equals zero.
Checks if this number is strictly negative.
Checks if this number is negative or zero.
Checks if this number is strictly positive.
Checks if this number is positive or zero.
Returns the fractional part of this decimal number.
object
The scale (number of digits after the decimal point) of this decimal number.
Returns the unscaled value of this decimal number.
object
Returns the number of bits in the minimal two’s-complement representation of this BigInteger, excluding a sign bit.
Returns the index of the rightmost (lowest-order) one bit in this BigInteger.
Returns whether this number is even.
Returns whether this number is odd.
Checks if this number equals zero.
Checks if this number is strictly negative.
Checks if this number is negative or zero.
Checks if this number is strictly positive.
Checks if this number is positive or zero.
Returns the number of significant digits in the number.
Returns the integral part of this decimal number.
object
Returns the number of bits in the minimal two’s-complement representation of this BigInteger, excluding a sign bit.
Returns the index of the rightmost (lowest-order) one bit in this BigInteger.
Returns whether this number is even.
Returns whether this number is odd.
Checks if this number equals zero.
Checks if this number is strictly negative.
Checks if this number is negative or zero.
Checks if this number is strictly positive.
Checks if this number is positive or zero.
Checks if this number equals zero.
Checks if this number is strictly negative.
Checks if this number is negative or zero.
Checks if this number is strictly positive.
Checks if this number is positive or zero.
Checks if this number equals zero.
Checks if this number is strictly negative.
Checks if this number is negative or zero.
Checks if this number is strictly positive.
Checks if this number is positive or zero.
Why a sale has no VAT at all (reverse charge or export), for the note on the PDF. Null for a record with VAT, a purchase, and a workspace outside the EU.
The value of 1 of the document currency in the currency of the workspace, or null when no rate is known. A draft takes the ECB rate of getExchangeRateDate(), a finalized record keeps it. See docs/exchange-rates.md.
object
The scale (number of digits after the decimal point) of this decimal number.
Returns the unscaled value of this decimal number.
object
Returns the number of bits in the minimal two’s-complement representation of this BigInteger, excluding a sign bit.
Returns the index of the rightmost (lowest-order) one bit in this BigInteger.
Returns whether this number is even.
Returns whether this number is odd.
Checks if this number equals zero.
Checks if this number is strictly negative.
Checks if this number is negative or zero.
Checks if this number is strictly positive.
Checks if this number is positive or zero.
Returns the number of significant digits in the number.
Returns the integral part of this decimal number.
object
Returns the number of bits in the minimal two’s-complement representation of this BigInteger, excluding a sign bit.
Returns the index of the rightmost (lowest-order) one bit in this BigInteger.
Returns whether this number is even.
Returns whether this number is odd.
Checks if this number equals zero.
Checks if this number is strictly negative.
Checks if this number is negative or zero.
Checks if this number is strictly positive.
Checks if this number is positive or zero.
Returns the fractional part of this decimal number.
object
The scale (number of digits after the decimal point) of this decimal number.
Returns the unscaled value of this decimal number.
object
Returns the number of bits in the minimal two’s-complement representation of this BigInteger, excluding a sign bit.
Returns the index of the rightmost (lowest-order) one bit in this BigInteger.
Returns whether this number is even.
Returns whether this number is odd.
Checks if this number equals zero.
Checks if this number is strictly negative.
Checks if this number is negative or zero.
Checks if this number is strictly positive.
Checks if this number is positive or zero.
Returns the number of significant digits in the number.
Returns the integral part of this decimal number.
object
Returns the number of bits in the minimal two’s-complement representation of this BigInteger, excluding a sign bit.
Returns the index of the rightmost (lowest-order) one bit in this BigInteger.
Returns whether this number is even.
Returns whether this number is odd.
Checks if this number equals zero.
Checks if this number is strictly negative.
Checks if this number is negative or zero.
Checks if this number is strictly positive.
Checks if this number is positive or zero.
Checks if this number equals zero.
Checks if this number is strictly negative.
Checks if this number is negative or zero.
Checks if this number is strictly positive.
Checks if this number is positive or zero.
Checks if this number equals zero.
Checks if this number is strictly negative.
Checks if this number is negative or zero.
Checks if this number is strictly positive.
Checks if this number is positive or zero.
The document date that the ECB rate is for, or null for a rate that a user typed. On a weekend or a holiday the rate is the one of the last working day before it.
True when a user typed the rate. The ECB rate does not replace it then.
The number of the system that a data import took the record from comes first.
The totals came from the file of a data import, so BillingRecordCalculatorListener does not compute them again: the record keeps the totals of the system that it came from. A new revision computes them again.
object
The currency code. For ISO currencies this will be the 3-letter uppercase ISO 4217 currency code. For non-ISO currencies no constraints are defined, but the code must be unique across an application and must not conflict with ISO currency codes.
The numeric currency code. For ISO currencies this will be the ISO 4217 numeric currency code. For non-ISO currencies no constraints are defined, but the code must be unique across an application and must not conflict with ISO currency codes. Set to null if the currency does not have a numeric code.
The currency name. For ISO currencies this will be the official English name of the currency. For non-ISO currencies no constraints are defined.
The default number of fraction digits (typical scale) used with this currency. For example, the default number of fraction digits for the Euro is 2, while for the Japanese Yen it is 0. This cannot be a negative number.
The type of the currency. For ISO currencies, this indicates whether the currency is currently in use (IsoCurrent) or has been withdrawn (IsoHistorical). For non-ISO currencies defined by the application, the type is Custom.
object
The contact as it was on the day of the document.
object
The address as it was on the day of the document.
object
The lines of the address on a PDF: the street, the zip with the city and the state, the country.
object
The address of the company that the bill-to copy came from. The form selects it again. No foreign key: a removed address does not break the document, and the PDF and the VAT read the copy. See docs/rolodex.md.
The contact of the company that the contact copy came from, as $billToSourceId.
When a data import made the record. Null: a user made it. An import updates only a record that an import made.
Not confirmed: the PDF is a request for quotation without prices. A cancelled request stays one.
The price of each line as a cost price of its product, see PurchaseCost: the id of the line gives minor units with MoneyScale::PPU_DECIMALS decimals, in the default currency of the workspace. A line without a price is not in it, and the list is empty without an exchange rate.
object
object
The amount.
object
The scale (number of digits after the decimal point) of this decimal number.
Returns the unscaled value of this decimal number.
object
Returns the number of bits in the minimal two’s-complement representation of this BigInteger, excluding a sign bit.
Returns the index of the rightmost (lowest-order) one bit in this BigInteger.
Returns whether this number is even.
Returns whether this number is odd.
Checks if this number equals zero.
Checks if this number is strictly negative.
Checks if this number is negative or zero.
Checks if this number is strictly positive.
Checks if this number is positive or zero.
Returns the number of significant digits in the number.
Returns the integral part of this decimal number.
object
Returns the number of bits in the minimal two’s-complement representation of this BigInteger, excluding a sign bit.
Returns the index of the rightmost (lowest-order) one bit in this BigInteger.
Returns whether this number is even.
Returns whether this number is odd.
Checks if this number equals zero.
Checks if this number is strictly negative.
Checks if this number is negative or zero.
Checks if this number is strictly positive.
Checks if this number is positive or zero.
Returns the fractional part of this decimal number.
object
The scale (number of digits after the decimal point) of this decimal number.
Returns the unscaled value of this decimal number.
object
Returns the number of bits in the minimal two’s-complement representation of this BigInteger, excluding a sign bit.
Returns the index of the rightmost (lowest-order) one bit in this BigInteger.
Returns whether this number is even.
Returns whether this number is odd.
Checks if this number equals zero.
Checks if this number is strictly negative.
Checks if this number is negative or zero.
Checks if this number is strictly positive.
Checks if this number is positive or zero.
Returns the number of significant digits in the number.
Returns the integral part of this decimal number.
object
Returns the number of bits in the minimal two’s-complement representation of this BigInteger, excluding a sign bit.
Returns the index of the rightmost (lowest-order) one bit in this BigInteger.
Returns whether this number is even.
Returns whether this number is odd.
Checks if this number equals zero.
Checks if this number is strictly negative.
Checks if this number is negative or zero.
Checks if this number is strictly positive.
Checks if this number is positive or zero.
Checks if this number equals zero.
Checks if this number is strictly negative.
Checks if this number is negative or zero.
Checks if this number is strictly positive.
Checks if this number is positive or zero.
Checks if this number equals zero.
Checks if this number is strictly negative.
Checks if this number is negative or zero.
Checks if this number is strictly positive.
Checks if this number is positive or zero.
The currency.
object
The currency code. For ISO currencies this will be the 3-letter uppercase ISO 4217 currency code. For non-ISO currencies no constraints are defined, but the code must be unique across an application and must not conflict with ISO currency codes.
The numeric currency code. For ISO currencies this will be the ISO 4217 numeric currency code. For non-ISO currencies no constraints are defined, but the code must be unique across an application and must not conflict with ISO currency codes. Set to null if the currency does not have a numeric code.
The currency name. For ISO currencies this will be the official English name of the currency. For non-ISO currencies no constraints are defined.
The default number of fraction digits (typical scale) used with this currency. For example, the default number of fraction digits for the Euro is 2, while for the Japanese Yen it is 0. This cannot be a negative number.
The type of the currency. For ISO currencies, this indicates whether the currency is currently in use (IsoCurrent) or has been withdrawn (IsoHistorical). For non-ISO currencies defined by the application, the type is Custom.
object
The context that defines the capability of this Money.
object
Returns the step used by this context.
Returns whether this context produces a deterministic scale regardless of the input value.
Returns the amount of this Money in minor units (cents) for the currency.
object
The scale (number of digits after the decimal point) of this decimal number.
Returns the unscaled value of this decimal number.
object
Returns the number of bits in the minimal two’s-complement representation of this BigInteger, excluding a sign bit.
Returns the index of the rightmost (lowest-order) one bit in this BigInteger.
Returns whether this number is even.
Returns whether this number is odd.
Checks if this number equals zero.
Checks if this number is strictly negative.
Checks if this number is negative or zero.
Checks if this number is strictly positive.
Checks if this number is positive or zero.
Returns the number of significant digits in the number.
Returns the integral part of this decimal number.
object
Returns the number of bits in the minimal two’s-complement representation of this BigInteger, excluding a sign bit.
Returns the index of the rightmost (lowest-order) one bit in this BigInteger.
Returns whether this number is even.
Returns whether this number is odd.
Checks if this number equals zero.
Checks if this number is strictly negative.
Checks if this number is negative or zero.
Checks if this number is strictly positive.
Checks if this number is positive or zero.
Returns the fractional part of this decimal number.
object
The scale (number of digits after the decimal point) of this decimal number.
Returns the unscaled value of this decimal number.
object
Returns the number of bits in the minimal two’s-complement representation of this BigInteger, excluding a sign bit.
Returns the index of the rightmost (lowest-order) one bit in this BigInteger.
Returns whether this number is even.
Returns whether this number is odd.
Checks if this number equals zero.
Checks if this number is strictly negative.
Checks if this number is negative or zero.
Checks if this number is strictly positive.
Checks if this number is positive or zero.
Returns the number of significant digits in the number.
Returns the integral part of this decimal number.
object
Returns the number of bits in the minimal two’s-complement representation of this BigInteger, excluding a sign bit.
Returns the index of the rightmost (lowest-order) one bit in this BigInteger.
Returns whether this number is even.
Returns whether this number is odd.
Checks if this number equals zero.
Checks if this number is strictly negative.
Checks if this number is negative or zero.
Checks if this number is strictly positive.
Checks if this number is positive or zero.
Checks if this number equals zero.
Checks if this number is strictly negative.
Checks if this number is negative or zero.
Checks if this number is strictly positive.
Checks if this number is positive or zero.
Checks if this number equals zero.
Checks if this number is strictly negative.
Checks if this number is negative or zero.
Checks if this number is strictly positive.
Checks if this number is positive or zero.
This method satisfies the Monetary interface.
Returns the sign of this money.
Returns whether this money has zero value.
Returns whether this money has a negative value.
Returns whether this money has a negative or zero value.
Returns whether this money has a positive value.
Returns whether this money has a positive or zero value.
The grand total in the currency of the workspace, or null when no rate is known.
object
The amount.
object
The scale (number of digits after the decimal point) of this decimal number.
Returns the unscaled value of this decimal number.
object
Returns the number of bits in the minimal two’s-complement representation of this BigInteger, excluding a sign bit.
Returns the index of the rightmost (lowest-order) one bit in this BigInteger.
Returns whether this number is even.
Returns whether this number is odd.
Checks if this number equals zero.
Checks if this number is strictly negative.
Checks if this number is negative or zero.
Checks if this number is strictly positive.
Checks if this number is positive or zero.
Returns the number of significant digits in the number.
Returns the integral part of this decimal number.
object
Returns the number of bits in the minimal two’s-complement representation of this BigInteger, excluding a sign bit.
Returns the index of the rightmost (lowest-order) one bit in this BigInteger.
Returns whether this number is even.
Returns whether this number is odd.
Checks if this number equals zero.
Checks if this number is strictly negative.
Checks if this number is negative or zero.
Checks if this number is strictly positive.
Checks if this number is positive or zero.
Returns the fractional part of this decimal number.
object
The scale (number of digits after the decimal point) of this decimal number.
Returns the unscaled value of this decimal number.
object
Returns the number of bits in the minimal two’s-complement representation of this BigInteger, excluding a sign bit.
Returns the index of the rightmost (lowest-order) one bit in this BigInteger.
Returns whether this number is even.
Returns whether this number is odd.
Checks if this number equals zero.
Checks if this number is strictly negative.
Checks if this number is negative or zero.
Checks if this number is strictly positive.
Checks if this number is positive or zero.
Returns the number of significant digits in the number.
Returns the integral part of this decimal number.
object
Returns the number of bits in the minimal two’s-complement representation of this BigInteger, excluding a sign bit.
Returns the index of the rightmost (lowest-order) one bit in this BigInteger.
Returns whether this number is even.
Returns whether this number is odd.
Checks if this number equals zero.
Checks if this number is strictly negative.
Checks if this number is negative or zero.
Checks if this number is strictly positive.
Checks if this number is positive or zero.
Checks if this number equals zero.
Checks if this number is strictly negative.
Checks if this number is negative or zero.
Checks if this number is strictly positive.
Checks if this number is positive or zero.
Checks if this number equals zero.
Checks if this number is strictly negative.
Checks if this number is negative or zero.
Checks if this number is strictly positive.
Checks if this number is positive or zero.
The currency.
object
The currency code. For ISO currencies this will be the 3-letter uppercase ISO 4217 currency code. For non-ISO currencies no constraints are defined, but the code must be unique across an application and must not conflict with ISO currency codes.
The numeric currency code. For ISO currencies this will be the ISO 4217 numeric currency code. For non-ISO currencies no constraints are defined, but the code must be unique across an application and must not conflict with ISO currency codes. Set to null if the currency does not have a numeric code.
The currency name. For ISO currencies this will be the official English name of the currency. For non-ISO currencies no constraints are defined.
The default number of fraction digits (typical scale) used with this currency. For example, the default number of fraction digits for the Euro is 2, while for the Japanese Yen it is 0. This cannot be a negative number.
The type of the currency. For ISO currencies, this indicates whether the currency is currently in use (IsoCurrent) or has been withdrawn (IsoHistorical). For non-ISO currencies defined by the application, the type is Custom.
object
The context that defines the capability of this Money.
object
Returns the step used by this context.
Returns whether this context produces a deterministic scale regardless of the input value.
Returns the amount of this Money in minor units (cents) for the currency.
object
The scale (number of digits after the decimal point) of this decimal number.
Returns the unscaled value of this decimal number.
object
Returns the number of bits in the minimal two’s-complement representation of this BigInteger, excluding a sign bit.
Returns the index of the rightmost (lowest-order) one bit in this BigInteger.
Returns whether this number is even.
Returns whether this number is odd.
Checks if this number equals zero.
Checks if this number is strictly negative.
Checks if this number is negative or zero.
Checks if this number is strictly positive.
Checks if this number is positive or zero.
Returns the number of significant digits in the number.
Returns the integral part of this decimal number.
object
Returns the number of bits in the minimal two’s-complement representation of this BigInteger, excluding a sign bit.
Returns the index of the rightmost (lowest-order) one bit in this BigInteger.
Returns whether this number is even.
Returns whether this number is odd.
Checks if this number equals zero.
Checks if this number is strictly negative.
Checks if this number is negative or zero.
Checks if this number is strictly positive.
Checks if this number is positive or zero.
Returns the fractional part of this decimal number.
object
The scale (number of digits after the decimal point) of this decimal number.
Returns the unscaled value of this decimal number.
object
Returns the number of bits in the minimal two’s-complement representation of this BigInteger, excluding a sign bit.
Returns the index of the rightmost (lowest-order) one bit in this BigInteger.
Returns whether this number is even.
Returns whether this number is odd.
Checks if this number equals zero.
Checks if this number is strictly negative.
Checks if this number is negative or zero.
Checks if this number is strictly positive.
Checks if this number is positive or zero.
Returns the number of significant digits in the number.
Returns the integral part of this decimal number.
object
Returns the number of bits in the minimal two’s-complement representation of this BigInteger, excluding a sign bit.
Returns the index of the rightmost (lowest-order) one bit in this BigInteger.
Returns whether this number is even.
Returns whether this number is odd.
Checks if this number equals zero.
Checks if this number is strictly negative.
Checks if this number is negative or zero.
Checks if this number is strictly positive.
Checks if this number is positive or zero.
Checks if this number equals zero.
Checks if this number is strictly negative.
Checks if this number is negative or zero.
Checks if this number is strictly positive.
Checks if this number is positive or zero.
Checks if this number equals zero.
Checks if this number is strictly negative.
Checks if this number is negative or zero.
Checks if this number is strictly positive.
Checks if this number is positive or zero.
This method satisfies the Monetary interface.
Returns the sign of this money.
Returns whether this money has zero value.
Returns whether this money has a negative value.
Returns whether this money has a negative or zero value.
Returns whether this money has a positive value.
Returns whether this money has a positive or zero value.
object
The amount.
object
The scale (number of digits after the decimal point) of this decimal number.
Returns the unscaled value of this decimal number.
object
Returns the number of bits in the minimal two’s-complement representation of this BigInteger, excluding a sign bit.
Returns the index of the rightmost (lowest-order) one bit in this BigInteger.
Returns whether this number is even.
Returns whether this number is odd.
Checks if this number equals zero.
Checks if this number is strictly negative.
Checks if this number is negative or zero.
Checks if this number is strictly positive.
Checks if this number is positive or zero.
Returns the number of significant digits in the number.
Returns the integral part of this decimal number.
object
Returns the number of bits in the minimal two’s-complement representation of this BigInteger, excluding a sign bit.
Returns the index of the rightmost (lowest-order) one bit in this BigInteger.
Returns whether this number is even.
Returns whether this number is odd.
Checks if this number equals zero.
Checks if this number is strictly negative.
Checks if this number is negative or zero.
Checks if this number is strictly positive.
Checks if this number is positive or zero.
Returns the fractional part of this decimal number.
object
The scale (number of digits after the decimal point) of this decimal number.
Returns the unscaled value of this decimal number.
object
Returns the number of bits in the minimal two’s-complement representation of this BigInteger, excluding a sign bit.
Returns the index of the rightmost (lowest-order) one bit in this BigInteger.
Returns whether this number is even.
Returns whether this number is odd.
Checks if this number equals zero.
Checks if this number is strictly negative.
Checks if this number is negative or zero.
Checks if this number is strictly positive.
Checks if this number is positive or zero.
Returns the number of significant digits in the number.
Returns the integral part of this decimal number.
object
Returns the number of bits in the minimal two’s-complement representation of this BigInteger, excluding a sign bit.
Returns the index of the rightmost (lowest-order) one bit in this BigInteger.
Returns whether this number is even.
Returns whether this number is odd.
Checks if this number equals zero.
Checks if this number is strictly negative.
Checks if this number is negative or zero.
Checks if this number is strictly positive.
Checks if this number is positive or zero.
Checks if this number equals zero.
Checks if this number is strictly negative.
Checks if this number is negative or zero.
Checks if this number is strictly positive.
Checks if this number is positive or zero.
Checks if this number equals zero.
Checks if this number is strictly negative.
Checks if this number is negative or zero.
Checks if this number is strictly positive.
Checks if this number is positive or zero.
The currency.
object
The currency code. For ISO currencies this will be the 3-letter uppercase ISO 4217 currency code. For non-ISO currencies no constraints are defined, but the code must be unique across an application and must not conflict with ISO currency codes.
The numeric currency code. For ISO currencies this will be the ISO 4217 numeric currency code. For non-ISO currencies no constraints are defined, but the code must be unique across an application and must not conflict with ISO currency codes. Set to null if the currency does not have a numeric code.
The currency name. For ISO currencies this will be the official English name of the currency. For non-ISO currencies no constraints are defined.
The default number of fraction digits (typical scale) used with this currency. For example, the default number of fraction digits for the Euro is 2, while for the Japanese Yen it is 0. This cannot be a negative number.
The type of the currency. For ISO currencies, this indicates whether the currency is currently in use (IsoCurrent) or has been withdrawn (IsoHistorical). For non-ISO currencies defined by the application, the type is Custom.
object
The context that defines the capability of this Money.
object
Returns the step used by this context.
Returns whether this context produces a deterministic scale regardless of the input value.
Returns the amount of this Money in minor units (cents) for the currency.
object
The scale (number of digits after the decimal point) of this decimal number.
Returns the unscaled value of this decimal number.
object
Returns the number of bits in the minimal two’s-complement representation of this BigInteger, excluding a sign bit.
Returns the index of the rightmost (lowest-order) one bit in this BigInteger.
Returns whether this number is even.
Returns whether this number is odd.
Checks if this number equals zero.
Checks if this number is strictly negative.
Checks if this number is negative or zero.
Checks if this number is strictly positive.
Checks if this number is positive or zero.
Returns the number of significant digits in the number.
Returns the integral part of this decimal number.
object
Returns the number of bits in the minimal two’s-complement representation of this BigInteger, excluding a sign bit.
Returns the index of the rightmost (lowest-order) one bit in this BigInteger.
Returns whether this number is even.
Returns whether this number is odd.
Checks if this number equals zero.
Checks if this number is strictly negative.
Checks if this number is negative or zero.
Checks if this number is strictly positive.
Checks if this number is positive or zero.
Returns the fractional part of this decimal number.
object
The scale (number of digits after the decimal point) of this decimal number.
Returns the unscaled value of this decimal number.
object
Returns the number of bits in the minimal two’s-complement representation of this BigInteger, excluding a sign bit.
Returns the index of the rightmost (lowest-order) one bit in this BigInteger.
Returns whether this number is even.
Returns whether this number is odd.
Checks if this number equals zero.
Checks if this number is strictly negative.
Checks if this number is negative or zero.
Checks if this number is strictly positive.
Checks if this number is positive or zero.
Returns the number of significant digits in the number.
Returns the integral part of this decimal number.
object
Returns the number of bits in the minimal two’s-complement representation of this BigInteger, excluding a sign bit.
Returns the index of the rightmost (lowest-order) one bit in this BigInteger.
Returns whether this number is even.
Returns whether this number is odd.
Checks if this number equals zero.
Checks if this number is strictly negative.
Checks if this number is negative or zero.
Checks if this number is strictly positive.
Checks if this number is positive or zero.
Checks if this number equals zero.
Checks if this number is strictly negative.
Checks if this number is negative or zero.
Checks if this number is strictly positive.
Checks if this number is positive or zero.
Checks if this number equals zero.
Checks if this number is strictly negative.
Checks if this number is negative or zero.
Checks if this number is strictly positive.
Checks if this number is positive or zero.
This method satisfies the Monetary interface.
Returns the sign of this money.
Returns whether this money has zero value.
Returns whether this money has a negative value.
Returns whether this money has a negative or zero value.
Returns whether this money has a positive value.
Returns whether this money has a positive or zero value.
The VAT for each pair of category and rate, from the rates that the lines keep. TaxCalculator gives the lines their rates, and the tax total is the sum of these groups. See docs/vat.md.
object
The texts under the totals of the PDF: the reason of each exemption and the note of a record without VAT.
Example
{ "supplierType": "SUP", "status": "po.o", "receivedProducts": [ "https://example.com/" ], "complaints": [ "https://example.com/" ], "lots": [ "https://example.com/" ], "supplier": "https://example.com/", "attachments": [ "https://example.com/" ], "cancelledBy": "https://example.com/", "notes": [ "https://example.com/" ], "project": "https://example.com/", "vatNote": "reverse_charge", "isFinalized": false, "exchangeRateManual": false, "products": [ "https://example.com/" ], "totalsFrozen": false, "creator": "https://example.com/", "file": "https://example.com/", "version": 1}object
The last time the buyer sent the request for quotation to the supplier.
The sales order number of the supplier for this order, from its order confirmation.
The manufacturing lots opened by the receipts of this purchase order.
Example
https://example.com/The address as it was on the day of the document.
object
The lines of the address on a PDF: the street, the zip with the city and the state, the country.
object
Example
https://example.com/Example
https://example.com/The net total, in minor units with 2 decimals, so 100000 is 1000.00.
object
The amount.
object
The scale (number of digits after the decimal point) of this decimal number.
Returns the unscaled value of this decimal number.
object
Returns the number of bits in the minimal two’s-complement representation of this BigInteger, excluding a sign bit.
Returns the index of the rightmost (lowest-order) one bit in this BigInteger.
Returns whether this number is even.
Returns whether this number is odd.
Checks if this number equals zero.
Checks if this number is strictly negative.
Checks if this number is negative or zero.
Checks if this number is strictly positive.
Checks if this number is positive or zero.
Returns the number of significant digits in the number.
Returns the integral part of this decimal number.
object
Returns the number of bits in the minimal two’s-complement representation of this BigInteger, excluding a sign bit.
Returns the index of the rightmost (lowest-order) one bit in this BigInteger.
Returns whether this number is even.
Returns whether this number is odd.
Checks if this number equals zero.
Checks if this number is strictly negative.
Checks if this number is negative or zero.
Checks if this number is strictly positive.
Checks if this number is positive or zero.
Returns the fractional part of this decimal number.
object
The scale (number of digits after the decimal point) of this decimal number.
Returns the unscaled value of this decimal number.
object
Returns the number of bits in the minimal two’s-complement representation of this BigInteger, excluding a sign bit.
Returns the index of the rightmost (lowest-order) one bit in this BigInteger.
Returns whether this number is even.
Returns whether this number is odd.
Checks if this number equals zero.
Checks if this number is strictly negative.
Checks if this number is negative or zero.
Checks if this number is strictly positive.
Checks if this number is positive or zero.
Returns the number of significant digits in the number.
Returns the integral part of this decimal number.
object
Returns the number of bits in the minimal two’s-complement representation of this BigInteger, excluding a sign bit.
Returns the index of the rightmost (lowest-order) one bit in this BigInteger.
Returns whether this number is even.
Returns whether this number is odd.
Checks if this number equals zero.
Checks if this number is strictly negative.
Checks if this number is negative or zero.
Checks if this number is strictly positive.
Checks if this number is positive or zero.
Checks if this number equals zero.
Checks if this number is strictly negative.
Checks if this number is negative or zero.
Checks if this number is strictly positive.
Checks if this number is positive or zero.
Checks if this number equals zero.
Checks if this number is strictly negative.
Checks if this number is negative or zero.
Checks if this number is strictly positive.
Checks if this number is positive or zero.
The currency.
object
The currency code. For ISO currencies this will be the 3-letter uppercase ISO 4217 currency code. For non-ISO currencies no constraints are defined, but the code must be unique across an application and must not conflict with ISO currency codes.
The numeric currency code. For ISO currencies this will be the ISO 4217 numeric currency code. For non-ISO currencies no constraints are defined, but the code must be unique across an application and must not conflict with ISO currency codes. Set to null if the currency does not have a numeric code.
The currency name. For ISO currencies this will be the official English name of the currency. For non-ISO currencies no constraints are defined.
The default number of fraction digits (typical scale) used with this currency. For example, the default number of fraction digits for the Euro is 2, while for the Japanese Yen it is 0. This cannot be a negative number.
The type of the currency. For ISO currencies, this indicates whether the currency is currently in use (IsoCurrent) or has been withdrawn (IsoHistorical). For non-ISO currencies defined by the application, the type is Custom.
object
The context that defines the capability of this Money.
object
Returns the step used by this context.
Returns whether this context produces a deterministic scale regardless of the input value.
Returns the amount of this Money in minor units (cents) for the currency.
object
The scale (number of digits after the decimal point) of this decimal number.
Returns the unscaled value of this decimal number.
object
Returns the number of bits in the minimal two’s-complement representation of this BigInteger, excluding a sign bit.
Returns the index of the rightmost (lowest-order) one bit in this BigInteger.
Returns whether this number is even.
Returns whether this number is odd.
Checks if this number equals zero.
Checks if this number is strictly negative.
Checks if this number is negative or zero.
Checks if this number is strictly positive.
Checks if this number is positive or zero.
Returns the number of significant digits in the number.
Returns the integral part of this decimal number.
object
Returns the number of bits in the minimal two’s-complement representation of this BigInteger, excluding a sign bit.
Returns the index of the rightmost (lowest-order) one bit in this BigInteger.
Returns whether this number is even.
Returns whether this number is odd.
Checks if this number equals zero.
Checks if this number is strictly negative.
Checks if this number is negative or zero.
Checks if this number is strictly positive.
Checks if this number is positive or zero.
Returns the fractional part of this decimal number.
object
The scale (number of digits after the decimal point) of this decimal number.
Returns the unscaled value of this decimal number.
object
Returns the number of bits in the minimal two’s-complement representation of this BigInteger, excluding a sign bit.
Returns the index of the rightmost (lowest-order) one bit in this BigInteger.
Returns whether this number is even.
Returns whether this number is odd.
Checks if this number equals zero.
Checks if this number is strictly negative.
Checks if this number is negative or zero.
Checks if this number is strictly positive.
Checks if this number is positive or zero.
Returns the number of significant digits in the number.
Returns the integral part of this decimal number.
object
Returns the number of bits in the minimal two’s-complement representation of this BigInteger, excluding a sign bit.
Returns the index of the rightmost (lowest-order) one bit in this BigInteger.
Returns whether this number is even.
Returns whether this number is odd.
Checks if this number equals zero.
Checks if this number is strictly negative.
Checks if this number is negative or zero.
Checks if this number is strictly positive.
Checks if this number is positive or zero.
Checks if this number equals zero.
Checks if this number is strictly negative.
Checks if this number is negative or zero.
Checks if this number is strictly positive.
Checks if this number is positive or zero.
Checks if this number equals zero.
Checks if this number is strictly negative.
Checks if this number is negative or zero.
Checks if this number is strictly positive.
Checks if this number is positive or zero.
This method satisfies the Monetary interface.
Returns the sign of this money.
Returns whether this money has zero value.
Returns whether this money has a negative value.
Returns whether this money has a negative or zero value.
Returns whether this money has a positive value.
Returns whether this money has a positive or zero value.
The total to pay, in minor units with 2 decimals, so 100000 is 1000.00.
object
The amount.
object
The scale (number of digits after the decimal point) of this decimal number.
Returns the unscaled value of this decimal number.
object
Returns the number of bits in the minimal two’s-complement representation of this BigInteger, excluding a sign bit.
Returns the index of the rightmost (lowest-order) one bit in this BigInteger.
Returns whether this number is even.
Returns whether this number is odd.
Checks if this number equals zero.
Checks if this number is strictly negative.
Checks if this number is negative or zero.
Checks if this number is strictly positive.
Checks if this number is positive or zero.
Returns the number of significant digits in the number.
Returns the integral part of this decimal number.
object
Returns the number of bits in the minimal two’s-complement representation of this BigInteger, excluding a sign bit.
Returns the index of the rightmost (lowest-order) one bit in this BigInteger.
Returns whether this number is even.
Returns whether this number is odd.
Checks if this number equals zero.
Checks if this number is strictly negative.
Checks if this number is negative or zero.
Checks if this number is strictly positive.
Checks if this number is positive or zero.
Returns the fractional part of this decimal number.
object
The scale (number of digits after the decimal point) of this decimal number.
Returns the unscaled value of this decimal number.
object
Returns the number of bits in the minimal two’s-complement representation of this BigInteger, excluding a sign bit.
Returns the index of the rightmost (lowest-order) one bit in this BigInteger.
Returns whether this number is even.
Returns whether this number is odd.
Checks if this number equals zero.
Checks if this number is strictly negative.
Checks if this number is negative or zero.
Checks if this number is strictly positive.
Checks if this number is positive or zero.
Returns the number of significant digits in the number.
Returns the integral part of this decimal number.
object
Returns the number of bits in the minimal two’s-complement representation of this BigInteger, excluding a sign bit.
Returns the index of the rightmost (lowest-order) one bit in this BigInteger.
Returns whether this number is even.
Returns whether this number is odd.
Checks if this number equals zero.
Checks if this number is strictly negative.
Checks if this number is negative or zero.
Checks if this number is strictly positive.
Checks if this number is positive or zero.
Checks if this number equals zero.
Checks if this number is strictly negative.
Checks if this number is negative or zero.
Checks if this number is strictly positive.
Checks if this number is positive or zero.
Checks if this number equals zero.
Checks if this number is strictly negative.
Checks if this number is negative or zero.
Checks if this number is strictly positive.
Checks if this number is positive or zero.
The currency.
object
The currency code. For ISO currencies this will be the 3-letter uppercase ISO 4217 currency code. For non-ISO currencies no constraints are defined, but the code must be unique across an application and must not conflict with ISO currency codes.
The numeric currency code. For ISO currencies this will be the ISO 4217 numeric currency code. For non-ISO currencies no constraints are defined, but the code must be unique across an application and must not conflict with ISO currency codes. Set to null if the currency does not have a numeric code.
The currency name. For ISO currencies this will be the official English name of the currency. For non-ISO currencies no constraints are defined.
The default number of fraction digits (typical scale) used with this currency. For example, the default number of fraction digits for the Euro is 2, while for the Japanese Yen it is 0. This cannot be a negative number.
The type of the currency. For ISO currencies, this indicates whether the currency is currently in use (IsoCurrent) or has been withdrawn (IsoHistorical). For non-ISO currencies defined by the application, the type is Custom.
object
The context that defines the capability of this Money.
object
Returns the step used by this context.
Returns whether this context produces a deterministic scale regardless of the input value.
Returns the amount of this Money in minor units (cents) for the currency.
object
The scale (number of digits after the decimal point) of this decimal number.
Returns the unscaled value of this decimal number.
object
Returns the number of bits in the minimal two’s-complement representation of this BigInteger, excluding a sign bit.
Returns the index of the rightmost (lowest-order) one bit in this BigInteger.
Returns whether this number is even.
Returns whether this number is odd.
Checks if this number equals zero.
Checks if this number is strictly negative.
Checks if this number is negative or zero.
Checks if this number is strictly positive.
Checks if this number is positive or zero.
Returns the number of significant digits in the number.
Returns the integral part of this decimal number.
object
Returns the number of bits in the minimal two’s-complement representation of this BigInteger, excluding a sign bit.
Returns the index of the rightmost (lowest-order) one bit in this BigInteger.
Returns whether this number is even.
Returns whether this number is odd.
Checks if this number equals zero.
Checks if this number is strictly negative.
Checks if this number is negative or zero.
Checks if this number is strictly positive.
Checks if this number is positive or zero.
Returns the fractional part of this decimal number.
object
The scale (number of digits after the decimal point) of this decimal number.
Returns the unscaled value of this decimal number.
object
Returns the number of bits in the minimal two’s-complement representation of this BigInteger, excluding a sign bit.
Returns the index of the rightmost (lowest-order) one bit in this BigInteger.
Returns whether this number is even.
Returns whether this number is odd.
Checks if this number equals zero.
Checks if this number is strictly negative.
Checks if this number is negative or zero.
Checks if this number is strictly positive.
Checks if this number is positive or zero.
Returns the number of significant digits in the number.
Returns the integral part of this decimal number.
object
Returns the number of bits in the minimal two’s-complement representation of this BigInteger, excluding a sign bit.
Returns the index of the rightmost (lowest-order) one bit in this BigInteger.
Returns whether this number is even.
Returns whether this number is odd.
Checks if this number equals zero.
Checks if this number is strictly negative.
Checks if this number is negative or zero.
Checks if this number is strictly positive.
Checks if this number is positive or zero.
Checks if this number equals zero.
Checks if this number is strictly negative.
Checks if this number is negative or zero.
Checks if this number is strictly positive.
Checks if this number is positive or zero.
Checks if this number equals zero.
Checks if this number is strictly negative.
Checks if this number is negative or zero.
Checks if this number is strictly positive.
Checks if this number is positive or zero.
This method satisfies the Monetary interface.
Returns the sign of this money.
Returns whether this money has zero value.
Returns whether this money has a negative value.
Returns whether this money has a negative or zero value.
Returns whether this money has a positive value.
Returns whether this money has a positive or zero value.
The standard VAT rate of the record in percent, 21 for 21%, and 0 for a record without VAT.
object
The scale (number of digits after the decimal point) of this decimal number.
Returns the unscaled value of this decimal number.
object
Returns the number of bits in the minimal two’s-complement representation of this BigInteger, excluding a sign bit.
Returns the index of the rightmost (lowest-order) one bit in this BigInteger.
Returns whether this number is even.
Returns whether this number is odd.
Checks if this number equals zero.
Checks if this number is strictly negative.
Checks if this number is negative or zero.
Checks if this number is strictly positive.
Checks if this number is positive or zero.
Returns the number of significant digits in the number.
Returns the integral part of this decimal number.
object
Returns the number of bits in the minimal two’s-complement representation of this BigInteger, excluding a sign bit.
Returns the index of the rightmost (lowest-order) one bit in this BigInteger.
Returns whether this number is even.
Returns whether this number is odd.
Checks if this number equals zero.
Checks if this number is strictly negative.
Checks if this number is negative or zero.
Checks if this number is strictly positive.
Checks if this number is positive or zero.
Returns the fractional part of this decimal number.
object
The scale (number of digits after the decimal point) of this decimal number.
Returns the unscaled value of this decimal number.
object
Returns the number of bits in the minimal two’s-complement representation of this BigInteger, excluding a sign bit.
Returns the index of the rightmost (lowest-order) one bit in this BigInteger.
Returns whether this number is even.
Returns whether this number is odd.
Checks if this number equals zero.
Checks if this number is strictly negative.
Checks if this number is negative or zero.
Checks if this number is strictly positive.
Checks if this number is positive or zero.
Returns the number of significant digits in the number.
Returns the integral part of this decimal number.
object
Returns the number of bits in the minimal two’s-complement representation of this BigInteger, excluding a sign bit.
Returns the index of the rightmost (lowest-order) one bit in this BigInteger.
Returns whether this number is even.
Returns whether this number is odd.
Checks if this number equals zero.
Checks if this number is strictly negative.
Checks if this number is negative or zero.
Checks if this number is strictly positive.
Checks if this number is positive or zero.
Checks if this number equals zero.
Checks if this number is strictly negative.
Checks if this number is negative or zero.
Checks if this number is strictly positive.
Checks if this number is positive or zero.
Checks if this number equals zero.
Checks if this number is strictly negative.
Checks if this number is negative or zero.
Checks if this number is strictly positive.
Checks if this number is positive or zero.
Why a sale has no VAT at all (reverse charge or export), for the note on the PDF. Null for a record with VAT, a purchase, and a workspace outside the EU.
The value of 1 of the document currency in the currency of the workspace, or null when no rate is known. A draft takes the ECB rate of getExchangeRateDate(), a finalized record keeps it. See docs/exchange-rates.md.
object
The scale (number of digits after the decimal point) of this decimal number.
Returns the unscaled value of this decimal number.
object
Returns the number of bits in the minimal two’s-complement representation of this BigInteger, excluding a sign bit.
Returns the index of the rightmost (lowest-order) one bit in this BigInteger.
Returns whether this number is even.
Returns whether this number is odd.
Checks if this number equals zero.
Checks if this number is strictly negative.
Checks if this number is negative or zero.
Checks if this number is strictly positive.
Checks if this number is positive or zero.
Returns the number of significant digits in the number.
Returns the integral part of this decimal number.
object
Returns the number of bits in the minimal two’s-complement representation of this BigInteger, excluding a sign bit.
Returns the index of the rightmost (lowest-order) one bit in this BigInteger.
Returns whether this number is even.
Returns whether this number is odd.
Checks if this number equals zero.
Checks if this number is strictly negative.
Checks if this number is negative or zero.
Checks if this number is strictly positive.
Checks if this number is positive or zero.
Returns the fractional part of this decimal number.
object
The scale (number of digits after the decimal point) of this decimal number.
Returns the unscaled value of this decimal number.
object
Returns the number of bits in the minimal two’s-complement representation of this BigInteger, excluding a sign bit.
Returns the index of the rightmost (lowest-order) one bit in this BigInteger.
Returns whether this number is even.
Returns whether this number is odd.
Checks if this number equals zero.
Checks if this number is strictly negative.
Checks if this number is negative or zero.
Checks if this number is strictly positive.
Checks if this number is positive or zero.
Returns the number of significant digits in the number.
Returns the integral part of this decimal number.
object
Returns the number of bits in the minimal two’s-complement representation of this BigInteger, excluding a sign bit.
Returns the index of the rightmost (lowest-order) one bit in this BigInteger.
Returns whether this number is even.
Returns whether this number is odd.
Checks if this number equals zero.
Checks if this number is strictly negative.
Checks if this number is negative or zero.
Checks if this number is strictly positive.
Checks if this number is positive or zero.
Checks if this number equals zero.
Checks if this number is strictly negative.
Checks if this number is negative or zero.
Checks if this number is strictly positive.
Checks if this number is positive or zero.
Checks if this number equals zero.
Checks if this number is strictly negative.
Checks if this number is negative or zero.
Checks if this number is strictly positive.
Checks if this number is positive or zero.
The document date that the ECB rate is for, or null for a rate that a user typed. On a weekend or a holiday the rate is the one of the last working day before it.
True when a user typed the rate. The ECB rate does not replace it then.
The number of the system that a data import took the record from comes first.
The totals came from the file of a data import, so BillingRecordCalculatorListener does not compute them again: the record keeps the totals of the system that it came from. A new revision computes them again.
object
The currency code. For ISO currencies this will be the 3-letter uppercase ISO 4217 currency code. For non-ISO currencies no constraints are defined, but the code must be unique across an application and must not conflict with ISO currency codes.
The numeric currency code. For ISO currencies this will be the ISO 4217 numeric currency code. For non-ISO currencies no constraints are defined, but the code must be unique across an application and must not conflict with ISO currency codes. Set to null if the currency does not have a numeric code.
The currency name. For ISO currencies this will be the official English name of the currency. For non-ISO currencies no constraints are defined.
The default number of fraction digits (typical scale) used with this currency. For example, the default number of fraction digits for the Euro is 2, while for the Japanese Yen it is 0. This cannot be a negative number.
The type of the currency. For ISO currencies, this indicates whether the currency is currently in use (IsoCurrent) or has been withdrawn (IsoHistorical). For non-ISO currencies defined by the application, the type is Custom.
object
The contact as it was on the day of the document.
object
The address as it was on the day of the document.
object
The lines of the address on a PDF: the street, the zip with the city and the state, the country.
object
The address of the company that the bill-to copy came from. The form selects it again. No foreign key: a removed address does not break the document, and the PDF and the VAT read the copy. See docs/rolodex.md.
The contact of the company that the contact copy came from, as $billToSourceId.
Example
https://example.com/Example
https://example.com/When a data import made the record. Null: a user made it. An import updates only a record that an import made.
Not confirmed: the PDF is a request for quotation without prices. A cancelled request stays one.
The price of each line as a cost price of its product, see PurchaseCost: the id of the line gives minor units with MoneyScale::PPU_DECIMALS decimals, in the default currency of the workspace. A line without a price is not in it, and the list is empty without an exchange rate.
object
object
The amount.
object
The scale (number of digits after the decimal point) of this decimal number.
Returns the unscaled value of this decimal number.
object
Returns the number of bits in the minimal two’s-complement representation of this BigInteger, excluding a sign bit.
Returns the index of the rightmost (lowest-order) one bit in this BigInteger.
Returns whether this number is even.
Returns whether this number is odd.
Checks if this number equals zero.
Checks if this number is strictly negative.
Checks if this number is negative or zero.
Checks if this number is strictly positive.
Checks if this number is positive or zero.
Returns the number of significant digits in the number.
Returns the integral part of this decimal number.
object
Returns the number of bits in the minimal two’s-complement representation of this BigInteger, excluding a sign bit.
Returns the index of the rightmost (lowest-order) one bit in this BigInteger.
Returns whether this number is even.
Returns whether this number is odd.
Checks if this number equals zero.
Checks if this number is strictly negative.
Checks if this number is negative or zero.
Checks if this number is strictly positive.
Checks if this number is positive or zero.
Returns the fractional part of this decimal number.
object
The scale (number of digits after the decimal point) of this decimal number.
Returns the unscaled value of this decimal number.
object
Returns the number of bits in the minimal two’s-complement representation of this BigInteger, excluding a sign bit.
Returns the index of the rightmost (lowest-order) one bit in this BigInteger.
Returns whether this number is even.
Returns whether this number is odd.
Checks if this number equals zero.
Checks if this number is strictly negative.
Checks if this number is negative or zero.
Checks if this number is strictly positive.
Checks if this number is positive or zero.
Returns the number of significant digits in the number.
Returns the integral part of this decimal number.
object
Returns the number of bits in the minimal two’s-complement representation of this BigInteger, excluding a sign bit.
Returns the index of the rightmost (lowest-order) one bit in this BigInteger.
Returns whether this number is even.
Returns whether this number is odd.
Checks if this number equals zero.
Checks if this number is strictly negative.
Checks if this number is negative or zero.
Checks if this number is strictly positive.
Checks if this number is positive or zero.
Checks if this number equals zero.
Checks if this number is strictly negative.
Checks if this number is negative or zero.
Checks if this number is strictly positive.
Checks if this number is positive or zero.
Checks if this number equals zero.
Checks if this number is strictly negative.
Checks if this number is negative or zero.
Checks if this number is strictly positive.
Checks if this number is positive or zero.
The currency.
object
The currency code. For ISO currencies this will be the 3-letter uppercase ISO 4217 currency code. For non-ISO currencies no constraints are defined, but the code must be unique across an application and must not conflict with ISO currency codes.
The numeric currency code. For ISO currencies this will be the ISO 4217 numeric currency code. For non-ISO currencies no constraints are defined, but the code must be unique across an application and must not conflict with ISO currency codes. Set to null if the currency does not have a numeric code.
The currency name. For ISO currencies this will be the official English name of the currency. For non-ISO currencies no constraints are defined.
The default number of fraction digits (typical scale) used with this currency. For example, the default number of fraction digits for the Euro is 2, while for the Japanese Yen it is 0. This cannot be a negative number.
The type of the currency. For ISO currencies, this indicates whether the currency is currently in use (IsoCurrent) or has been withdrawn (IsoHistorical). For non-ISO currencies defined by the application, the type is Custom.
object
The context that defines the capability of this Money.
object
Returns the step used by this context.
Returns whether this context produces a deterministic scale regardless of the input value.
Returns the amount of this Money in minor units (cents) for the currency.
object
The scale (number of digits after the decimal point) of this decimal number.
Returns the unscaled value of this decimal number.
object
Returns the number of bits in the minimal two’s-complement representation of this BigInteger, excluding a sign bit.
Returns the index of the rightmost (lowest-order) one bit in this BigInteger.
Returns whether this number is even.
Returns whether this number is odd.
Checks if this number equals zero.
Checks if this number is strictly negative.
Checks if this number is negative or zero.
Checks if this number is strictly positive.
Checks if this number is positive or zero.
Returns the number of significant digits in the number.
Returns the integral part of this decimal number.
object
Returns the number of bits in the minimal two’s-complement representation of this BigInteger, excluding a sign bit.
Returns the index of the rightmost (lowest-order) one bit in this BigInteger.
Returns whether this number is even.
Returns whether this number is odd.
Checks if this number equals zero.
Checks if this number is strictly negative.
Checks if this number is negative or zero.
Checks if this number is strictly positive.
Checks if this number is positive or zero.
Returns the fractional part of this decimal number.
object
The scale (number of digits after the decimal point) of this decimal number.
Returns the unscaled value of this decimal number.
object
Returns the number of bits in the minimal two’s-complement representation of this BigInteger, excluding a sign bit.
Returns the index of the rightmost (lowest-order) one bit in this BigInteger.
Returns whether this number is even.
Returns whether this number is odd.
Checks if this number equals zero.
Checks if this number is strictly negative.
Checks if this number is negative or zero.
Checks if this number is strictly positive.
Checks if this number is positive or zero.
Returns the number of significant digits in the number.
Returns the integral part of this decimal number.
object
Returns the number of bits in the minimal two’s-complement representation of this BigInteger, excluding a sign bit.
Returns the index of the rightmost (lowest-order) one bit in this BigInteger.
Returns whether this number is even.
Returns whether this number is odd.
Checks if this number equals zero.
Checks if this number is strictly negative.
Checks if this number is negative or zero.
Checks if this number is strictly positive.
Checks if this number is positive or zero.
Checks if this number equals zero.
Checks if this number is strictly negative.
Checks if this number is negative or zero.
Checks if this number is strictly positive.
Checks if this number is positive or zero.
Checks if this number equals zero.
Checks if this number is strictly negative.
Checks if this number is negative or zero.
Checks if this number is strictly positive.
Checks if this number is positive or zero.
This method satisfies the Monetary interface.
Returns the sign of this money.
Returns whether this money has zero value.
Returns whether this money has a negative value.
Returns whether this money has a negative or zero value.
Returns whether this money has a positive value.
Returns whether this money has a positive or zero value.
The grand total in the currency of the workspace, or null when no rate is known.
object
The amount.
object
The scale (number of digits after the decimal point) of this decimal number.
Returns the unscaled value of this decimal number.
object
Returns the number of bits in the minimal two’s-complement representation of this BigInteger, excluding a sign bit.
Returns the index of the rightmost (lowest-order) one bit in this BigInteger.
Returns whether this number is even.
Returns whether this number is odd.
Checks if this number equals zero.
Checks if this number is strictly negative.
Checks if this number is negative or zero.
Checks if this number is strictly positive.
Checks if this number is positive or zero.
Returns the number of significant digits in the number.
Returns the integral part of this decimal number.
object
Returns the number of bits in the minimal two’s-complement representation of this BigInteger, excluding a sign bit.
Returns the index of the rightmost (lowest-order) one bit in this BigInteger.
Returns whether this number is even.
Returns whether this number is odd.
Checks if this number equals zero.
Checks if this number is strictly negative.
Checks if this number is negative or zero.
Checks if this number is strictly positive.
Checks if this number is positive or zero.
Returns the fractional part of this decimal number.
object
The scale (number of digits after the decimal point) of this decimal number.
Returns the unscaled value of this decimal number.
object
Returns the number of bits in the minimal two’s-complement representation of this BigInteger, excluding a sign bit.
Returns the index of the rightmost (lowest-order) one bit in this BigInteger.
Returns whether this number is even.
Returns whether this number is odd.
Checks if this number equals zero.
Checks if this number is strictly negative.
Checks if this number is negative or zero.
Checks if this number is strictly positive.
Checks if this number is positive or zero.
Returns the number of significant digits in the number.
Returns the integral part of this decimal number.
object
Returns the number of bits in the minimal two’s-complement representation of this BigInteger, excluding a sign bit.
Returns the index of the rightmost (lowest-order) one bit in this BigInteger.
Returns whether this number is even.
Returns whether this number is odd.
Checks if this number equals zero.
Checks if this number is strictly negative.
Checks if this number is negative or zero.
Checks if this number is strictly positive.
Checks if this number is positive or zero.
Checks if this number equals zero.
Checks if this number is strictly negative.
Checks if this number is negative or zero.
Checks if this number is strictly positive.
Checks if this number is positive or zero.
Checks if this number equals zero.
Checks if this number is strictly negative.
Checks if this number is negative or zero.
Checks if this number is strictly positive.
Checks if this number is positive or zero.
The currency.
object
The currency code. For ISO currencies this will be the 3-letter uppercase ISO 4217 currency code. For non-ISO currencies no constraints are defined, but the code must be unique across an application and must not conflict with ISO currency codes.
The numeric currency code. For ISO currencies this will be the ISO 4217 numeric currency code. For non-ISO currencies no constraints are defined, but the code must be unique across an application and must not conflict with ISO currency codes. Set to null if the currency does not have a numeric code.
The currency name. For ISO currencies this will be the official English name of the currency. For non-ISO currencies no constraints are defined.
The default number of fraction digits (typical scale) used with this currency. For example, the default number of fraction digits for the Euro is 2, while for the Japanese Yen it is 0. This cannot be a negative number.
The type of the currency. For ISO currencies, this indicates whether the currency is currently in use (IsoCurrent) or has been withdrawn (IsoHistorical). For non-ISO currencies defined by the application, the type is Custom.
object
The context that defines the capability of this Money.
object
Returns the step used by this context.
Returns whether this context produces a deterministic scale regardless of the input value.
Returns the amount of this Money in minor units (cents) for the currency.
object
The scale (number of digits after the decimal point) of this decimal number.
Returns the unscaled value of this decimal number.
object
Returns the number of bits in the minimal two’s-complement representation of this BigInteger, excluding a sign bit.
Returns the index of the rightmost (lowest-order) one bit in this BigInteger.
Returns whether this number is even.
Returns whether this number is odd.
Checks if this number equals zero.
Checks if this number is strictly negative.
Checks if this number is negative or zero.
Checks if this number is strictly positive.
Checks if this number is positive or zero.
Returns the number of significant digits in the number.
Returns the integral part of this decimal number.
object
Returns the number of bits in the minimal two’s-complement representation of this BigInteger, excluding a sign bit.
Returns the index of the rightmost (lowest-order) one bit in this BigInteger.
Returns whether this number is even.
Returns whether this number is odd.
Checks if this number equals zero.
Checks if this number is strictly negative.
Checks if this number is negative or zero.
Checks if this number is strictly positive.
Checks if this number is positive or zero.
Returns the fractional part of this decimal number.
object
The scale (number of digits after the decimal point) of this decimal number.
Returns the unscaled value of this decimal number.
object
Returns the number of bits in the minimal two’s-complement representation of this BigInteger, excluding a sign bit.
Returns the index of the rightmost (lowest-order) one bit in this BigInteger.
Returns whether this number is even.
Returns whether this number is odd.
Checks if this number equals zero.
Checks if this number is strictly negative.
Checks if this number is negative or zero.
Checks if this number is strictly positive.
Checks if this number is positive or zero.
Returns the number of significant digits in the number.
Returns the integral part of this decimal number.
object
Returns the number of bits in the minimal two’s-complement representation of this BigInteger, excluding a sign bit.
Returns the index of the rightmost (lowest-order) one bit in this BigInteger.
Returns whether this number is even.
Returns whether this number is odd.
Checks if this number equals zero.
Checks if this number is strictly negative.
Checks if this number is negative or zero.
Checks if this number is strictly positive.
Checks if this number is positive or zero.
Checks if this number equals zero.
Checks if this number is strictly negative.
Checks if this number is negative or zero.
Checks if this number is strictly positive.
Checks if this number is positive or zero.
Checks if this number equals zero.
Checks if this number is strictly negative.
Checks if this number is negative or zero.
Checks if this number is strictly positive.
Checks if this number is positive or zero.
This method satisfies the Monetary interface.
Returns the sign of this money.
Returns whether this money has zero value.
Returns whether this money has a negative value.
Returns whether this money has a negative or zero value.
Returns whether this money has a positive value.
Returns whether this money has a positive or zero value.
object
The amount.
object
The scale (number of digits after the decimal point) of this decimal number.
Returns the unscaled value of this decimal number.
object
Returns the number of bits in the minimal two’s-complement representation of this BigInteger, excluding a sign bit.
Returns the index of the rightmost (lowest-order) one bit in this BigInteger.
Returns whether this number is even.
Returns whether this number is odd.
Checks if this number equals zero.
Checks if this number is strictly negative.
Checks if this number is negative or zero.
Checks if this number is strictly positive.
Checks if this number is positive or zero.
Returns the number of significant digits in the number.
Returns the integral part of this decimal number.
object
Returns the number of bits in the minimal two’s-complement representation of this BigInteger, excluding a sign bit.
Returns the index of the rightmost (lowest-order) one bit in this BigInteger.
Returns whether this number is even.
Returns whether this number is odd.
Checks if this number equals zero.
Checks if this number is strictly negative.
Checks if this number is negative or zero.
Checks if this number is strictly positive.
Checks if this number is positive or zero.
Returns the fractional part of this decimal number.
object
The scale (number of digits after the decimal point) of this decimal number.
Returns the unscaled value of this decimal number.
object
Returns the number of bits in the minimal two’s-complement representation of this BigInteger, excluding a sign bit.
Returns the index of the rightmost (lowest-order) one bit in this BigInteger.
Returns whether this number is even.
Returns whether this number is odd.
Checks if this number equals zero.
Checks if this number is strictly negative.
Checks if this number is negative or zero.
Checks if this number is strictly positive.
Checks if this number is positive or zero.
Returns the number of significant digits in the number.
Returns the integral part of this decimal number.
object
Returns the number of bits in the minimal two’s-complement representation of this BigInteger, excluding a sign bit.
Returns the index of the rightmost (lowest-order) one bit in this BigInteger.
Returns whether this number is even.
Returns whether this number is odd.
Checks if this number equals zero.
Checks if this number is strictly negative.
Checks if this number is negative or zero.
Checks if this number is strictly positive.
Checks if this number is positive or zero.
Checks if this number equals zero.
Checks if this number is strictly negative.
Checks if this number is negative or zero.
Checks if this number is strictly positive.
Checks if this number is positive or zero.
Checks if this number equals zero.
Checks if this number is strictly negative.
Checks if this number is negative or zero.
Checks if this number is strictly positive.
Checks if this number is positive or zero.
The currency.
object
The currency code. For ISO currencies this will be the 3-letter uppercase ISO 4217 currency code. For non-ISO currencies no constraints are defined, but the code must be unique across an application and must not conflict with ISO currency codes.
The numeric currency code. For ISO currencies this will be the ISO 4217 numeric currency code. For non-ISO currencies no constraints are defined, but the code must be unique across an application and must not conflict with ISO currency codes. Set to null if the currency does not have a numeric code.
The currency name. For ISO currencies this will be the official English name of the currency. For non-ISO currencies no constraints are defined.
The default number of fraction digits (typical scale) used with this currency. For example, the default number of fraction digits for the Euro is 2, while for the Japanese Yen it is 0. This cannot be a negative number.
The type of the currency. For ISO currencies, this indicates whether the currency is currently in use (IsoCurrent) or has been withdrawn (IsoHistorical). For non-ISO currencies defined by the application, the type is Custom.
object
The context that defines the capability of this Money.
object
Returns the step used by this context.
Returns whether this context produces a deterministic scale regardless of the input value.
Returns the amount of this Money in minor units (cents) for the currency.
object
The scale (number of digits after the decimal point) of this decimal number.
Returns the unscaled value of this decimal number.
object
Returns the number of bits in the minimal two’s-complement representation of this BigInteger, excluding a sign bit.
Returns the index of the rightmost (lowest-order) one bit in this BigInteger.
Returns whether this number is even.
Returns whether this number is odd.
Checks if this number equals zero.
Checks if this number is strictly negative.
Checks if this number is negative or zero.
Checks if this number is strictly positive.
Checks if this number is positive or zero.
Returns the number of significant digits in the number.
Returns the integral part of this decimal number.
object
Returns the number of bits in the minimal two’s-complement representation of this BigInteger, excluding a sign bit.
Returns the index of the rightmost (lowest-order) one bit in this BigInteger.
Returns whether this number is even.
Returns whether this number is odd.
Checks if this number equals zero.
Checks if this number is strictly negative.
Checks if this number is negative or zero.
Checks if this number is strictly positive.
Checks if this number is positive or zero.
Returns the fractional part of this decimal number.
object
The scale (number of digits after the decimal point) of this decimal number.
Returns the unscaled value of this decimal number.
object
Returns the number of bits in the minimal two’s-complement representation of this BigInteger, excluding a sign bit.
Returns the index of the rightmost (lowest-order) one bit in this BigInteger.
Returns whether this number is even.
Returns whether this number is odd.
Checks if this number equals zero.
Checks if this number is strictly negative.
Checks if this number is negative or zero.
Checks if this number is strictly positive.
Checks if this number is positive or zero.
Returns the number of significant digits in the number.
Returns the integral part of this decimal number.
object
Returns the number of bits in the minimal two’s-complement representation of this BigInteger, excluding a sign bit.
Returns the index of the rightmost (lowest-order) one bit in this BigInteger.
Returns whether this number is even.
Returns whether this number is odd.
Checks if this number equals zero.
Checks if this number is strictly negative.
Checks if this number is negative or zero.
Checks if this number is strictly positive.
Checks if this number is positive or zero.
Checks if this number equals zero.
Checks if this number is strictly negative.
Checks if this number is negative or zero.
Checks if this number is strictly positive.
Checks if this number is positive or zero.
Checks if this number equals zero.
Checks if this number is strictly negative.
Checks if this number is negative or zero.
Checks if this number is strictly positive.
Checks if this number is positive or zero.
This method satisfies the Monetary interface.
Returns the sign of this money.
Returns whether this money has zero value.
Returns whether this money has a negative value.
Returns whether this money has a negative or zero value.
Returns whether this money has a positive value.
Returns whether this money has a positive or zero value.
The VAT for each pair of category and rate, from the rates that the lines keep. TaxCalculator gives the lines their rates, and the tax total is the sum of these groups. See docs/vat.md.
object
The texts under the totals of the PDF: the reason of each exemption and the note of a record without VAT.
Invalid input
A representation of common errors.
object
A short, human-readable summary of the problem.
A human-readable explanation specific to this occurrence of the problem.
A URI reference that identifies the specific occurrence of the problem. It may or may not yield further information if dereferenced.
A URI reference that identifies the problem type
Example
{ "status": 400}A representation of common errors.
object
A short, human-readable summary of the problem.
A human-readable explanation specific to this occurrence of the problem.
A URI reference that identifies the specific occurrence of the problem. It may or may not yield further information if dereferenced.
A URI reference that identifies the problem type
Example
{ "status": 400}Forbidden
A representation of common errors.
object
A short, human-readable summary of the problem.
A human-readable explanation specific to this occurrence of the problem.
A URI reference that identifies the specific occurrence of the problem. It may or may not yield further information if dereferenced.
A URI reference that identifies the problem type
Example
{ "status": 400}A representation of common errors.
object
A short, human-readable summary of the problem.
A human-readable explanation specific to this occurrence of the problem.
A URI reference that identifies the specific occurrence of the problem. It may or may not yield further information if dereferenced.
A URI reference that identifies the problem type
Example
{ "status": 400}An error occurred
Unprocessable entity
object
object
The property path of the violation
The message associated with the violation
The code of the violation
An extra hint to understand the violation
The serialized payload of the violation
object
Example
{ "status": 422}Unprocessable entity
object
object
The property path of the violation
The message associated with the violation
The code of the violation
An extra hint to understand the violation
The serialized payload of the violation
object
Example
{ "status": 422}