pepperwind / docs /ledger.md
rasinmuhammed's picture
Pepperwind Trading Co. preview, version 1.0
27ec678 verified
|
Raw History Blame Contribute Delete
184 kB

ledger

The books of the group's three companies, shaped like an ERP's finance module and the subledgers that feed it: PTPL in India (rupees), PEBV in the Netherlands (euros) and PINC in the United States (US dollars). It holds the documents each company books (tax invoices and credit notes, payments, refunds, processor payouts, Club deferred revenue, month-end cut-offs, export invoices between the companies, import declarations and customs entries, vendor bills, standard costs and stock at landed cost) and the journal entries they post to one shared chart of accounts. Its rows point back to the orders in commerce, the payments, invoices and refunds in billing, the stock movements and shipments in logistics, and the wholesale accounts in the CRM.

Table Rows What it holds
agreement_credit 2 A credit note on one of the supply agreement's quarterly advance demands, issued when the wholesale account ended the agreement. One row per credit note; amounts in rupees.
agreement_demand 12 A quarterly advance demand under the supply agreement with PTPL's largest wholesale account. The advance carries no GST, is booked to deferred revenue on contracts, and each delivery's tax invoice is settled against it. One row per demand; amounts in rupees.
bank_account 7 The group's bank accounts, one row per account. Each has its own general ledger account (gl_code). Indian accounts carry an IFSC, the Dutch account an IBAN and the US account an ABA routing number.
cod_remittance 245 A courier's weekly transfer to PTPL of the cash it collected on delivery (COD) in India, net of its COD fee and the GST on that fee. One row per courier and week; amounts in rupees.
credit_note 175 PTPL's GST credit note on a storefront tax invoice in India. Three kinds share the table: a parcel returned to origin undelivered (rto), the goods of a customer return settled by refund or store credit (return), and an order refunded in full as fraudulent (fraud). Amounts in rupees.
credit_note_line 300 A line of a GST credit note: the goods of one invoice line credited, their GST, and whether they went back on the shelf. Amounts in rupees.
customer_receipt 436 A prepaid storefront payment in India: the money the payment gateway holds for PTPL against the customer's order until the order is invoiced. One row per successful payment; amounts in rupees.
customer_refund 39 Money paid back to a storefront customer in India: through the gateway on the original payment, or by bank transfer to a cash-on-delivery buyer whose return was refunded. Amounts in rupees.
eu_billing_fee 54 The Stripe Billing fee on one day's paid European Club invoices, taken from PEBV's Stripe balance. One row per day with Club invoices; amounts in euros.
eu_club_credit 0 A credit note refunding a European Club invoice of PEBV's. What no shipped box will release comes out of deferred revenue; any refund beyond that comes out of Club revenue. One row per credit note, with its refund; amounts in euros.
eu_club_invoice 55 A paid European Club invoice of PEBV's, booked to deferred revenue when paid and released box by box (see eu_club_release). The price includes VAT. One row per invoice; amounts in euros.
eu_club_release 77 A European Club box shipped from Rotterdam and the share of its paid invoice that it moves from deferred revenue to Club revenue at the month's close. One row per box; amounts in euros.
eu_credit_note 17 A Stripe credit note on a European storefront invoice, as PEBV books it. One row per credit note; amounts in euros.
eu_cutoff 50 A European storefront sale still open at a month's end. Either invoiced and not yet delivered (its revenue held in deferred revenue) or delivered and not yet invoiced, its SEPA debit still settling (unbilled revenue). The entry is reversed the next day. One row per sale and month end; amounts in euros.
eu_dispute 1 A card chargeback, PayPal claim or SEPA debit return on one of PEBV's charges. One row per dispute: the amount and fee Stripe took from PEBV's balance, the fee for countering it, and what a win gave back. Amounts in euros.
eu_goods_issue 5,557 Goods out of PEBV's stock at Rotterdam, for a storefront or wholesale order or a Club box, valued first in, first out. One row per stock movement; costs in euros.
eu_goods_receipt 2,797 Goods into PEBV's stock at Rotterdam. A container line at its landed cost, or an unopened return or a parcel returned undelivered back on the shelf at the SKU's latest landed cost. Each receipt is a layer of the first in, first out stock. Values in euros.
eu_invoice 321 A European storefront order's Stripe invoice, booked by PEBV as the sale. One row per invoice; amounts in euros, VAT included in the prices.
eu_invoice_line 554 A line of a European storefront invoice, as PEBV's ledger keeps it. Amounts in euros, after any discount on the line.
eu_payout 250 Stripe's payout of PEBV's available balance to its account at Zeeland Handelsbank, with the movements the payout nets. One row per payout; amounts in euros.
eu_refund 16 A refund to a European storefront customer through Stripe. One row per refund; amounts in euros.
eu_stock 629 PEBV's stock of a SKU at Rotterdam, valued first in, first out. One row per stock item, a snapshot at the end of September 2026.
eu_trade_cutoff 64 A European wholesale invoice still open at a month's end with its goods not yet delivered: its revenue is held in deferred revenue and the entry reversed the next day. One row per invoice and month end; amounts in euros.
eu_trade_invoice 830 A European wholesale order's invoice, booked by PEBV as a sale on credit terms, with its payment and any write-off. One row per invoice; amounts in euros.
fx_rate 2,196 Rupees per euro and per US dollar for every day. Each month closes at its ECB reference rate, the days between follow the ECB fixings, and a weekend or TARGET holiday carries the last fixing. The books translate every foreign amount at the rate of its day.
gateway_settlement 640 The payment gateway's transfer to PTPL's collections account of a day's storefront and Club captures in India, net of refunds, disputes, its fees and the GST on its fees, two bank days later. A day whose refunds took all its captures transfers nothing; its amounts go with the next transfer, so one row can cover several capture days. Amounts in rupees.
gift_card 35 A gift card sold on a storefront, one row per card (an order line of several cards makes several rows). Indian cards are PTPL's in rupees; US cards are PTPL's while it sold to the US from Kochi and PINC's after, in US dollars. The card is a liability from its order's payment until it is spent or disabled.
gl_account 88 The chart of accounts the three companies share. One row per general ledger account; journal lines point at it.
ic_capital 2 PTPL's subscription for the shares of a subsidiary when it was set up: PEBV in euros and PINC in US dollars, wired from PTPL's operating account and received in full. One row per subscription.
ic_fx_conversion 17 PTPL's bank's conversion into rupees of a euro payment from PEBV for its export invoices, made the day the payment is credited. One row per payment.
ic_invoice 51 PTPL's export invoice to PEBV (in euros) or PINC (in US dollars) for a container or courier box of stock sent to Rotterdam or New Jersey, priced at standard cost plus 8%. Both companies book it when the goods leave Kochi.
ic_invoice_line 5,185 A line of PTPL's export invoice to PEBV or PINC: a SKU on the container or courier box, at its standard cost plus 8% in the buyer's currency.
ic_settlement 46 A subsidiary's monthly statement of PTPL's export invoices for goods shipped in the month, due 60 days after the month ends. A statement under the minimum waits and is paid with the next one that is not. Payment is by SWIFT transfer with charges shared. Dollars stay in PTPL's dollar account; euros are converted into rupees the day they arrive (see ic_fx_conversion). Amounts in the statement's currency unless the column says rupees.
ic_settlement_line 51 One export invoice to PEBV or PINC and the statement payment that settled it, at the reference rate of the day PTPL's bank credited it.
import_entry 26 The Dutch import declaration for a container from Kochi (lodged by the customs broker) or a courier box (by the courier): its customs value, duty and import VAT. One row per declaration; amounts in euros.
import_entry_line 2,792 A line of a Dutch import declaration: one SKU's customs value, its share of the duty, its import VAT and its landed cost. Amounts in euros.
in_box_issue 2,692 Goods out of Kochi's stock for an Indian Club box, booked when the box is packed at the SKU's standard cost. One row per box line; amounts in rupees.
in_club_credit 1 A credit note refunding an Indian Club invoice of PTPL's. What no shipped box will release comes out of deferred revenue, any refund beyond that comes out of Club revenue, and the GST is reversed. One row per credit note, with its refund through the gateway; amounts in rupees.
in_club_invoice 555 A paid Indian Club invoice of PTPL's, a GST tax invoice with 5% GST inside the price. It is booked to deferred revenue when paid and released box by box (see in_club_release). One row per invoice; amounts in rupees.
in_club_release 843 An Indian Club box shipped from Kochi and the share of its paid invoice that it moves from deferred revenue to Club revenue at the month's close. One row per box; amounts in rupees.
in_dispute 2 A chargeback on one of PTPL's payments in India. The gateway takes the amount from the next settlement when the dispute opens and gives it back with a later one if PTPL wins; it charges no fee. One row per dispute; amounts in rupees.
journal_entry 40,314 The general ledger's journal entries for PTPL, PEBV and PINC: one balanced entry per business event, or one per day for a batch posted as a summary (month-end cut-offs, Club revenue releases, write-offs). Each entry is in its company's books and currency. The export holds every entry dated from October 2023 to September 2026, posted up to the September 2026 close.
journal_line 118,493 The debit and credit lines of the journal entries. Each entry's debits equal its credits in the company's own currency.
material_cost 960 The standard cost of each food material, in rupees a kilogram, for each financial year (April to March), as the March costing run before it set it.
order_cancellation 11 A prepaid storefront order in India cancelled before it was packed: the money taken is owed back to the customer. One row per order; amounts in rupees.
revenue_cutoff 158 An Indian storefront tax invoice whose parcel was neither delivered nor back at the warehouse by a month's end: its revenue and cost are held in the balance sheet and the entry reversed the next day. One row per invoice and month end it was open; amounts in rupees.
sales_invoice 931 PTPL's GST tax invoice for a storefront parcel in India, raised by the ERP when the parcel is packed. One row per order; amounts in rupees.
sales_invoice_line 1,634 A line of an Indian storefront tax invoice: the goods of one order line with their HSN code and GST. Gift cards are not on tax invoices. Amounts in rupees.
sku_cost 3,220 The standard cost of each SKU for each financial year (April to March), in rupees a unit landed in Kochi. Teas, spices and coffees are costed from their recipe (materials, conversion and packaging). Goods bought finished are costed at a share of their list price without its tax. Cost of goods sold and India's stock are valued at it.
sku_tariff 629 PEBV's customs master: each SKU Rotterdam holds, its EU tariff code, the duty goods from India pay and the import VAT rate. One row per SKU.
stock_adjustment 158 Kochi's stock adjustment SA/24-25/00011 of 1 July 2024. It booked the stock the warehouse system had valued below the stock on hand at the end of 30 June 2024: put-aways recorded on a duplicate item code, or recorded after that day. One row per put-away, at the SKU's standard cost; amounts in rupees.
trade_cutoff 1,397 An Indian wholesale invoice still open at a month's end with its goods not yet delivered: its revenue and cost are held in the balance sheet and the entry reversed the next day. One row per invoice and month end; amounts in rupees.
trade_sale 8,255 PTPL's GST tax invoice for a wholesale order, booked as a sale on credit terms, with its payment and any write-off. One row per invoice; amounts in rupees.
trade_sale_line 50,928 A line of PTPL's wholesale tax invoice: the goods with their HSN code and GST. Amounts in rupees.
us_3pl_activity 735 The New Jersey 3PL operator's billing detail: each parcel it packed for PINC (a storefront order, a wholesale order or a Club box) and what it charged, as billed on that month's invoice (us_3pl_invoice). Postage is not on it. Amounts in US dollars; the rates rose on 1 January 2026.
us_3pl_invoice 22 The New Jersey 3PL operator's monthly invoice to PINC for its services: containers and cartons received, storage, storefront and wholesale orders picked and packed, Club boxes made up, returns received, and a top-up to the monthly minimum. Postage is billed separately. One row per month from December 2024; amounts in US dollars, the rates rising on 1 January 2026.
us_billing_fee 47 The Stripe Billing fee on one day's paid US Club invoices, taken from PINC's Stripe balance. One row per day with Club invoices; amounts in US dollars.
us_cbp_refund 2 US Customs and Border Protection's ACH refund to PINC of the IEEPA duties, with interest, on the entries it liquidated or reliquidated on one day without those duties. One row per refund; amounts in US dollars.
us_club_credit 0 A credit note refunding a US Club invoice of PINC's. What no shipped box will release comes out of deferred revenue; any refund beyond that comes out of Club revenue. One row per credit note, with its refund; amounts in US dollars.
us_club_invoice 55 A paid US Club invoice of PINC's, booked to deferred revenue when paid and released box by box (see us_club_release). One row per invoice; amounts in US dollars.
us_club_release 90 A US Club box shipped from the New Jersey 3PL and the share of its paid invoice that it moves from deferred revenue to Club revenue at the month's close. One row per box; amounts in US dollars.
us_credit 8 What PINC gives back on a US storefront order: the whole order when it was cancelled after payment or came back undelivered, or the goods of a return refunded or credited. One row per credit; amounts in US dollars.
us_cutoff 27 A US storefront sale whose parcel was not delivered by a month's end: its revenue is held in deferred revenue and the entry reversed the next day. One row per sale and month end; amounts in US dollars.
us_dispute 0 A card chargeback or PayPal claim on one of PINC's payments: the amount and fees taken from the Stripe or PayPal balance, the fee for countering it, and what a win gave back. One row per dispute; amounts in US dollars.
us_duty_statement 18 CBP's periodic monthly statement for PINC: the duties and fees of the customs broker's entries released in a month, debited by ACH on the statement's payment day in the following month. One row per statement; amounts in US dollars.
us_entry 23 The US customs entry for a container to New Jersey (filed by the customs broker) or a courier box (filed by the courier): its type, dates, value, duties and fees. One row per entry; amounts in US dollars.
us_entry_line 2,084 A line of a US customs entry: one SKU's customs value, its share of its tariff line's duties and of the entry's fees, and its landed cost. Amounts in US dollars.
us_goods_issue 2,967 Goods out of PINC's stock at the New Jersey 3PL in Edison, for a storefront or wholesale order or a Club box, valued first in, first out. One row per stock movement; costs in US dollars.
us_goods_receipt 2,087 Goods into PINC's stock at the New Jersey 3PL. A container or courier box line at its landed cost, or an unopened return or a parcel returned undelivered back on the shelf at the SKU's latest landed cost. Each receipt is a layer of the first in, first out stock. Values in US dollars.
us_ieepa_layer 395 The IEEPA duty refunded on a line of a US customs entry, taken off the goods receipt the goods came in on, on the day CBP liquidated the entry without it. The part on units still on the shelf reduces inventory; the part on units already sold reduces cost of goods sold. One row per entry line; amounts in US dollars.
us_ieepa_refund 5 PINC's copy of CBP's refunds report for its IEEPA duties: each customs broker's entry liquidated or reliquidated without the IEEPA duty, the duty refunded and interest from the day it was deposited. One row per entry; amounts in US dollars.
us_payout 156 Stripe's payout of PINC's available balance to its account at Hudson Mercantile Bank, with the movements the payout nets. One row per payout; amounts in US dollars.
us_paypal_transfer 32 PayPal's automatic transfer of PINC's PayPal balance above the minimum it keeps for refunds to Hudson Mercantile Bank, made each Federal Reserve business day morning and arriving the next business day. One row per transfer; amounts in US dollars.
us_refund 6 A refund to a US storefront customer of PINC's, through Stripe or PayPal. One row per refund; amounts in US dollars.
us_sale 204 A US storefront order of PINC's, booked as the sale when paid: its goods, delivery charge, sales tax, gift cards and the processor's fee. One row per paid order; amounts in US dollars.
us_sales_tax_return 29 PINC's sales tax return to a state for a filing period: its sales into the state, what was taxable, the tax charged and given back, the state's discount for filing on time, and what was paid. One row per return; amounts in US dollars.
us_sku_tariff 583 PINC's customs master: each SKU the New Jersey 3PL holds, its HTS subheading, the general duty rate and the class the Chapter 99 additional duties apply by. One row per SKU.
us_stock 583 PINC's stock of a SKU at the New Jersey 3PL, valued first in, first out. One row per stock item, a snapshot at the end of September 2026.
us_trade_cutoff 48 A US wholesale invoice still open at a month's end with its goods not yet delivered: its revenue is held in deferred revenue and the entry reversed the next day. One row per invoice and month end; amounts in US dollars.
us_trade_invoice 445 A US wholesale order's invoice, booked by PINC as a sale on credit terms, with its payment and any write-off. One row per invoice; amounts in US dollars.
vendor 11 The vendor master for PEBV's and PINC's payables, each vendor as the finance desk set it up: its tax number, bank account and payment terms. One row per vendor record.
vendor_bill 167 A bill to PEBV or PINC for a shipment from Kochi: from a forwarder, insurer, customs broker, haulier or drayage carrier for a container, or from the courier for a box. One row per bill; amounts in the company's currency.
vendor_bill_line 449 A charge on a vendor bill. Amounts in the bill's currency.
vendor_payment 164 A vendor bill paid. PEBV pays from Zeeland Handelsbank at its Thursday payment run on or after the due date; PINC pays by ACH from Hudson Mercantile Bank at its Tuesday run. One row per bill paid; a credit note is taken against a later run.
xb_cancellation 2 A paid US order that PTPL cancelled before it was packed, while it sold to the US from Kochi: the payment is owed back. One row per order.
xb_credit_note 2 PTPL's credit note on an export invoice to a US customer: for a parcel back in Kochi undelivered (rto), or for goods a customer was refunded or credited without sending them back (return). One row per credit note; amounts in US dollars and in rupees at the invoice's rate.
xb_cutoff 19 An export invoice to a US customer whose parcel was still on its way at a month's end: its revenue and cost are held in the balance sheet and the entry reversed the next day. One row per invoice and month end; amounts in rupees.
xb_dispute 0 A card chargeback or PayPal claim on one of PTPL's US sales while it sold from Kochi: the amount in US dollars, what it cost in rupees and from where, and what a win gave back. Through Paisora the amount comes out of the next Indian settlement; through PayPal it is debited from PTPL's linked bank account. One row per dispute.
xb_invoice 87 PTPL's export invoice for a US storefront parcel shipped from Kochi until 5 January 2025: zero-rated under a letter of undertaking (LUT), in US dollars, raised when the parcel is packed and booked in rupees at the rate of the day the customer paid. One row per order.
xb_invoice_line 162 A line of PTPL's export invoice to a US customer: the goods with their HSN code and value in US dollars.
xb_receipt 89 A US storefront payment to PTPL while it sold to the US from Kochi (until 5 January 2025), through Paisora's international service or PayPal. Each processor converts the dollars and pays PTPL rupees some days later. One row per payment.
xb_refund 4 A refund to a US customer of PTPL's, paid back in US dollars through the processor that took the payment. Paisora takes it from PTPL's balance with the next Indian settlement; PayPal debits it from PTPL's linked bank account the next bank day. One row per refund.
xb_settlement 84 A processor's payout in rupees of a day's US captures, net of its fees and the GST on them: Paisora's international settlement or PayPal's. One row per processor and capture day; amounts in rupees.

agreement_credit

A credit note on one of the supply agreement's quarterly advance demands, issued when the wholesale account ended the agreement. One row per credit note; amounts in rupees.

2 rows; key agreement_credit_id.

Column Type Empty Range or values Meaning
agreement_credit_id integer, key 0.0% 1 to 2 Row key.
credit_note_id text 0.0% cn_1Tu8D6KYW674HvRFCgR7gFJe, cn_1Tu8sJKYW674HvRFENZ4mn6a The billing platform's id of the credit note.
invoice_id text, → billing.invoice.invoice_id 0.0% in_1ToHPMKYW674HvRF9YjObzXK, in_1THGNxKYW674HvRFAPoYwj6g The advance demand the note credits, as a billing invoice.
number text 0.0% 222B612D-0472-CN-01, 222B612D-0461-CN-01 The credit note's number, the demand's number with a -CN suffix.
invoice_number text 0.0% 222B612D-0472, 222B612D-0461 The number of the advance demand credited.
credited_at timestamp, local wall clock, no zone 0.0% 2026-07-17 15:07:36 to 2026-07-17 15:50:11 When the credit note was issued, on Kochi's clock.
amount number, 2 places 0.0% 535574.81 to 4803750.0 The advance credited back, in rupees. On a demand already paid, this amount was returned to the account by bank transfer.

agreement_demand

A quarterly advance demand under the supply agreement with PTPL's largest wholesale account. The advance carries no GST, is booked to deferred revenue on contracts, and each delivery's tax invoice is settled against it. One row per demand; amounts in rupees.

12 rows; key agreement_demand_id.

Column Type Empty Range or values Meaning
agreement_demand_id integer, key 0.0% 1 to 12 Row key.
invoice_id text, → billing.invoice.invoice_id 0.0% in_1Nx0G4KYW674HvRF1NgPnazW, in_1OTdJ1KYW674HvRFDfiaOHSz, in_1P0eGmKYW674HvRF7ORakP5K The demand as a billing invoice.
account_id text, → crm.account.Id 0.0% 0015g0000000cw5AAA The wholesale account on the agreement, in the CRM.
invoice_at timestamp, local wall clock, no zone 0.0% 2023-10-03 10:00:56 to 2026-07-01 11:44:04 When the demand was raised, on Kochi's clock.
number text 0.0% 222B612D-0311, 222B612D-0327, 222B612D-0344 The demand's invoice number.
period text 0.0% Oct–Dec 2023, Jan–Mar 2024, Apr–Jun 2024 The calendar quarter the advance covers, such as Jan–Mar 2024.
total number, 2 places 0.0% 4200000.0 to 6155725.54 The advance demanded, in rupees.
status text 0.0% paid The billing invoice's status.
paid_at timestamp, local wall clock, no zone 0.0% 2023-11-28 16:28:26 to 2026-07-17 15:07:36 When the billing platform marked the demand paid, on Kochi's clock.
received boolean 0.0% False to True True when the account paid the demand by bank transfer. False when a credit note left nothing to pay and the demand was closed by that note.
paid_on timestamp, local wall clock, no zone 8.3% 2023-11-28 00:00:00 to 2026-04-17 00:00:00 The date the transfer reached PTPL's collections account; empty when nothing was received.
tds_withheld number, 2 places 0.0% -0.0 to 5228.0 Income tax the account deducted at source from its transfer (TDS), in rupees; PTPL claims it as a receivable.
amount_paid number, 2 places 0.0% -0.0 to 6154569.54 What the account transferred, in rupees, after deducting TDS.

bank_account

The group's bank accounts, one row per account. Each has its own general ledger account (gl_code). Indian accounts carry an IFSC, the Dutch account an IBAN and the US account an ABA routing number.

7 rows; key bank_account_id.

Column Type Empty Range or values Meaning
bank_account_id integer, key 0.0% 1 to 7 Row key.
entity_code text 0.0% PTPL, PEBV, PINC The company that holds the account: PTPL (India), PEBV (the Netherlands) or PINC (the United States).
bank_name text 0.0% Periyar Commercial Bank, Zeeland Handelsbank, Hudson Mercantile Bank The bank.
currency text 0.0% INR, USD, EUR The account's currency.
purpose text 0.0% operating, collections, payroll What the account is used for: operating, collections (customer, gateway and courier receipts), payroll, tax payments, or export proceeds (EEFC), PTPL's US dollar account for export receipts.
gl_code text 0.0% 1001, 1002, 1003 The general ledger account that mirrors this bank account.
opened_on timestamp, local wall clock, no zone 0.0% 2017-02-14 00:00:00 to 2024-08-19 00:00:00 The date the account was opened.
account_number_masked text 14.3% XXXXXXXXXX4783, XXXXXXXXXX8641, XXXXXXXXXX4909 The account number with all but the last four digits masked; empty for the Dutch account, which is identified by its IBAN.
ifsc text 28.6% PRCB0000417 The Indian branch code (IFSC); empty outside India.
iban text 85.7% NL69ZHBK2638603394 The IBAN; only for PEBV's Dutch account.
routing_number text 85.7% 564498640 The ABA routing number; only for PINC's US account.

cod_remittance

A courier's weekly transfer to PTPL of the cash it collected on delivery (COD) in India, net of its COD fee and the GST on that fee. One row per courier and week; amounts in rupees.

245 rows; key remittance_id.

Column Type Empty Range or values Meaning
remittance_id integer, key 0.0% 1 to 245 Row key.
carrier_id integer, → logistics.carrier.carrier_id 0.0% 1 to 3 The courier that collected the cash.
week_start timestamp, local wall clock, no zone 0.0% 2023-10-02 00:00:00 to 2026-09-14 00:00:00 Monday of the week of deliveries the remittance covers.
week_end timestamp, local wall clock, no zone 0.0% 2023-10-08 00:00:00 to 2026-09-20 00:00:00 Sunday of that week.
remitted_at timestamp, local wall clock, no zone 0.0% 2023-10-12 12:56:33 to 2026-09-24 12:48:28 When the courier's transfer reached PTPL's bank, on Kochi's clock.
remittance_ref text 0.0% VLL-COD-20231008, KXP-COD-20231015, KXP-COD-20231022 The courier's reference for the transfer, its code, COD and the week's last day.
parcels integer 0.0% 1 to 5 COD parcels delivered in the week.
cod_collected number, 2 places 0.0% 159.0 to 15755.6 Cash collected on those parcels, in rupees (the invoice totals).
cod_fee number, 2 places 0.0% 35.0 to 339.94 The courier's COD fee, 2% of each parcel's value with a minimum of 35 rupees a parcel, in rupees.
cgst number, 2 places 0.0% -0.0 to 20.88 Central GST on the fee, in rupees, when the courier is registered in Kerala, as PTPL's Kochi registration is; zero otherwise.
sgst number, 2 places 0.0% -0.0 to 20.88 State GST on the fee, in rupees, on the same terms as cgst.
igst number, 2 places 0.0% -0.0 to 61.19 Integrated GST on the fee, in rupees, when the courier is registered outside Kerala; zero otherwise.
amount_remitted number, 2 places 0.0% 117.7 to 15354.47 What the courier transferred, in rupees, the cash collected less the fee and its GST.

credit_note

PTPL's GST credit note on a storefront tax invoice in India. Three kinds share the table: a parcel returned to origin undelivered (rto), the goods of a customer return settled by refund or store credit (return), and an order refunded in full as fraudulent (fraud). Amounts in rupees.

175 rows; key credit_note_id.

Column Type Empty Range or values Meaning
credit_note_id integer, key 0.0% 1 to 175 Row key.
sales_invoice_id integer, → ledger.sales_invoice.sales_invoice_id 0.0% 7 to 925 The tax invoice the note credits.
order_id integer, → commerce.order.order_id 0.0% 58 to 11153 The storefront order.
return_id integer 87.4% 1 to 51 The customer return the note settles, in the commerce system's returns; empty unless kind is return.
kind text 0.0% return, rto Why the note was issued: rto (returned to origin), return (a customer return) or fraud (the order refunded as fraudulent).
issued_at timestamp, local wall clock, no zone 0.0% 2023-10-18 04:05:08 to 2026-09-28 21:13:11 When the note was issued, on Kochi's clock. For rto, when the parcel was back at the warehouse; for return, when the return was closed; for fraud, when the refund was made.
taxable_goods number 0.0% 132.38 to 7826.67 The goods' value credited, before GST, in rupees.
taxable_shipping number 0.0% -0.0 to 56.2 The delivery charge credited, before GST, in rupees. Zero on a return, where the delivery charge is not credited.
settle_to text 0.0% store_credit, cod_receivable, bank How the credit is settled: refund (paid back through the gateway), cod_receivable (a cash-on-delivery parcel never paid, so it reduces the amount due from the courier), bank (a cash-on-delivery buyer refunded by bank transfer) or store_credit. Of an order paid partly by store credit, that part goes back to store credit and settle_to names where the rest goes.
seller_gstin text 0.0% 32UWICH3497D1ZU, 29UWICH3497D1ZH, 27UWICH3497D1ZL The GSTIN of the PTPL registration that issued the original invoice (Kerala, Karnataka or Maharashtra).
credit_note_number text 0.0% KLR/23-24/000001, KLR/23-24/000002, KLR/23-24/000003 The credit note's number in its registration's series, restarting each financial year (April to March).
cgst number, 2 places 0.0% -0.0 to 209.27 Central GST reversed, in rupees; non-zero when the supply was within the seller's state.
sgst number, 2 places 0.0% -0.0 to 209.27 State GST reversed, in rupees; non-zero when the supply was within the seller's state.
igst number, 2 places 0.0% -0.0 to 754.17 Integrated GST reversed, in rupees; non-zero when the supply crossed state lines.
total number, 2 places 0.0% 149.0 to 8218.0 The credit note's total, in rupees, the taxable values plus GST.

credit_note_line

A line of a GST credit note: the goods of one invoice line credited, their GST, and whether they went back on the shelf. Amounts in rupees.

300 rows; key cn_line_id.

Column Type Empty Range or values Meaning
cn_line_id integer, key 0.0% 1 to 300 Row key.
invoice_line_id integer, → ledger.sales_invoice_line.invoice_line_id 0.0% 15 to 1614 The tax invoice line credited.
credit_note_id integer, → ledger.credit_note.credit_note_id 0.0% 1 to 175 The credit note.
return_line_id integer, → commerce.return_line.return_line_id 92.3% 1 to 53 The customer's return line; empty unless the note is for a return.
sku_id integer, → core.sku.sku_id 0.0% 1 to 879 The SKU credited.
hsn text 0.0% 6302, 0904, 0902 The goods' HSN code under GST.
quantity integer 0.0% 1 to 4 Units credited. For a return, the units returned; otherwise the whole invoice line.
gst_rate number 0.0% 0.05 to 0.18 The GST rate on the goods, as a fraction (0.05 is 5%).
gross number 0.0% 89.0 to 6899.0 The amount credited including GST, in rupees.
tax number 0.0% 4.24 to 670.88 The GST credited, in rupees.
taxable_value number, 2 places 0.0% 84.76 to 6570.48 The amount credited before GST, in rupees.
restocked boolean 0.0% False to True True when the goods went back into sellable stock (a parcel returned to origin intact, or a return received unopened).

customer_receipt

A prepaid storefront payment in India: the money the payment gateway holds for PTPL against the customer's order until the order is invoiced. One row per successful payment; amounts in rupees.

436 rows; key receipt_id.

Column Type Empty Range or values Meaning
receipt_id integer, key 0.0% 1 to 436 Row key.
payment_intent_id text, → billing.payment.payment_intent_id 0.0% pi_3NwdxkKYW674HvRF736RzgXS, pi_3NxOIpKYW674HvRF95lpKYRf, pi_3NxnTaKYW674HvRFDKHUals7 The payment in the billing system.
order_id integer, → commerce.order.order_id 0.0% 2 to 11249 The storefront order paid for.
received_at timestamp, local wall clock, no zone 0.0% 2023-10-02 10:12:50 to 2026-09-30 10:57:38 When the payment succeeded, on Kochi's clock.
method text 0.0% upi, netbanking, wallet How the customer paid: card, upi, netbanking or wallet.
amount number, 2 places 0.0% 188.0 to 15697.0 The amount received, in rupees.
gateway text 0.0% Paisora The payment gateway that captured the payment (Paisora).

customer_refund

Money paid back to a storefront customer in India: through the gateway on the original payment, or by bank transfer to a cash-on-delivery buyer whose return was refunded. Amounts in rupees.

39 rows; key customer_refund_id.

Column Type Empty Range or values Meaning
customer_refund_id integer, key 0.0% 1 to 39 Row key.
refund_id text, → billing.refund.refund_id 12.8% re_3OLAECKYW674HvRF3DmTCYUn, re_3OufuAKYW674HvRFARkB5qxg, re_3PFM1bKYW674HvRFDgs4h0R0 The refund in the billing system; empty for a bank transfer.
order_id integer, → commerce.order.order_id 0.0% 276 to 10901 The storefront order refunded.
return_id integer 87.2% 2 to 38 The customer return refunded, in the commerce system's returns; set only for bank transfers.
method text 0.0% bank_transfer, gateway How the money went back: gateway (to the original payment) or bank_transfer (to a cash-on-delivery buyer).
refunded_at timestamp, local wall clock, no zone 0.0% 2023-11-17 15:39:08 to 2026-09-15 01:49:12 When the refund was made, on Kochi's clock.
amount number, 2 places 0.0% 149.0 to 4680.0 The amount refunded, in rupees.

eu_billing_fee

The Stripe Billing fee on one day's paid European Club invoices, taken from PEBV's Stripe balance. One row per day with Club invoices; amounts in euros.

54 rows; key billing_fee_id.

Column Type Empty Range or values Meaning
billing_fee_id integer, key 0.0% 1 to 54 Row key.
volume_date timestamp, local wall clock, no zone 0.0% 2024-06-22 00:00:00 to 2026-09-24 00:00:00 The day whose Club invoices the fee is charged on.
taken_on timestamp, local wall clock, no zone 0.0% 2024-06-24 00:00:00 to 2026-09-25 00:00:00 The day the fee was taken from the balance.
currency text 0.0% EUR Always EUR.
invoice_count integer 0.0% 1 to 2 Club invoices paid that day.
volume number, 2 places 0.0% 13.99 to 279.9 The invoices' total that day, in euros.
amount number, 2 places 0.0% 0.07 to 1.96 The fee, in euros, a percentage of the day's volume.

eu_club_credit

A credit note refunding a European Club invoice of PEBV's. What no shipped box will release comes out of deferred revenue; any refund beyond that comes out of Club revenue. One row per credit note, with its refund; amounts in euros.

0 rows; key eu_club_credit_id.

Column Type Empty Range or values Meaning
eu_club_credit_id integer, key 0.0% Row key.
credit_note_id text 0.0% The billing platform's id of the credit note.
invoice_id text, → billing.invoice.invoice_id 0.0% The Club invoice credited.
refund_id text, → billing.refund.refund_id 0.0% The refund that paid the credit back.
number text 0.0% The credit note's number.
invoice_number text 0.0% The credited invoice's number.
credited_at timestamp, local wall clock, no zone 0.0% When the credit note was issued, on Amsterdam's clock.
currency text 0.0% Always EUR.
amount number, 2 places 0.0% The credit, VAT included, in euros.
vat number, 2 places 0.0% The VAT inside the credit, in euros.
refunded_net number, 2 places 0.0% The credit before VAT, in euros.
boxes integer 0.0% Boxes of the invoice already shipped when it was credited.
unearned number, 2 places 0.0% The part of the invoice's net that the shipped boxes had not released, still in deferred revenue, in euros.
revenue_back number, 2 places 0.0% The part of the refund beyond the unearned amount, taken back out of Club revenue, in euros; zero when the refund is within it.
kept number, 2 places 0.0% The part of the unearned amount not refunded, released to Club revenue, in euros.
refunded_at timestamp, local wall clock, no zone 0.0% When the refund was made, on Amsterdam's clock.

eu_club_invoice

A paid European Club invoice of PEBV's, booked to deferred revenue when paid and released box by box (see eu_club_release). The price includes VAT. One row per invoice; amounts in euros.

55 rows; key eu_club_invoice_id.

Column Type Empty Range or values Meaning
eu_club_invoice_id integer, key 0.0% 1 to 55 Row key.
invoice_id text, → billing.invoice.invoice_id 0.0% in_1PUQPQKYW674HvRFHB5zpNHH, in_1PfIhsKYW674HvRF2cyL8G96, in_1PqXTsKYW674HvRFGDXRdmal The invoice in the billing system.
number text 0.0% 248E067D-0004, 248E067D-0005, 248E067D-0006 The invoice number.
sold_at timestamp, local wall clock, no zone 0.0% 2024-06-22 11:39:11 to 2026-09-24 21:01:34 When the invoice was paid, on Amsterdam's clock.
method text 0.0% card, paypal, sepa_debit How it was paid: card, sepa_debit or paypal.
tier text 0.0% SPICE, LEAF, RESERVE The Club tier: SPICE, LEAF or RESERVE.
interval text 0.0% month, year The billing interval: month or year.
destination text 0.0% NL, DE, FR The country the boxes ship to, which sets the VAT rate.
currency text 0.0% EUR Always EUR.
total number, 2 places 0.0% 13.99 to 279.9 The invoice total, VAT included, in euros.
vat number, 2 places 0.0% 0.92 to 23.11 The VAT inside the total, in euros.
net number, 2 places 0.0% 12.83 to 256.79 The total before VAT, in euros; this is what the boxes release to revenue.
months integer 0.0% 1 to 12 The months the invoice pays for (1 for a monthly plan, 12 for an annual one).

eu_club_release

A European Club box shipped from Rotterdam and the share of its paid invoice that it moves from deferred revenue to Club revenue at the month's close. One row per box; amounts in euros.

77 rows; key eu_club_release_id.

Column Type Empty Range or values Meaning
eu_club_release_id integer, key 0.0% 1 to 77 Row key.
shipment_id integer 0.0% 2736 to 11838 The box's shipment in the logistics system.
club_box_id integer, → logistics.club_box.club_box_id 0.0% 259 to 1076 The Club box.
shipment_number text 0.0% SHP-RTM1-00000037, SHP-RTM1-00000053, SHP-RTM1-00000074 The shipment's number.
invoice_id text 0.0% in_1PUQPQKYW674HvRFHB5zpNHH, in_1PfIhsKYW674HvRF2cyL8G96, in_1PqXTsKYW674HvRFGDXRdmal The Club invoice that paid for the box, in the billing system.
tier text 0.0% SPICE, LEAF, RESERVE The Club tier of the box.
box_month timestamp, local wall clock, no zone 0.0% 2024-07-01 00:00:00 to 2026-09-01 00:00:00 The month the box belongs to (its first day).
shipped_at timestamp, local wall clock, no zone 0.0% 2024-07-08 16:20:06 to 2026-09-08 17:55:40 When the box shipped, on Amsterdam's clock.
currency text 0.0% EUR Always EUR.
amount number, 2 places 0.0% 12.83 to 39.8 The revenue the box releases, in euros, the invoice's net divided by the months it covers, with rounding left to the last box.
release_on timestamp, local wall clock, no zone 0.0% 2024-07-31 00:00:00 to 2026-09-30 00:00:00 The month-end date on which the release is booked.

eu_credit_note

A Stripe credit note on a European storefront invoice, as PEBV books it. One row per credit note; amounts in euros.

17 rows; key eu_cn_id.

Column Type Empty Range or values Meaning
eu_cn_id integer, key 0.0% 1 to 17 Row key.
credit_note_id text 0.0% cn_1P9PMdKYW674HvRF7wybivPP, cn_1PBZIzKYW674HvRFGkCP2Mds, cn_1PzrqZKYW674HvRF6XHfeXLo The billing platform's id of the credit note.
eu_invoice_id integer, → ledger.eu_invoice.eu_invoice_id 0.0% 7 to 300 The storefront invoice credited.
order_id integer, → commerce.order.order_id 0.0% 1871 to 10926 The storefront order.
number text 0.0% 248E067D-0002-CN-01, B367F6EF-0001-CN-01, CE5942FF-0001-CN-01 The credit note's number, the invoice's number with a -CN suffix.
issued_at timestamp, local wall clock, no zone 0.0% 2024-04-25 12:17:15 to 2026-09-09 19:48:15 When the credit note was issued, on Amsterdam's clock.
settle_to text 0.0% refund, store_credit How the credit is settled: refund (paid back through Stripe), store_credit, or correction (the invoice replaced by one with the right VAT, no money moving). Of an order paid partly by store credit, that part goes back to store credit and settle_to names where the rest goes.
currency text 0.0% EUR Always EUR.
amount number, 2 places 0.0% 2.93 to 60.99 The credit, VAT included, in euros.
vat number, 2 places 0.0% 0.15 to 10.84 The VAT inside the credit, in euros.

eu_cutoff

A European storefront sale still open at a month's end. Either invoiced and not yet delivered (its revenue held in deferred revenue) or delivered and not yet invoiced, its SEPA debit still settling (unbilled revenue). The entry is reversed the next day. One row per sale and month end; amounts in euros.

50 rows; key eu_cutoff_id.

Column Type Empty Range or values Meaning
eu_cutoff_id integer, key 0.0% 1 to 50 Row key.
eu_invoice_id integer, → ledger.eu_invoice.eu_invoice_id 0.0% 5 to 321 The storefront invoice; empty for a sale delivered before the window's last month end and not yet invoiced.
order_id integer, → commerce.order.order_id 0.0% 1668 to 11253 The storefront order.
unbilled boolean 0.0% False to True True when the parcel was delivered before its invoice (unbilled revenue); false when invoiced and not yet delivered (deferred revenue).
reverse_on timestamp, local wall clock, no zone 0.0% 2024-04-01 00:00:00 to 2026-10-01 00:00:00 The first day of the next month, when the cut-off entry is reversed.
cut_on timestamp, local wall clock, no zone 0.0% 2024-03-31 00:00:00 to 2026-09-30 00:00:00 The month-end date of the cut-off.
goods_net number 0.0% 4.12 to 140.72 The goods' revenue held over, before VAT, in euros.
shipping_net number 0.0% -0.0 to 4.95 The delivery charge held over, before VAT, in euros.
currency text 0.0% EUR Always EUR.

eu_dispute

A card chargeback, PayPal claim or SEPA debit return on one of PEBV's charges. One row per dispute: the amount and fee Stripe took from PEBV's balance, the fee for countering it, and what a win gave back. Amounts in euros.

1 rows; key eu_dispute_id.

Column Type Empty Range or values Meaning
eu_dispute_id integer, key 0.0% 1 to 1 Row key.
dispute_id text, → billing.dispute.dispute_id 0.0% du_1PJ9qPKYW674HvRFBOgQoKDJ The dispute in the billing system.
payment_intent_id text, → billing.payment.payment_intent_id 0.0% pi_3P144nKYW674HvRF5aakVB4J The disputed payment.
invoice_id text, → billing.invoice.invoice_id 0.0% in_1P145XKYW674HvRFEyJCfVjm The invoice the disputed payment paid.
order_id integer, → commerce.order.order_id 0.0% 1726 to 1726 The storefront order; empty for a Club payment.
method text 0.0% card The payment method disputed: card, sepa_debit or paypal.
reason text 0.0% fraudulent The reason the payer's bank or PayPal gave, as Stripe reports it.
status text 0.0% lost The dispute's outcome, as Stripe reports it.
currency text 0.0% EUR Always EUR.
amount number, 2 places 0.0% 16.64 to 16.64 The amount disputed and taken from the balance, in euros.
opened_at timestamp, local wall clock, no zone 0.0% 2024-05-22 09:44:17 to 2024-05-22 09:44:17 When the dispute was opened, on Amsterdam's clock.
countered_at timestamp, local wall clock, no zone 100.0% When PEBV submitted evidence to counter it, on Amsterdam's clock; empty when it was not countered.
closed_at timestamp, local wall clock, no zone 0.0% 2024-07-15 22:10:35 to 2024-07-15 22:10:35 When the dispute closed, on Amsterdam's clock.
fee number, 2 places 0.0% 20.0 to 20.0 The dispute fee taken from the balance, in euros; it depends on the method and, for SEPA, on the date.
counter_fee number, 2 places 0.0% -0.0 to 0.0 The fee for countering the dispute, in euros; zero when it was not countered.
amount_returned number, 2 places 0.0% -0.0 to 0.0 The disputed amount given back when PEBV won, in euros; zero otherwise.
fees_returned number, 2 places 0.0% -0.0 to 0.0 Fees given back when PEBV won, in euros; zero otherwise.

eu_goods_issue

Goods out of PEBV's stock at Rotterdam, for a storefront or wholesale order or a Club box, valued first in, first out. One row per stock movement; costs in euros.

5,557 rows; key gi_id.

Column Type Empty Range or values Meaning
gi_id integer, key 0.0% 1 to 5557 Row key.
movement_id integer, → logistics.stock_movement.movement_id 0.0% 7237 to 55008 The warehouse's stock movement (the pick) in the logistics system.
sku_id integer, → core.sku.sku_id 0.0% 1 to 896 The SKU issued.
eu_stock_id integer, → ledger.eu_stock.eu_stock_id 0.0% 1 to 629 The stock record the goods came out of.
order_line_id integer, → commerce.order_line.order_line_id 4.8% 7729 to 61625 The order line picked; empty for a Club box.
order_id integer, → commerce.order.order_id 4.8% 1375 to 11237 The order; empty for a Club box.
issued_at timestamp, local wall clock, no zone 0.0% 2024-02-28 13:09:08 to 2026-09-30 07:58:21 When the goods were picked, on Amsterdam's clock.
document text 0.0% GI-2024-0000001, GI-2024-0000002, GI-2024-0000003 The goods issue document number, numbered per calendar year.
quantity number 0.0% 1.0 to 410.0 Units issued.
currency text 0.0% EUR Always EUR.
cost number 0.0% 0.14 to 12256.3 The cost of the units issued, in euros, at the landed cost of the oldest units on hand.
layer integer 0.0% 2 to 2797 The goods receipt (gr_id in eu_goods_receipt) whose units the issue took first.
club_box_line_id integer, → logistics.club_box_line.club_box_line_id 95.2% 2195 to 3212 The Club box line; empty for an order.
club_box_id integer, → logistics.club_box.club_box_id 95.2% 259 to 1076 The Club box; empty for an order.

eu_goods_receipt

Goods into PEBV's stock at Rotterdam. A container line at its landed cost, or an unopened return or a parcel returned undelivered back on the shelf at the SKU's latest landed cost. Each receipt is a layer of the first in, first out stock. Values in euros.

2,797 rows; key gr_id.

Column Type Empty Range or values Meaning
gr_id integer, key 0.0% 1 to 2797 Row key; the layer that goods issues refer to.
movement_id integer, → logistics.stock_movement.movement_id 0.0% 70 to 51640 The warehouse's stock movement in the logistics system.
sku_id integer, → core.sku.sku_id 0.0% 1 to 896 The SKU received.
eu_stock_id integer, → ledger.eu_stock.eu_stock_id 0.0% 1 to 629 The stock record received into.
kind text 0.0% container, customer_return, returned_parcel What came in: container (a shipment from Kochi), customer_return (an unopened return) or returned_parcel (a parcel returned undelivered).
received_at timestamp, local wall clock, no zone 0.0% 2024-01-09 17:38:21 to 2026-08-18 13:38:18 When the goods were put away, on Amsterdam's clock.
quantity number 0.0% 1.0 to 931.0 Units received.
currency text 0.0% EUR Always EUR.
unit_cost number, 4 places 0.0% 0.1352 to 137.13 The landed cost per unit, in euros, to four places.
value number, 2 places 0.0% 0.15 to 18335.43 The receipt's value, in euros. For a container, its customs entry's landed cost of the line.
unit_value number, 10 places 0.0% 0.1351685393 to 137.13 The value per unit at full precision, in euros, which first in, first out costing uses.
document text 0.0% GR-2024-000001, GR-2024-000002, GR-2024-000003 The goods receipt document number, numbered per calendar year.

eu_invoice

A European storefront order's Stripe invoice, booked by PEBV as the sale. One row per invoice; amounts in euros, VAT included in the prices.

321 rows; key eu_invoice_id.

Column Type Empty Range or values Meaning
eu_invoice_id integer, key 0.0% 1 to 321 Row key.
invoice_id text, → billing.invoice.invoice_id 0.0% in_1OuwBSKYW674HvRFDUpdXM8R, in_1OuyjVKYW674HvRFAfWySdNb, in_1Ov3fFKYW674HvRFIPikkyVM The invoice in the billing system.
order_id integer, → commerce.order.order_id 0.0% 1589 to 11253 The storefront order.
number text 0.0% C79CEFFB-0001, 81614A6A-0001, 81614A6A-0002 The invoice number.
invoice_at timestamp, local wall clock, no zone 0.0% 2024-03-16 13:17:54 to 2026-09-30 22:49:33 When the invoice was created, on Amsterdam's clock.
kind text 0.0% sale sale (the order's invoice) or reissue (a one-off invoice replacing one credited to correct its VAT rate).
destination text 0.0% FR, BE, DE The country the order ships to, which sets the VAT rate.
currency text 0.0% EUR Always EUR.
total number, 2 places 0.0% 8.99 to 205.99 The invoice total, VAT included, in euros.
vat number, 2 places 0.0% -0.0 to 29.62 The VAT on the invoice, in euros.
shipping_gross number, 2 places 0.0% -0.0 to 4.95 The delivery charge, VAT included, in euros.
goods_net number, 2 places 0.0% -0.0 to 154.26 The goods' value before VAT, in euros, gift cards excluded.
shipping_vat number, 2 places 0.0% -0.0 to 0.99 The VAT on the delivery charge, in euros.
shipping_net number, 2 places 0.0% -0.0 to 4.95 The delivery charge before VAT, in euros.
card_total number, 2 places 0.0% -0.0 to 100.0 Gift cards sold on the invoice, in euros; they are a liability, not revenue.
method text 0.0% card, bancontact, paypal The payment method the customer chose at checkout.

eu_invoice_line

A line of a European storefront invoice, as PEBV's ledger keeps it. Amounts in euros, after any discount on the line.

554 rows; key eu_line_id.

Column Type Empty Range or values Meaning
eu_line_id integer, key 0.0% 1 to 554 Row key.
line_id text, → billing.invoice_line.line_id 0.0% il_1OuwBSKYW674HvRF4SgtGDJ9, il_1OuwBSKYW674HvRFD7Ac6HxA, il_1OuwBSKYW674HvRF0AjsT4Ru The invoice line in the billing system.
eu_invoice_id integer, → ledger.eu_invoice.eu_invoice_id 0.0% 1 to 321 The invoice.
sku_id integer, → core.sku.sku_id 0.0% 2 to 884 The SKU sold.
quantity integer 0.0% 1 to 3 Units sold.
vat_rate number 0.0% -0.0 to 0.25 The VAT rate, as a fraction; zero on a gift card.
card boolean 0.0% False to True True when the line is a gift card.
gross number, 2 places 0.0% 3.25 to 151.0 The line amount after discount, VAT included, in euros.
vat number, 2 places 0.0% -0.0 to 25.17 The VAT on the line, in euros.
net number, 2 places 0.0% 2.98 to 125.83 The line amount before VAT, in euros.

eu_payout

Stripe's payout of PEBV's available balance to its account at Zeeland Handelsbank, with the movements the payout nets. One row per payout; amounts in euros.

250 rows; key payout_id.

Column Type Empty Range or values Meaning
payout_id text, key 0.0% po_3Ow8mvuROtkNbukkBksl8I8y, po_3Oyg3yuROtkNbukk67DbsPgo, po_3P0qPOuROtkNbukk2ranVji1 The payout's id.
arrival_date timestamp, local wall clock, no zone 0.0% 2024-03-20 00:00:00 to 2026-09-30 00:00:00 The day the payout reached the bank.
created timestamp, local wall clock, no zone 0.0% 2024-03-20 01:27:33 to 2026-09-30 00:26:13 When Stripe created the payout, on Amsterdam's clock.
currency text 0.0% EUR Always EUR.
payment_count integer 0.0% 1 to 6 Payments the payout includes.
gross number, 2 places 0.0% 9.44 to 398.67 The payments' gross, in euros.
fees number, 2 places 0.0% 0.29 to 8.64 Stripe's processing fees on those payments, in euros.
refunds number, 2 places 0.0% -0.0 to 60.99 Refunds netted from the payout, in euros.
billing_fees number, 2 places 0.0% -0.0 to 1.96 Stripe Billing fees netted from the payout, in euros.
disputes number, 2 places 0.0% -0.0 to 16.64 Disputed amounts taken from the balance, in euros.
dispute_fees number, 2 places 0.0% -0.0 to 20.0 Dispute and counter fees taken, in euros.
dispute_reversals number, 2 places 0.0% -0.0 to 0.0 Disputed amounts given back after a win, in euros.
dispute_fees_returned number, 2 places 0.0% -0.0 to 0.0 Dispute fees given back after a win, in euros.
amount number, 2 places 0.0% 2.49 to 388.17 The amount paid out, in euros, gross less fees, refunds, billing fees and net dispute costs.

eu_refund

A refund to a European storefront customer through Stripe. One row per refund; amounts in euros.

16 rows; key eu_refund_id.

Column Type Empty Range or values Meaning
eu_refund_id integer, key 0.0% 1 to 16 Row key.
refund_id text, → billing.refund.refund_id 0.0% re_3P9PMdKYW674HvRF3yXY8oou, re_3PBZIzKYW674HvRF3AyO83tr, re_3PzrqZKYW674HvRFG8DBVeyi The refund in the billing system.
order_id integer, → commerce.order.order_id 0.0% 1871 to 10926 The storefront order refunded.
refunded_at timestamp, local wall clock, no zone 0.0% 2024-04-25 12:17:15 to 2026-09-09 19:48:15 When the refund was made, on Amsterdam's clock.
currency text 0.0% EUR Always EUR.
amount number, 2 places 0.0% 2.93 to 60.99 The amount refunded, in euros.

eu_stock

PEBV's stock of a SKU at Rotterdam, valued first in, first out. One row per stock item, a snapshot at the end of September 2026.

629 rows; key eu_stock_id.

Column Type Empty Range or values Meaning
eu_stock_id integer, key 0.0% 1 to 629 Row key.
item_id integer, → logistics.stock_item.item_id 0.0% 1 to 629 The warehouse's stock item in the logistics system.
sku_id integer, → core.sku.sku_id 0.0% 1 to 896 The SKU.
currency text 0.0% EUR Always EUR.
on_hand number 0.0% -0.0 to 800.0 Units on hand at the end of September 2026.
value number 0.0% -0.0 to 2593.07 Their value at landed cost, in euros.

eu_trade_cutoff

A European wholesale invoice still open at a month's end with its goods not yet delivered: its revenue is held in deferred revenue and the entry reversed the next day. One row per invoice and month end; amounts in euros.

64 rows; key eu_trade_cutoff_id.

Column Type Empty Range or values Meaning
eu_trade_cutoff_id integer, key 0.0% 1 to 64 Row key.
eu_trade_id integer, → ledger.eu_trade_invoice.eu_trade_id 0.0% 16 to 830 The wholesale invoice.
order_id integer, → commerce.order.order_id 0.0% 2406 to 11237 The wholesale order.
reverse_on timestamp, local wall clock, no zone 0.0% 2024-07-01 00:00:00 to 2026-10-01 00:00:00 The first day of the next month, when the cut-off entry is reversed.
cut_on timestamp, local wall clock, no zone 0.0% 2024-06-30 00:00:00 to 2026-09-30 00:00:00 The month-end date of the cut-off.
net number 0.0% 104.64 to 19063.2 The invoice's revenue held over, before VAT, in euros.
currency text 0.0% EUR Always EUR.

eu_trade_invoice

A European wholesale order's invoice, booked by PEBV as a sale on credit terms, with its payment and any write-off. One row per invoice; amounts in euros.

830 rows; key eu_trade_id.

Column Type Empty Range or values Meaning
eu_trade_id integer, key 0.0% 1 to 830 Row key.
invoice_id text, → billing.invoice.invoice_id 0.0% in_1OooVNKYW674HvRFFRK0UhAl, in_1P2CnKKYW674HvRFIuaKx4NM, in_1P9RQJKYW674HvRF0TIFRqW7 The invoice in the billing system.
order_id integer, → commerce.order.order_id 0.0% 1375 to 11237 The wholesale order.
number text 0.0% D72A70FC-0001, B2EA34D6-0001, B2EA34D6-0002 The invoice number.
invoice_at timestamp, local wall clock, no zone 0.0% 2024-02-28 15:53:09 to 2026-09-30 13:46:52 When the invoice was created, on Amsterdam's clock.
account_id text, → crm.account.Id 0.0% 0015g0000000d1TAAQ, 0015g0000000d1bAAA, 0015g0000000d1hAAA The wholesale account, in the CRM.
buyer_country text 0.0% DE, NL, FR The country the goods ship to.
buyer_vat_number text 0.0% DE771125928, NL321215290B55, NL600482767B04 The buyer's VAT number, as printed on the invoice.
vat_treatment text 0.0% intra_community, domestic domestic (a Dutch buyer, Dutch VAT charged) or intra_community (a buyer elsewhere in the EU, reverse charge with no VAT).
currency text 0.0% EUR Always EUR.
total number, 2 places 0.0% 73.82 to 22528.5 The invoice total, VAT included, in euros.
vat number, 2 places 0.0% -0.0 to 1404.47 The VAT charged, in euros; zero under reverse charge.
net number, 2 places 0.0% 73.82 to 22528.5 The invoice before VAT, in euros.
due_on timestamp, local wall clock, no zone 0.0% 2024-03-29 00:00:00 to 2026-10-30 00:00:00 The payment due date under the account's terms.
status text 0.0% paid, uncollectible, open The billing invoice's status: paid, open (not yet paid) or uncollectible.
paid_at timestamp, local wall clock, no zone 7.0% 2024-04-02 10:01:19 to 2026-09-30 13:23:08 When the payment was recorded, on Amsterdam's clock; empty until paid.
paid_on timestamp, local wall clock, no zone 7.0% 2024-04-02 00:00:00 to 2026-09-30 00:00:00 The date of the payment; empty until paid.
amount_paid number, 2 places 0.0% -0.0 to 22528.5 What the buyer has paid, in euros.
written_off boolean 0.0% False to True True when the invoice was written off as uncollectible.
off_on timestamp, local wall clock, no zone 99.8% 2025-09-30 00:00:00 to 2025-09-30 00:00:00 The month-end date the write-off was booked; empty unless written off.

fx_rate

Rupees per euro and per US dollar for every day. Each month closes at its ECB reference rate, the days between follow the ECB fixings, and a weekend or TARGET holiday carries the last fixing. The books translate every foreign amount at the rate of its day.

2,196 rows; key fx_row_id.

Column Type Empty Range or values Meaning
fx_row_id integer, key 0.0% 1 to 2196 Row key.
date timestamp, local wall clock, no zone 0.0% 2023-09-29 00:00:00 to 2026-09-30 00:00:00 The day the rate applies to.
currency text 0.0% EUR, USD The foreign currency: EUR or USD.
rate_inr number, 4 places 0.0% 82.6367 to 112.5131 Rupees per unit of the currency.
source text 0.0% ECB reference rate, carried from 2023-09-29, carried from 2023-10-06 Where the day's rate comes from, the ECB reference rate, or carried from an earlier fixing (naming its date) on a day with none.

gateway_settlement

The payment gateway's transfer to PTPL's collections account of a day's storefront and Club captures in India, net of refunds, disputes, its fees and the GST on its fees, two bank days later. A day whose refunds took all its captures transfers nothing; its amounts go with the next transfer, so one row can cover several capture days. Amounts in rupees.

640 rows; key settlement_id.

Column Type Empty Range or values Meaning
settlement_id integer, key 0.0% 1 to 640 Row key.
gateway text 0.0% Paisora The gateway (Paisora).
capture_date timestamp, local wall clock, no zone 0.0% 2023-10-02 00:00:00 to 2026-09-27 00:00:00 The last capture day the transfer covers.
settled_at timestamp, local wall clock, no zone 0.0% 2023-10-04 10:08:32 to 2026-09-29 10:10:17 When the transfer reached the bank, on Kochi's clock.
captures_from timestamp, local wall clock, no zone 0.0% 2023-10-02 00:00:00 to 2026-09-27 00:00:00 The first capture day the transfer covers; earlier than capture_date when days before it transferred nothing.
payment_count integer 0.0% 1 to 5 Captures the transfer covers.
gross number, 2 places 0.0% 202.1 to 17685.0 The captures' total, in rupees.
fees number, 2 places 0.0% -0.0 to 306.12 The gateway's fees, in rupees, a percentage by payment method.
cgst number, 2 places 0.0% -0.0 to 27.55 Central GST on the fees, in rupees.
sgst number, 2 places 0.0% -0.0 to 27.55 State GST on the fees, in rupees.
igst number, 2 places 0.0% -0.0 to 0.0 Integrated GST on the fees, in rupees; zero, as the gateway bills from Kerala.
refunds number, 2 places 0.0% -0.0 to 8258.43 Refunds the gateway paid out of the captures, in rupees, including refunds to PTPL's US customers while it sold there.
disputes number, 2 places 0.0% -0.0 to 559.0 Disputed amounts the gateway took back, in rupees.
dispute_reversals number, 2 places 0.0% -0.0 to 218.0 Disputed amounts given back after PTPL won, in rupees.
net_amount number, 2 places 0.0% 103.7 to 17362.42 What the gateway transferred, in rupees.
utr text 0.0% CTBKN23277206272, CTBKN23279055969, CTBKN23280446893 The bank's unique transaction reference for the transfer.

gift_card

A gift card sold on a storefront, one row per card (an order line of several cards makes several rows). Indian cards are PTPL's in rupees; US cards are PTPL's while it sold to the US from Kochi and PINC's after, in US dollars. The card is a liability from its order's payment until it is spent or disabled.

35 rows; key gift_card_id.

Column Type Empty Range or values Meaning
gift_card_id integer, key 0.0% 1 to 35 Row key.
order_line_id integer, → commerce.order_line.order_line_id 0.0% 10 to 60745 The order line that sold the card.
order_id integer, → commerce.order.order_id 0.0% 3 to 11063 The order.
issued_at timestamp, local wall clock, no zone 0.0% 2023-10-02 10:51:20 to 2026-09-16 15:19:56 When the card went live, at its order's payment. On Kochi's clock for PTPL's cards, on New York's for PINC's.
initial_value number, 2 places 0.0% 25.0 to 5000.0 The card's face value, in its currency.
currency text 0.0% USD, INR INR or USD.
code_last4 text 0.0% 7498, 8919, 7838 The last four digits of the card's code.
disabled_at timestamp, local wall clock, no zone 100.0% When the card was disabled because its order was refunded in full (cancelled, returned to origin, refunded as fraudulent, or credited); empty while the card is live.

gl_account

The chart of accounts the three companies share. One row per general ledger account; journal lines point at it.

88 rows; key account_id.

Column Type Empty Range or values Meaning
account_id integer, key 0.0% 1 to 88 Row key.
account_code text 0.0% 1001, 1002, 1003 The four-digit account code. 1xxx assets, 2xxx liabilities, 3xxx equity, 4xxx income, 5xxx cost of sales, 6xxx operating expenses, 7xxx exchange differences, interest and inventory adjustments.
account_name text 0.0% Periyar Commercial Bank operating, Periyar Commercial Bank collections, Periyar Commercial Bank payroll The account's name.
account_kind text 0.0% asset, liability, equity asset, liability, equity, income or expense.

ic_capital

PTPL's subscription for the shares of a subsidiary when it was set up: PEBV in euros and PINC in US dollars, wired from PTPL's operating account and received in full. One row per subscription.

2 rows; key capital_id.

Column Type Empty Range or values Meaning
capital_id integer, key 0.0% 1 to 2 Row key.
wired_on timestamp, local wall clock, no zone 0.0% 2023-12-12 00:00:00 to 2024-10-08 00:00:00 The date PTPL's bank sent the money.
credited_on timestamp, local wall clock, no zone 0.0% 2023-12-13 00:00:00 to 2024-10-09 00:00:00 The date the subsidiary's bank credited it.
entity text 0.0% PEBV, PINC The subsidiary: PEBV or PINC.
currency text 0.0% EUR, USD The subsidiary's currency.
shares integer 0.0% 1000 to 20000 Shares subscribed.
nominal number, 2 places 0.0% 0.01 to 1.0 The nominal value of a share, in the subsidiary's currency.
price number, 2 places 0.0% 10.0 to 250.0 The price paid per share, in the subsidiary's currency.
amount number, 2 places 0.0% 200000.0 to 250000.0 The subscription, shares times price, in the subsidiary's currency.
issued_capital number, 2 places 0.0% 10.0 to 20000.0 The nominal value of the shares issued, in the subsidiary's currency (its share capital).
premium number, 2 places 0.0% 180000.0 to 249990.0 The amount paid above nominal value, in the subsidiary's currency (its share premium).
ref_rate number, 4 places 0.0% 83.8058 to 91.3438 The reference rate of the day it was wired, in rupees per unit.
bank_rate number, 4 places 0.0% 84.0153 to 91.5722 The rate PTPL's bank sold the currency at, in rupees per unit, a little above the reference rate.
inr_cost number, 2 places 0.0% 18314440.0 to 21003825.0 The currency bought, in rupees at the bank's rate.
fee number, 2 places 0.0% 1000.0 to 1000.0 The bank's fee for the remittance, in rupees.
cgst number, 2 places 0.0% 2143.3 to 2385.34 Central GST on the fee and on the value of the currency conversion, in rupees.
sgst number, 2 places 0.0% 2143.3 to 2385.34 State GST on the fee and on the value of the currency conversion, in rupees.
inr_debited number, 2 places 0.0% 18319726.6 to 21009595.68 The total debited to PTPL's account, in rupees.
inr text 0.0% INR Always INR, the currency of the rupee columns.

ic_fx_conversion

PTPL's bank's conversion into rupees of a euro payment from PEBV for its export invoices, made the day the payment is credited. One row per payment.

17 rows; key conversion_id.

Column Type Empty Range or values Meaning
conversion_id integer, key 0.0% 1 to 17 Row key.
settlement_id integer, → ledger.ic_settlement.settlement_id 0.0% 1 to 40 The statement payment converted.
statement_no text 0.0% SOA-PEBV-202312, SOA-PEBV-202403, SOA-PEBV-202405 The statement paid.
converted_on timestamp, local wall clock, no zone 0.0% 2024-03-01 00:00:00 to 2026-07-31 00:00:00 The date of the conversion, the day the payment was credited.
currency text 0.0% EUR Always EUR.
received number 0.0% 2421.06 to 55203.86 The euros received after the correspondent bank's charge.
bank_rate number 0.0% 88.489 to 109.2756 The bank's buying rate, in rupees per euro, a little below the reference rate.
inr_credited number 0.0% 218044.05 to 5749117.67 The rupees credited to the collections account.
cgst number 0.0% 143.12 to 922.42 Central GST on the value of the conversion, in rupees.
sgst number 0.0% 143.12 to 922.42 State GST on the value of the conversion, in rupees.
inr text 0.0% INR Always INR, the currency of the rupee columns.

ic_invoice

PTPL's export invoice to PEBV (in euros) or PINC (in US dollars) for a container or courier box of stock sent to Rotterdam or New Jersey, priced at standard cost plus 8%. Both companies book it when the goods leave Kochi.

51 rows; key ic_invoice_id.

Column Type Empty Range or values Meaning
ic_invoice_id integer, key 0.0% 1 to 51 Row key.
transfer_id integer, → logistics.stock_transfer.transfer_id 0.0% 1 to 169 The stock transfer the invoice covers, in the logistics system.
invoice_number text 0.0% EU/23-24/001, EU/23-24/002, EU/23-24/003 The invoice number, in a series per buyer and financial year.
entity text 0.0% PEBV, PINC The buyer: PEBV or PINC.
invoiced_at timestamp, local wall clock, no zone 0.0% 2023-11-28 14:36:44 to 2026-09-02 14:06:22 When the invoice was made out, with the shipping bill before the goods left, on Kochi's clock.
shipped_on timestamp, local wall clock, no zone 0.0% 2023-12-04 00:00:00 to 2026-09-09 00:00:00 The bill of lading's or the air waybill's date, when the goods left and the invoice is booked.
incoterms text 0.0% FOB Cochin, FCA Kochi FOB Cochin for a container by sea, FCA Kochi for a courier box by air.
currency text 0.0% EUR, USD The invoice currency, the buyer's (EUR or USD).
rate_inr number, 4 places 0.0% 83.8206 to 112.1809 The reference rate on the invoice date, in rupees per unit, used to price it.
lines integer 0.0% 1 to 500 Lines on the invoice.
amount number, 2 places 0.0% 9.76 to 55213.86 The invoice total, in its currency.

ic_invoice_line

A line of PTPL's export invoice to PEBV or PINC: a SKU on the container or courier box, at its standard cost plus 8% in the buyer's currency.

5,185 rows; key ic_line_id.

Column Type Empty Range or values Meaning
ic_line_id integer, key 0.0% 1 to 5185 Row key.
transfer_line_id integer, → logistics.stock_transfer_line.transfer_line_id 0.0% 1 to 5185 The stock transfer line, in the logistics system.
ic_invoice_id integer, → ledger.ic_invoice.ic_invoice_id 0.0% 1 to 51 The export invoice.
sku_id integer, → core.sku.sku_id 0.0% 1 to 900 The SKU shipped.
quantity integer 0.0% 1 to 931 Units shipped.
unit_price number, 2 places 0.0% 0.12 to 69.88 The price per unit, in the invoice currency, the financial year's standard cost plus 8% at the invoice's rate.
amount number, 2 places 0.0% 0.13 to 16374.7 The line amount, in the invoice currency.

ic_settlement

A subsidiary's monthly statement of PTPL's export invoices for goods shipped in the month, due 60 days after the month ends. A statement under the minimum waits and is paid with the next one that is not. Payment is by SWIFT transfer with charges shared. Dollars stay in PTPL's dollar account; euros are converted into rupees the day they arrive (see ic_fx_conversion). Amounts in the statement's currency unless the column says rupees.

46 rows; key settlement_id.

Column Type Empty Range or values Meaning
settlement_id integer, key 0.0% 1 to 46 Row key.
period_end timestamp, local wall clock, no zone 0.0% 2023-12-31 00:00:00 to 2026-09-30 00:00:00 The last day of the month the statement covers.
entity text 0.0% PEBV, PINC The subsidiary: PEBV or PINC.
statement_no text 0.0% SOA-PEBV-202312, SOA-PEBV-202401, SOA-PEBV-202403 The statement number, SOA, the subsidiary and the month.
due_on timestamp, local wall clock, no zone 0.0% 2024-02-29 00:00:00 to 2026-11-29 00:00:00 The date payment is due, 60 days after the month.
currency text 0.0% EUR, USD The statement currency (EUR or USD).
invoices integer 0.0% 1 to 2 Export invoices on the statement.
amount number, 2 places 0.0% 19.5 to 55213.86 The statement total, in its currency.
paid boolean 0.0% False to True True when the statement was paid at its own payment run; false when it waited for a later statement or has not been paid by the end of September 2026.
transfer number, 2 places 0.0% -0.0 to 55213.86 The amount transferred, this statement plus any earlier ones that waited, in its currency; zero when not paid.
paid_on timestamp, local wall clock, no zone 26.1% 2024-02-29 00:00:00 to 2026-09-29 00:00:00 The date the subsidiary's transfer was sent; empty when not paid.
credited_on timestamp, local wall clock, no zone 26.1% 2024-03-01 00:00:00 to 2026-09-30 00:00:00 The date PTPL's bank credited it; empty when not paid.
payer_fee number, 2 places 0.0% -0.0 to 45.0 The subsidiary's own bank fee, charged to it apart from the transfer, in its currency.
intermediary number, 2 places 0.0% -0.0 to 15.0 The correspondent bank's charge, deducted from the transfer on its way, in its currency.
received number, 2 places 0.0% -0.0 to 55203.86 What reached PTPL's bank, in its currency.
ref_rate number, 4 places 26.1% 85.5993 to 109.5495 The reference rate on the day it was credited, in rupees per unit; empty when not paid.
bank_rate number, 4 places 63.0% 88.489 to 109.2756 PTPL's bank's buying rate for euros, in rupees per euro; only on PEBV's paid statements, as dollars are not converted.
inr_credited number, 2 places 0.0% -0.0 to 5749117.67 The rupees credited after conversion; zero for PINC and for unpaid statements.
cgst number, 2 places 0.0% -0.0 to 922.42 Central GST on the value of the conversion, in rupees.
sgst number, 2 places 0.0% -0.0 to 922.42 State GST on the value of the conversion, in rupees.

ic_settlement_line

One export invoice to PEBV or PINC and the statement payment that settled it, at the reference rate of the day PTPL's bank credited it.

51 rows; key stl_line_id.

Column Type Empty Range or values Meaning
stl_line_id integer, key 0.0% 1 to 51 Row key.
ic_invoice_id integer, → ledger.ic_invoice.ic_invoice_id 0.0% 1 to 51 The export invoice.
invoice_number text 0.0% EU/23-24/001, EU/23-24/002, EU/23-24/003 The export invoice's number.
entity text 0.0% PEBV, PINC The buyer: PEBV or PINC.
currency text 0.0% EUR, USD The invoice currency.
amount number 0.0% 9.76 to 55213.86 The invoice amount, in its currency.
statement_no text 0.0% SOA-PEBV-202312, SOA-PEBV-202401, SOA-PEBV-202403 The statement the invoice appeared on.
paid_with text 5.9% SOA-PEBV-202312, SOA-PEBV-202403, SOA-PEBV-202405 The statement whose payment settled it, later than statement_no when that statement waited; empty when not yet paid.
paid_on timestamp, local wall clock, no zone 5.9% 2024-02-29 00:00:00 to 2026-09-29 00:00:00 The date the payment was sent; empty when not yet paid.
credited_on timestamp, local wall clock, no zone 5.9% 2024-03-01 00:00:00 to 2026-09-30 00:00:00 The date PTPL's bank credited it; empty when not yet paid.
charge number, 2 places 0.0% -0.0 to 15.0 The correspondent bank's charge borne by this invoice, in its currency; only on the first invoice of a payment.
got number, 2 places 0.0% 4.5 to 55203.86 The amount received for the invoice after the charge, in its currency.
ref_inr number, 2 places 0.0% -0.0 to 5763525.88 That amount in rupees at the reference rate of the day it was credited; zero when not yet paid.

import_entry

The Dutch import declaration for a container from Kochi (lodged by the customs broker) or a courier box (by the courier): its customs value, duty and import VAT. One row per declaration; amounts in euros.

26 rows; key import_entry_id.

Column Type Empty Range or values Meaning
import_entry_id integer, key 0.0% 1 to 26 Row key.
transfer_id integer, → logistics.stock_transfer.transfer_id 0.0% 1 to 148 The stock transfer declared, in the logistics system.
mrn text 0.0% 23NLCF1QHH35AU70A9, 24NLNM45JJDA9R94A1, 24NLNGDHNCSPS810A4 The declaration's movement reference number (MRN).
lodged_at timestamp, local wall clock, no zone 0.0% 2023-12-28 03:05:17 to 2026-08-14 04:57:41 When the declaration was lodged, on Amsterdam's clock.
released_at timestamp, local wall clock, no zone 0.0% 2024-01-08 13:38:09 to 2026-08-17 12:11:39 When customs released the goods, on Amsterdam's clock.
currency text 0.0% EUR Always EUR.
items integer 0.0% 1 to 52 Declaration items (one per CN code).
customs_value number, 2 places 0.0% 34.2 to 56798.88 The goods' customs value, in euros.
duty number, 2 places 0.0% -0.0 to 295.62 The customs duty, in euros.
import_vat number, 2 places 0.0% 8.0 to 5319.26 The import VAT, in euros, deferred to PEBV's VAT return under its licence.

import_entry_line

A line of a Dutch import declaration: one SKU's customs value, its share of the duty, its import VAT and its landed cost. Amounts in euros.

2,792 rows; key entry_line_id.

Column Type Empty Range or values Meaning
entry_line_id integer, key 0.0% 1 to 2792 Row key.
ic_line_id integer, → ledger.ic_invoice_line.ic_line_id 0.0% 1 to 4713 The export invoice line the goods were invoiced on.
import_entry_id integer, → ledger.import_entry.import_entry_id 0.0% 1 to 26 The declaration.
sku_id integer, → core.sku.sku_id 0.0% 1 to 896 The SKU.
quantity integer 0.0% 1 to 931 Units declared.
net_kg number 0.0% 0.05 to 852.0 Net weight, in kilograms.
cn_code text 0.0% 0902 10 00, 0910 91 90, 6912 00 30 The goods' Combined Nomenclature code.
duty_rate number 0.0% -0.0 to 0.123 The duty rate, as a fraction of customs value.
vat_rate number 0.0% 0.09 to 0.21 The import VAT rate, as a fraction.
invoice_value number, 2 places 0.0% 0.13 to 15794.02 The export invoice's line amount, in euros.
customs_value number, 2 places 0.0% 0.14 to 17697.2 The invoice value plus the line's share of freight and insurance to the EU border, in euros.
duty number, 2 places 0.0% -0.0 to 171.12 The line's share of its declaration item's duty, in euros.
landed_cost number, 2 places 0.0% 0.15 to 18335.43 The line's cost at Rotterdam, in euros, its customs value, duty and share of the other import costs.
import_vat number, 2 places 0.0% 0.01 to 1650.19 Import VAT on the landed cost, in euros.

in_box_issue

Goods out of Kochi's stock for an Indian Club box, booked when the box is packed at the SKU's standard cost. One row per box line; amounts in rupees.

2,692 rows; key in_box_issue_id.

Column Type Empty Range or values Meaning
in_box_issue_id integer, key 0.0% 1 to 2692 Row key.
club_box_line_id integer, → logistics.club_box_line.club_box_line_id 0.0% 1 to 3218 The Club box line.
club_box_id integer, → logistics.club_box.club_box_id 0.0% 1 to 1072 The Club box.
sku_id integer, → core.sku.sku_id 0.0% 9 to 896 The SKU.
quantity integer 0.0% 1 to 1 Units issued.
shipment_number text 0.0% SHP-KOC1-00184216, SHP-KOC1-00184217, SHP-KOC1-00184218 The box's shipment number.
issued_at timestamp, local wall clock, no zone 0.0% 2023-10-05 09:55:15 to 2026-09-08 17:35:27 When the box was packed, on Kochi's clock.
currency text 0.0% INR Always INR.
unit_cost number, 2 places 0.0% 13.2 to 391.66 The SKU's standard cost for the financial year, in rupees.
cost number, 2 places 0.0% 13.2 to 391.66 The cost of the units issued, in rupees.

in_club_credit

A credit note refunding an Indian Club invoice of PTPL's. What no shipped box will release comes out of deferred revenue, any refund beyond that comes out of Club revenue, and the GST is reversed. One row per credit note, with its refund through the gateway; amounts in rupees.

1 rows; key in_club_credit_id.

Column Type Empty Range or values Meaning
in_club_credit_id integer, key 0.0% 1 to 1 Row key.
credit_note_id text 0.0% cn_1OsASWKYW674HvRFBxutY3qD The billing platform's id of the credit note.
invoice_id text, → billing.invoice.invoice_id 0.0% in_1OntpkKYW674HvRFDbSytBFo The Club invoice credited.
refund_id text, → billing.refund.refund_id 0.0% re_3OsASWKYW674HvRFCpKT7EnS The refund that paid the credit back.
number text 0.0% F549EECC-0001-CN-01 The billing platform's credit note number.
invoice_number text 0.0% KLC/23-24/007425 The GST tax invoice number of the invoice credited.
credited_at timestamp, local wall clock, no zone 0.0% 2024-03-09 02:26:04 to 2024-03-09 02:26:04 When the credit note was issued, on Kochi's clock.
credit_note_number text 0.0% KLCR/23-24/00001 The GST credit note number, in the Club's KLCR series, restarting each financial year.
currency text 0.0% INR Always INR.
amount number, 2 places 0.0% 4158.33 to 4158.33 The credit, GST included, in rupees.
gst number, 2 places 0.0% 198.02 to 198.02 The GST inside the credit, in rupees.
cgst number, 2 places 0.0% -0.0 to 0.0 Central GST reversed, in rupees; non-zero when the subscriber is in Kerala.
sgst number, 2 places 0.0% -0.0 to 0.0 State GST reversed, in rupees; non-zero when the subscriber is in Kerala.
igst number, 2 places 0.0% 198.02 to 198.02 Integrated GST reversed, in rupees; non-zero when the subscriber is outside Kerala.
refunded_net number, 2 places 0.0% 3960.31 to 3960.31 The credit before GST, in rupees.
boxes integer 0.0% 1 to 1 Boxes of the invoice already shipped when it was credited.
unearned number, 2 places 0.0% 4356.35 to 4356.35 The part of the invoice's net that the shipped boxes had not released, still in deferred revenue, in rupees.
revenue_back number, 2 places 0.0% -0.0 to 0.0 The part of the refund beyond the unearned amount, taken back out of Club revenue, in rupees.
kept number, 2 places 0.0% 396.04 to 396.04 The part of the unearned amount not refunded, released to Club revenue, in rupees.
refunded_at timestamp, local wall clock, no zone 0.0% 2024-03-09 02:26:04 to 2024-03-09 02:26:04 When the refund was made, on Kochi's clock.

in_club_invoice

A paid Indian Club invoice of PTPL's, a GST tax invoice with 5% GST inside the price. It is booked to deferred revenue when paid and released box by box (see in_club_release). One row per invoice; amounts in rupees.

555 rows; key in_club_invoice_id.

Column Type Empty Range or values Meaning
in_club_invoice_id integer, key 0.0% 1 to 555 Row key.
invoice_id text, → billing.invoice.invoice_id 0.0% in_1NwekpKYW674HvRFD0jdq35d, in_1NxiVHKYW674HvRF4OXVPyY5, in_1NybyyKYW674HvRF3sFr7d6W The invoice in the billing system.
number text 0.0% 04D76FCD-0012, 43D90041-0023, 5FB3AB56-0010 The billing platform's invoice number.
gst_invoice_number text 0.0% KLC/23-24/007344, KLC/23-24/007345, KLC/23-24/007346 The GST tax invoice number, in the Club's KLC series, restarting each financial year.
sold_at timestamp, local wall clock, no zone 0.0% 2023-10-02 12:06:14 to 2026-09-30 20:09:32 When the invoice was paid, on Kochi's clock.
method text 0.0% upi, card How it was paid: card or upi (recurring mandates through the gateway).
tier text 0.0% SPICE, RESERVE, LEAF The Club tier: SPICE, LEAF or RESERVE.
interval text 0.0% month, year The billing interval: month or year.
place_of_supply text 0.0% 29, 27, 33 The GST state code of the subscriber's state.
currency text 0.0% INR Always INR.
total number, 2 places 0.0% 499.0 to 13990.0 The invoice total, GST included, in rupees.
gst number, 2 places 0.0% 23.76 to 666.2 The GST inside the total, in rupees.
cgst number, 2 places 0.0% -0.0 to 333.1 Central GST, in rupees; non-zero when the subscriber is in Kerala.
sgst number, 2 places 0.0% -0.0 to 333.1 State GST, in rupees; non-zero when the subscriber is in Kerala.
igst number, 2 places 0.0% -0.0 to 594.76 Integrated GST, in rupees; non-zero when the subscriber is outside Kerala.
net number, 2 places 0.0% 475.24 to 13323.8 The total before GST, in rupees; this is what the boxes release to revenue.
months integer 0.0% 1 to 12 The months the invoice pays for (1 for a monthly plan, 12 for an annual one).

in_club_release

An Indian Club box shipped from Kochi and the share of its paid invoice that it moves from deferred revenue to Club revenue at the month's close. One row per box; amounts in rupees.

843 rows; key in_club_release_id.

Column Type Empty Range or values Meaning
in_club_release_id integer, key 0.0% 1 to 843 Row key.
shipment_id integer 0.0% 18 to 11845 The box's shipment in the logistics system.
club_box_id integer, → logistics.club_box.club_box_id 0.0% 9 to 1072 The Club box.
shipment_number text 0.0% SHP-KOC1-00184228, SHP-KOC1-00184621, SHP-KOC1-00184612 The shipment's number.
invoice_id text 0.0% in_1NwekpKYW674HvRFD0jdq35d, in_1O3xQVKYW674HvRFF1dZQrMX, in_1O6vW6KYW674HvRFBjDDSnHA The Club invoice that paid for the box, in the billing system.
tier text 0.0% SPICE, RESERVE, LEAF The Club tier of the box.
box_month timestamp, local wall clock, no zone 0.0% 2023-10-01 00:00:00 to 2026-09-01 00:00:00 The month the box belongs to (its first day).
shipped_at timestamp, local wall clock, no zone 0.0% 2023-10-06 18:16:44 to 2026-09-08 18:25:29 When the box shipped, on Kochi's clock.
currency text 0.0% INR Always INR.
amount number, 2 places 0.0% 396.03 to 1332.38 The revenue the box releases, in rupees, the invoice's net divided by the months it covers, with rounding left to the last box.
release_on timestamp, local wall clock, no zone 0.0% 2023-10-31 00:00:00 to 2026-09-30 00:00:00 The month-end date on which the release is booked.

in_dispute

A chargeback on one of PTPL's payments in India. The gateway takes the amount from the next settlement when the dispute opens and gives it back with a later one if PTPL wins; it charges no fee. One row per dispute; amounts in rupees.

2 rows; key in_dispute_id.

Column Type Empty Range or values Meaning
in_dispute_id integer, key 0.0% 1 to 2 Row key.
dispute_id text, → billing.dispute.dispute_id 0.0% du_1R4MalKYW674HvRFAjzDRkx5, du_1SdujTKYW674HvRFD7In6TGY The dispute in the billing system.
payment_intent_id text, → billing.payment.payment_intent_id 0.0% pi_3QpXIBKYW674HvRFDIbEqz1z, pi_3STyRSKYW674HvRFFOT8n975 The disputed payment.
invoice_id text, → billing.invoice.invoice_id 50.0% in_1QpWCNKYW674HvRFDetlQX2r The Club invoice the payment paid; empty for a storefront payment.
order_id integer, → commerce.order.order_id 50.0% 7577 to 7577 The storefront order; empty for a Club payment.
method text 0.0% upi, card The payment method disputed: card or upi.
reason text 0.0% subscription_canceled, product_not_received The reason the payer's bank gave.
status text 0.0% lost, won The dispute's state: won, lost or under_review (still open).
currency text 0.0% INR Always INR.
amount number, 2 places 0.0% 218.0 to 559.0 The amount disputed and taken from a settlement, in rupees.
opened_at timestamp, local wall clock, no zone 0.0% 2025-03-19 18:53:31 to 2025-12-13 20:57:43 When the dispute was opened, on Kochi's clock.
closed_at timestamp, local wall clock, no zone 0.0% 2025-04-03 16:55:49 to 2026-02-15 17:41:00 When the dispute closed, on Kochi's clock; empty while it is open.
processor text 0.0% Paisora The gateway (Paisora).
fee number, 2 places 0.0% -0.0 to 0.0 The dispute fee, in rupees; always zero.
amount_returned number, 2 places 0.0% -0.0 to 218.0 The disputed amount given back when PTPL won, in rupees; zero otherwise.

journal_entry

The general ledger's journal entries for PTPL, PEBV and PINC: one balanced entry per business event, or one per day for a batch posted as a summary (month-end cut-offs, Club revenue releases, write-offs). Each entry is in its company's books and currency. The export holds every entry dated from October 2023 to September 2026, posted up to the September 2026 close.

40,314 rows; key entry_id.

Column Type Empty Range or values Meaning
entry_id integer, key 0.0% 1 to 40314 Row key.
entry_date timestamp, local wall clock, no zone 0.0% 2023-10-02 00:00:00 to 2026-09-30 00:00:00 The accounting date of the entry.
entity text 0.0% PTPL, PEBV, PINC The company whose books the entry is in: PTPL (rupees), PEBV (euros) or PINC (US dollars).
counterparty text 99.2% PEBV, PTPL, PINC The other group company on an intercompany entry; empty otherwise.
posting text 0.0% d2c_receipt_in, club_invoice_in, xb_receipt_in The posting rule that made the entry, naming the kind of event; month-end revaluations read revalue and the account.
source_table text 0.3% customer_receipt, in_club_invoice, xb_receipt The table in this system whose row the entry records; empty for a revaluation.
source_id text 1.7% 1, 2, 3 The key of that row in source_table; empty for a summary entry or a revaluation.
source_rows integer 0.3% 1 to 158 Source rows the entry records; more than one for a summary entry.
currency text 0.0% INR, EUR, USD The currency of the transaction.
fx_rate number 0.0% 1.0 to 111.3046 The rate translating the transaction currency into the company's own currency on rate_date; 1 when they are the same.
rate_date timestamp, local wall clock, no zone 0.0% 2023-10-02 00:00:00 to 2026-09-30 00:00:00 The day whose rate translates the entry.
memo text 0.0% Storefront receipt, Club tax invoice KLC/23-24/007344, Storefront receipt, US The entry's description, as the ERP shows it.
entry_no text 0.0% JE-PTPL-2023-019660, JE-PTPL-2023-019663, JE-PTPL-2023-019662 The journal number, JE, the company, the year its April-to-March financial year starts and a sequence in the order posted.
posted_at timestamp, local wall clock, no zone 0.0% 2023-10-02 10:15:06 to 2026-10-08 17:04:34 When the entry was posted in the ERP, on Kochi's clock.
is_manual boolean 0.0% False to True True for an entry a person keyed, false for one an integration or the system posted.
posted_by text 0.0% svc-storefront, svc-wms, EMP-10110 Who posted it: an integration user (svc-storefront, svc-wms, svc-stripe, svc-3pl), system for entries the ledger makes at the close, PINC's outside accountant (ext-hvcpa), or an employee number.

journal_line

The debit and credit lines of the journal entries. Each entry's debits equal its credits in the company's own currency.

118,493 rows; key line_id.

Column Type Empty Range or values Meaning
line_id integer, key 0.0% 1 to 118493 Row key.
entry_id integer, → ledger.journal_entry.entry_id 0.0% 1 to 40314 The journal entry.
account_id integer, → ledger.gl_account.account_id 0.0% 1 to 87 The general ledger account.
account_code text 0.0% 1010, 2240, 2103 The account's four-digit code.
debit number 0.0% -0.0 to 21003825.0 The debit, in the company's own currency (rupees for PTPL, euros for PEBV, US dollars for PINC); zero on a credit line.
credit number 0.0% -0.0 to 21009595.68 The credit, in the company's own currency; zero on a debit line.
debit_tc number 0.0% -0.0 to 21003825.0 The debit in the entry's transaction currency; zero on an exchange difference line.
credit_tc number 0.0% -0.0 to 21009595.68 The credit in the entry's transaction currency; zero on an exchange difference line.

material_cost

The standard cost of each food material, in rupees a kilogram, for each financial year (April to March), as the March costing run before it set it.

960 rows; key material_cost_id.

Column Type Empty Range or values Meaning
material_cost_id integer, key 0.0% 1 to 960 Row key.
material_id integer, → logistics.material.material_id 0.0% 1 to 240 The material, in the logistics system.
fiscal_year text 0.0% 2023-24, 2024-25, 2025-26 The financial year, such as 2024-25.
valid_from timestamp, local wall clock, no zone 0.0% 2023-04-01 00:00:00 to 2026-04-01 00:00:00 1 April, the first day the standard applies.
valid_to timestamp, local wall clock, no zone 0.0% 2024-03-31 00:00:00 to 2027-03-31 00:00:00 31 March, the last day the standard applies.
standard_inr_per_kg number, 2 places 0.0% 16.0 to 217500.0 The standard cost, in rupees a kilogram.
basis text 0.0% tea_south mean Apr 2022 to Mar 2023, tea_north mean Apr 2022 to Mar 2023, estimate 900 at Mar 2023, 5% a year How the standard was set, such as a mean of the previous year's market prices or an estimate with its yearly rise.

order_cancellation

A prepaid storefront order in India cancelled before it was packed: the money taken is owed back to the customer. One row per order; amounts in rupees.

11 rows; key cancellation_id.

Column Type Empty Range or values Meaning
cancellation_id integer, key 0.0% 1 to 11 Row key.
order_id integer, → commerce.order.order_id 0.0% 2521 to 10609 The storefront order.
cancelled_at timestamp, local wall clock, no zone 0.0% 2024-07-08 16:03:23 to 2026-08-09 15:43:02 When the order was cancelled, on Kochi's clock.
amount number, 2 places 0.0% 508.0 to 2549.0 The order total paid, in rupees.
goods_amount number, 2 places 0.0% 508.0 to 2549.0 The amount owed back for everything but gift cards on the order, in rupees; gift cards bought on it are disabled and come off the gift card liability.

revenue_cutoff

An Indian storefront tax invoice whose parcel was neither delivered nor back at the warehouse by a month's end: its revenue and cost are held in the balance sheet and the entry reversed the next day. One row per invoice and month end it was open; amounts in rupees.

158 rows; key cutoff_id.

Column Type Empty Range or values Meaning
cutoff_id integer, key 0.0% 1 to 158 Row key.
sales_invoice_id integer, → ledger.sales_invoice.sales_invoice_id 0.0% 23 to 931 The tax invoice.
reverse_on timestamp, local wall clock, no zone 0.0% 2023-11-01 00:00:00 to 2026-10-01 00:00:00 The first day of the next month, when the cut-off entry is reversed.
cut_on timestamp, local wall clock, no zone 0.0% 2023-10-31 00:00:00 to 2026-09-30 00:00:00 The month-end date of the cut-off.
taxable_goods number 0.0% 102.0 to 14949.52 The goods' revenue held over, before GST, in rupees.
taxable_shipping number 0.0% -0.0 to 56.2 The delivery charge held over, before GST, in rupees.
cost_of_goods number 0.0% 12.5 to 8147.45 The goods' standard cost held over, in rupees.

sales_invoice

PTPL's GST tax invoice for a storefront parcel in India, raised by the ERP when the parcel is packed. One row per order; amounts in rupees.

931 rows; key sales_invoice_id.

Column Type Empty Range or values Meaning
sales_invoice_id integer, key 0.0% 1 to 931 Row key.
order_id integer, → commerce.order.order_id 0.0% 1 to 11249 The storefront order.
invoice_at timestamp, local wall clock, no zone 0.0% 2023-10-03 10:56:10 to 2026-09-30 14:16:38 When the invoice was raised, at packing, on Kochi's clock.
invoice_date timestamp, local wall clock, no zone 0.0% 2023-10-03 00:00:00 to 2026-09-30 00:00:00 The invoice date.
seller_gstin text 0.0% 32UWICH3497D1ZU, 29UWICH3497D1ZH, 27UWICH3497D1ZL The GSTIN of the PTPL registration that shipped the parcel (Kerala, Karnataka or Maharashtra).
invoice_number text 0.0% KL/23-24/0011609, KL/23-24/0011610, KL/23-24/0011611 The invoice number, the registration's state, the financial year and a sequence restarting each April.
place_of_supply text 0.0% 33, 32, 27 The GST state code of the delivery address.
payment_mode text 0.0% prepaid, cod, store_credit prepaid (paid at checkout), cod (cash on delivery) or store_credit (store credit covered the whole order).
taxable_goods number, 2 places 0.0% 71.43 to 14949.52 The goods' value before GST, in rupees, gift cards excluded.
taxable_shipping number, 2 places 0.0% -0.0 to 56.2 The delivery charge before GST, in rupees.
cgst number, 2 places 0.0% -0.0 to 588.82 Central GST, in rupees; non-zero when the place of supply is the seller's state.
sgst number, 2 places 0.0% -0.0 to 588.82 State GST, in rupees; non-zero when the place of supply is the seller's state.
igst number, 2 places 0.0% -0.0 to 839.49 Integrated GST, in rupees; non-zero when the parcel goes to another state.
invoice_total number, 2 places 0.0% 109.0 to 15697.0 The invoice total, GST included, in rupees.

sales_invoice_line

A line of an Indian storefront tax invoice: the goods of one order line with their HSN code and GST. Gift cards are not on tax invoices. Amounts in rupees.

1,634 rows; key invoice_line_id.

Column Type Empty Range or values Meaning
invoice_line_id integer, key 0.0% 1 to 1634 Row key.
order_line_id integer, → commerce.order_line.order_line_id 0.0% 1 to 61676 The order line invoiced.
sales_invoice_id integer, → ledger.sales_invoice.sales_invoice_id 0.0% 1 to 931 The tax invoice.
sku_id integer, → core.sku.sku_id 0.0% 1 to 884 The SKU sold.
hsn text 0.0% 0904, 0902, 0910 The goods' HSN code under GST.
quantity integer 0.0% 1 to 4 Units sold.
gst_rate number 0.0% 0.05 to 0.18 The GST rate, as a fraction (0.05 is 5%).
gross number, 2 places 0.0% 75.0 to 13798.0 The line amount, GST included, in rupees.
tax number, 2 places 0.0% 3.57 to 853.94 The GST on the line, in rupees.
taxable_value number, 2 places 0.0% 71.43 to 13140.95 The line amount before GST, in rupees.

sku_cost

The standard cost of each SKU for each financial year (April to March), in rupees a unit landed in Kochi. Teas, spices and coffees are costed from their recipe (materials, conversion and packaging). Goods bought finished are costed at a share of their list price without its tax. Cost of goods sold and India's stock are valued at it.

3,220 rows; key sku_cost_id.

Column Type Empty Range or values Meaning
sku_cost_id integer, key 0.0% 1 to 3220 Row key.
sku_id integer, → core.sku.sku_id 0.0% 1 to 900 The SKU.
fiscal_year text 0.0% 2023-24, 2024-25, 2025-26 The financial year, such as 2024-25.
valid_from timestamp, local wall clock, no zone 0.0% 2023-04-01 00:00:00 to 2026-05-27 00:00:00 The first day the standard applies, 1 April, or the day a new SKU was set up ahead of its launch.
valid_to timestamp, local wall clock, no zone 0.0% 2024-03-31 00:00:00 to 2027-03-31 00:00:00 The last day the standard applies, 31 March.
standard_cost_inr number, 2 places 0.0% 9.83 to 5423.89 The standard cost of one unit, in rupees.
materials_inr number, 2 places 30.2% 3.83 to 1314.95 The materials in one unit, at the year's material standards, allowing for processing loss, in rupees; empty for goods bought finished.
conversion_inr number, 2 places 30.2% -0.0 to 95.3 Processing and blending per unit, in rupees; empty for goods bought finished.
packaging_inr number, 2 places 30.2% 3.8 to 192.3 Packaging per unit, including any co-packer's fee, in rupees; empty for goods bought finished.
content number, 4 places 30.2% 0.03 to 1.0 Net content of one unit, in kilograms; empty for goods bought finished.
basis text 0.0% bottom up: tea, tin, bottom up: blend, pouch, IN list 1099 less 12% tax How the cost was set: bottom up with the route and pack, a list price and the tax taken off it, or carried from the previous year for a SKU no longer listed.

sku_tariff

PEBV's customs master: each SKU Rotterdam holds, its EU tariff code, the duty goods from India pay and the import VAT rate. One row per SKU.

629 rows; key sku_tariff_id.

Column Type Empty Range or values Meaning
sku_tariff_id integer, key 0.0% 1 to 629 Row key.
sku_id integer, → core.sku.sku_id 0.0% 1 to 896 The SKU.
cn_code text 0.0% 0902 10 00, 0910 91 90, 6912 00 30 The Combined Nomenclature code the SKU is declared under.
mfn_rate number, 3 places 0.0% -0.0 to 0.176 The EU's standard (most favoured nation) duty rate, as a fraction of customs value.
duty_rate number, 3 places 0.0% -0.0 to 0.123 The duty rate goods from India actually pay, as a fraction of customs value.
preference text 0.0% GSP, MFN, free GSP (India's reduced rate under the Generalised Scheme of Preferences), MFN (the standard rate) or free (no duty).
ea_eur_per_100kg number, 2 places 0.0% -0.0 to 45.0 The agricultural component of duty on chocolate goods, in euros per 100 kg; zero on other goods.
vat_rate number, 2 places 0.0% 0.09 to 0.21 The Dutch import VAT rate, as a fraction.

stock_adjustment

Kochi's stock adjustment SA/24-25/00011 of 1 July 2024. It booked the stock the warehouse system had valued below the stock on hand at the end of 30 June 2024: put-aways recorded on a duplicate item code, or recorded after that day. One row per put-away, at the SKU's standard cost; amounts in rupees.

158 rows; key adjustment_line_id.

Column Type Empty Range or values Meaning
adjustment_line_id integer, key 0.0% 1 to 158 Row key.
movement_id integer 0.0% 74827 to 75140 The put-away stock movement adjusted, in the logistics system.
sku_id integer, → core.sku.sku_id 0.0% 12 to 705 The SKU.
on_duplicate boolean 0.0% False to True True when the put-away was recorded on a duplicate item code; false when it was recorded after 30 June.
units integer 0.0% 1 to 721 Units adjusted.
document text 0.0% SA/24-25/00011 The adjustment's document number.
adjusted_on timestamp, local wall clock, no zone 0.0% 2024-07-01 00:00:00 to 2024-07-01 00:00:00 The date of the adjustment.
currency text 0.0% INR Always INR.
unit_cost number, 2 places 0.0% 12.38 to 694.1 The SKU's standard cost for the 2024-25 financial year, in rupees.
value number, 2 places 0.0% 32.77 to 111527.94 The value adjusted, in rupees.

trade_cutoff

An Indian wholesale invoice still open at a month's end with its goods not yet delivered: its revenue and cost are held in the balance sheet and the entry reversed the next day. One row per invoice and month end; amounts in rupees.

1,397 rows; key trade_cutoff_id.

Column Type Empty Range or values Meaning
trade_cutoff_id integer, key 0.0% 1 to 1397 Row key.
trade_sale_id integer, → ledger.trade_sale.trade_sale_id 0.0% 227 to 8255 The wholesale tax invoice.
order_id integer, → commerce.order.order_id 0.0% 252 to 11241 The wholesale order.
reverse_on timestamp, local wall clock, no zone 0.0% 2023-11-01 00:00:00 to 2026-10-01 00:00:00 The first day of the next month, when the cut-off entry is reversed.
cut_on timestamp, local wall clock, no zone 0.0% 2023-10-31 00:00:00 to 2026-09-30 00:00:00 The month-end date of the cut-off.
taxable number 0.0% 3464.0 to 844282.8 The revenue held over, before GST, in rupees.
cost_of_goods number 0.0% 854.86 to 650472.0 The goods' standard cost held over, in rupees.

trade_sale

PTPL's GST tax invoice for a wholesale order, booked as a sale on credit terms, with its payment and any write-off. One row per invoice; amounts in rupees.

8,255 rows; key trade_sale_id.

Column Type Empty Range or values Meaning
trade_sale_id integer, key 0.0% 1 to 8255 Row key.
invoice_id text, → billing.invoice.invoice_id 0.0% in_1NxQNkKYW674HvRF9gEdRVac, in_1NxmsBKYW674HvRF37SxttbP, in_1Nxpf1KYW674HvRFBqbAYgnt The invoice in the billing system.
order_id integer, → commerce.order.order_id 0.0% 4 to 11241 The wholesale order.
account_id text, → crm.account.Id 0.0% 0015g0000000czYAAQ, 0015g0000000cz7AAA, 0015g0000000cyyAAA The wholesale account, in the CRM.
invoice_at timestamp, local wall clock, no zone 0.0% 2023-10-04 13:54:36 to 2026-09-30 16:50:28 When the invoice was created, on Kochi's clock.
invoice_number text 0.0% KLW/23-24/001782, KLW/23-24/001783, KLW/23-24/001784 The GST invoice number in the wholesale series, the state with W, the financial year and a sequence.
seller_gstin text 0.0% 32UWICH3497D1ZU, 29UWICH3497D1ZH, 27UWICH3497D1ZL The GSTIN of the PTPL registration that issued the invoice.
buyer_gstin text 15.2% 27QZMCT6042Z1Z7, 27CFECY7109N1ZF, 32HKMCL5365B1ZW The buyer's GSTIN; empty for a buyer not registered for GST.
irn text 15.2% 42fd009230ec7a9a21fb952b5980f7fae0a4ae0ce6e52037ef4e8f0ecc36c11d, 3f85046525c31ba403f6e5c3a2c8da6cca29ef9e1c209da7128810e463f558fc, 82ea2b12569bc057a2ec31f4801ba12c68c2ebdd8e4bb02791b58d42ffda66e7 The e-invoice reference number from the GST portal; empty when the buyer is not registered.
place_of_supply text 0.0% 27, 32, 33 The GST state code of the delivery address.
taxable number, 2 places 0.0% 1806.01 to 1213829.6 The invoice before GST, in rupees.
cgst number, 2 places 0.0% -0.0 to 56183.71 Central GST, in rupees; non-zero when the place of supply is the seller's state.
sgst number, 2 places 0.0% -0.0 to 56183.71 State GST, in rupees; non-zero when the place of supply is the seller's state.
igst number, 2 places 0.0% -0.0 to 145659.55 Integrated GST, in rupees; non-zero when the goods go to another state.
total number, 2 places 0.0% 1896.31 to 1359489.15 The invoice total, GST included, in rupees.
due_on timestamp, local wall clock, no zone 0.0% 2023-10-21 00:00:00 to 2026-11-14 00:00:00 The payment due date under the account's terms.
status text 0.0% paid, uncollectible, open The billing invoice's status: paid, open (not yet paid) or uncollectible (written off).
paid_at timestamp, local wall clock, no zone 5.5% 2023-10-05 17:32:21 to 2026-09-30 15:03:37 When the payment was recorded, on Kochi's clock; empty until paid.
paid_on timestamp, local wall clock, no zone 5.5% 2023-10-05 00:00:00 to 2026-09-30 00:00:00 The date of the payment; empty until paid.
tds_withheld number, 2 places 0.0% -0.0 to 255.0 Income tax the buyer deducted at source from its payment (TDS), in rupees.
amount_paid number, 2 places 0.0% -0.0 to 1359489.15 What the buyer paid, in rupees, after any TDS.
written_off boolean 0.0% False to True True when the invoice was written off as uncollectible.
off_on timestamp, local wall clock, no zone 99.6% 2024-05-31 00:00:00 to 2026-09-30 00:00:00 The month-end date the write-off was booked; empty unless written off.

trade_sale_line

A line of PTPL's wholesale tax invoice: the goods with their HSN code and GST. Amounts in rupees.

50,928 rows; key trade_line_id.

Column Type Empty Range or values Meaning
trade_line_id integer, key 0.0% 1 to 50928 Row key.
line_id text, → billing.invoice_line.line_id 0.0% il_1NxQNkKYW674HvRF9OZH8AEU, il_1NxQNkKYW674HvRFBIrsmrDJ, il_1NxmsBKYW674HvRF9ZykF0N0 The invoice line in the billing system.
trade_sale_id integer, → ledger.trade_sale.trade_sale_id 0.0% 1 to 8255 The wholesale tax invoice.
sku_id integer, → core.sku.sku_id 0.0% 1 to 899 The SKU sold.
hsn text 0.0% 0902, 0901, 0910 The goods' HSN code under GST.
quantity integer 0.0% 1 to 2556 Units sold.
gst_rate number 0.0% 0.05 to 0.18 The GST rate, as a fraction.
taxable_value number, 2 places 0.0% 181.72 to 1184830.5 The line amount before GST, in rupees.
tax number, 2 places 0.0% 9.09 to 142179.66 The GST on the line, in rupees.

us_3pl_activity

The New Jersey 3PL operator's billing detail: each parcel it packed for PINC (a storefront order, a wholesale order or a Club box) and what it charged, as billed on that month's invoice (us_3pl_invoice). Postage is not on it. Amounts in US dollars; the rates rose on 1 January 2026.

735 rows; key activity_id.

Column Type Empty Range or values Meaning
activity_id integer, key 0.0% 1 to 735 Row key.
shipment_id integer, → logistics.shipment.shipment_id 0.0% 4751 to 12126 The shipment packed, in the logistics system.
shipment_number text 0.0% SHP-NJ3P-00000001, SHP-NJ3P-00000002, SHP-NJ3P-00000003 The shipment's number.
order_id integer, → commerce.order.order_id 12.2% 4395 to 11247 The order; empty for a Club box.
packed_at timestamp, local wall clock, no zone 0.0% 2025-01-13 14:44:14 to 2026-09-29 15:41:23 When the parcel was packed, on New York's clock.
kind text 0.0% storefront, wholesale, club_box storefront, wholesale or club_box.
invoice_id integer 0.0% 2 to 22 The operator's monthly invoice it was billed on.
units integer 12.2% 1 to 918 Units packed; empty for a Club box.
currency text 0.0% USD Always USD.
order_fee number, 2 places 0.0% -0.0 to 4.12 The pick-and-pack fee per order, higher for a wholesale order; zero for a Club box.
unit_fee number, 2 places 0.0% -0.0 to 385.14 The fee for each unit after the first.
box_fee number, 2 places 0.0% -0.0 to 1.23 The shipping box for a storefront order or a Club box; zero for wholesale.
kit_fee number, 2 places 0.0% -0.0 to 1.55 The fee for making up a Club box; zero for an order.
pallets integer 0.0% 0 to 2 Pallets a wholesale order went out on by freight; zero otherwise.
pallet_fee number, 2 places 0.0% -0.0 to 25.88 The fee for those pallets.
amount number, 2 places 0.0% 2.69 to 402.2 The parcel's charge, the sum of the fees.
club_box_id integer, → logistics.club_box.club_box_id 87.8% 527 to 1083 The Club box; empty for an order.

us_3pl_invoice

The New Jersey 3PL operator's monthly invoice to PINC for its services: containers and cartons received, storage, storefront and wholesale orders picked and packed, Club boxes made up, returns received, and a top-up to the monthly minimum. Postage is billed separately. One row per month from December 2024; amounts in US dollars, the rates rising on 1 January 2026.

22 rows; key invoice_id.

Column Type Empty Range or values Meaning
invoice_id integer, key 0.0% 1 to 22 Row key; us_3pl_activity points at it.
invoice_number text 0.0% INV-042957, INV-043020, INV-043080 The operator's invoice number, in its own series across its clients.
period_start timestamp, local wall clock, no zone 0.0% 2024-12-01 00:00:00 to 2026-09-01 00:00:00 The first day of the month billed.
issued_on timestamp, local wall clock, no zone 0.0% 2024-12-31 00:00:00 to 2026-09-30 00:00:00 The invoice date, the month's last day.
due_on timestamp, local wall clock, no zone 0.0% 2025-01-30 00:00:00 to 2026-10-30 00:00:00 The payment due date.
paid_on timestamp, local wall clock, no zone 9.1% 2025-02-04 00:00:00 to 2026-09-01 00:00:00 The date PINC paid it by ACH; empty when not yet paid.
vendor text 0.0% Edison Gateway Fulfillment LLC The 3PL operator.
currency text 0.0% USD Always USD.
containers integer 0.0% 0 to 1 Full containers received in the month.
lcl_m3 number, 2 places 0.0% -0.0 to 13.66 Cubic metres received in part-container (LCL) shipments.
cartons integer 0.0% 0 to 1 Cartons received and put away.
receiving number, 2 places 0.0% -0.0 to 300.0 The charge for receiving them.
storage_cuft number, 2 places 0.0% 155.4 to 1153.07 Cubic feet stored, the stock on hand at the start of the month plus what came in during it.
storage number, 2 places 0.0% 77.7 to 576.54 The storage charge, per cubic foot.
storefront_orders integer 0.0% 0 to 16 Storefront orders packed.
wholesale_orders integer 0.0% 0 to 41 Wholesale orders packed.
extra_units integer 0.0% 0 to 4395 Units packed beyond the first of each order.
club_boxes integer 0.0% 0 to 8 Club boxes made up.
boxes integer 0.0% 0 to 22 Shipping boxes used, for storefront orders and Club boxes.
pallets integer 0.0% 0 to 15 Pallets built for wholesale orders.
returns integer 0.0% 0 to 1 Customer returns and parcels returned undelivered, received and checked.
order_fees number, 2 places 0.0% -0.0 to 25.28 The pick-and-pack charge for storefront orders.
wholesale_fees number, 2 places 0.0% -0.0 to 168.92 The pick-and-pack charge for wholesale orders.
unit_fees number, 2 places 0.0% -0.0 to 1845.9 The charge for the extra units.
box_fees number, 2 places 0.0% -0.0 to 27.06 The charge for the shipping boxes.
kitting number, 2 places 0.0% -0.0 to 12.4 The charge for making up Club boxes.
palletising number, 2 places 0.0% -0.0 to 187.5 The charge for the pallets.
returns_fee number, 2 places 0.0% -0.0 to 1.67 The charge for the returns.
subtotal number, 2 places 0.0% 156.9 to 2650.03 The charges before any minimum top-up.
minimum_charge number, 2 places 0.0% -0.0 to 360.1 The top-up to the monthly minimum; zero when the charges reach it.
amount number, 2 places 0.0% 517.0 to 2650.03 The invoice total.

us_billing_fee

The Stripe Billing fee on one day's paid US Club invoices, taken from PINC's Stripe balance. One row per day with Club invoices; amounts in US dollars.

47 rows; key billing_fee_id.

Column Type Empty Range or values Meaning
billing_fee_id integer, key 0.0% 1 to 47 Row key.
volume_date timestamp, local wall clock, no zone 0.0% 2025-03-21 00:00:00 to 2026-09-23 00:00:00 The day whose Club invoices the fee is charged on.
taken_on timestamp, local wall clock, no zone 0.0% 2025-03-24 00:00:00 to 2026-09-24 00:00:00 The day the fee was taken from the balance.
currency text 0.0% USD Always USD.
invoice_count integer 0.0% 1 to 2 Club invoices paid that day.
volume number, 2 places 0.0% 14.99 to 449.9 The invoices' total that day, in US dollars.
amount number, 2 places 0.0% 0.1 to 3.15 The fee, in US dollars, a percentage of the day's volume.

us_cbp_refund

US Customs and Border Protection's ACH refund to PINC of the IEEPA duties, with interest, on the entries it liquidated or reliquidated on one day without those duties. One row per refund; amounts in US dollars.

2 rows; key cbp_refund_id.

Column Type Empty Range or values Meaning
cbp_refund_id integer, key 0.0% 1 to 2 Row key.
paid_on timestamp, local wall clock, no zone 0.0% 2026-05-15 00:00:00 to 2026-06-29 00:00:00 The date the refund reached PINC's bank.
liquidated_on timestamp, local wall clock, no zone 0.0% 2026-04-21 00:00:00 to 2026-06-04 00:00:00 The day CBP liquidated or reliquidated the entries.
currency text 0.0% USD Always USD.
entries_in integer 0.0% 1 to 4 Entries the refund covers, as listed in us_ieepa_refund.
entries integer 0.0% 1 to 4 Entries the refund covers.
principal number, 2 places 0.0% 143.2 to 24561.23 The IEEPA duties refunded, in US dollars.
interest number, 2 places 0.0% 7.21 to 774.23 The interest on them, in US dollars.
amount number, 2 places 0.0% 150.41 to 25335.46 The refund paid, principal plus interest, in US dollars.

us_club_credit

A credit note refunding a US Club invoice of PINC's. What no shipped box will release comes out of deferred revenue; any refund beyond that comes out of Club revenue. One row per credit note, with its refund; amounts in US dollars.

0 rows; key us_club_credit_id.

Column Type Empty Range or values Meaning
us_club_credit_id integer, key 0.0% Row key.
credit_note_id text 0.0% The billing platform's id of the credit note.
invoice_id text, → billing.invoice.invoice_id 0.0% The Club invoice credited.
refund_id text, → billing.refund.refund_id 0.0% The refund that paid the credit back.
number text 0.0% The credit note's number.
invoice_number text 0.0% The credited invoice's number.
credited_at timestamp, local wall clock, no zone 0.0% When the credit note was issued, on New York's clock.
method text 0.0% How the invoice was paid: card or paypal.
processor text 0.0% Stripe or PayPal, the processor that refunded it.
ship_to_state text 0.0% The state the boxes ship to.
currency text 0.0% Always USD.
amount number, 2 places 0.0% The credit, sales tax included, in US dollars.
sales_tax number, 2 places 0.0% The sales tax credited, in US dollars.
refunded_net number, 2 places 0.0% The credit before sales tax, in US dollars.
boxes integer 0.0% Boxes of the invoice already shipped when it was credited.
unearned number, 2 places 0.0% The part of the invoice's subtotal that the shipped boxes had not released, still in deferred revenue, in US dollars.
revenue_back number, 2 places 0.0% The part of the refund beyond the unearned amount, taken back out of Club revenue, in US dollars.
kept number, 2 places 0.0% The part of the unearned amount not refunded, released to Club revenue, in US dollars.
refunded_at timestamp, local wall clock, no zone 0.0% When the refund was made, on New York's clock.

us_club_invoice

A paid US Club invoice of PINC's, booked to deferred revenue when paid and released box by box (see us_club_release). One row per invoice; amounts in US dollars.

55 rows; key us_club_invoice_id.

Column Type Empty Range or values Meaning
us_club_invoice_id integer, key 0.0% 1 to 55 Row key.
invoice_id text, → billing.invoice.invoice_id 0.0% in_1R5CuFKYW674HvRFIZlOl4cf, in_1REGv9KYW674HvRFAxO8DKy2, in_1RbDswKYW674HvRFCxh47NWV The invoice in the billing system.
number text 0.0% 5B3C2B0D-0001, 1793228E-0001, EBAD345F-0001 The invoice number.
sold_at timestamp, local wall clock, no zone 0.0% 2025-03-21 17:15:13 to 2026-09-23 11:48:05 When the invoice was paid, on New York's clock.
method text 0.0% card, paypal How it was paid: card or paypal.
processor text 0.0% Stripe, PayPal Stripe or PayPal.
tier text 0.0% RESERVE, LEAF, SPICE The Club tier: SPICE, LEAF or RESERVE.
interval text 0.0% month, year The billing interval: month or year.
ship_to_state text 0.0% CA, WA, IL The state the boxes ship to, which decides the sales tax.
currency text 0.0% USD Always USD.
subtotal number, 2 places 0.0% 14.99 to 449.9 The invoice before sales tax, in US dollars; this is what the boxes release to revenue.
sales_tax number, 2 places 0.0% -0.0 to 0.9 The sales tax charged, in US dollars; zero where the state does not tax the box.
total number, 2 places 0.0% 14.99 to 449.9 The invoice total, in US dollars.
fee number, 2 places 0.0% 0.73 to 13.35 The processor's fee on the payment, in US dollars, a percentage plus a fixed amount.
months integer 0.0% 1 to 12 The months the invoice pays for (1 for a monthly plan, 12 for an annual one).

us_club_release

A US Club box shipped from the New Jersey 3PL and the share of its paid invoice that it moves from deferred revenue to Club revenue at the month's close. One row per box; amounts in US dollars.

90 rows; key us_club_release_id.

Column Type Empty Range or values Meaning
us_club_release_id integer, key 0.0% 1 to 90 Row key.
shipment_id integer 0.0% 5673 to 11855 The box's shipment in the logistics system.
club_box_id integer, → logistics.club_box.club_box_id 0.0% 527 to 1083 The Club box.
shipment_number text 0.0% SHP-NJ3P-00000042, SHP-NJ3P-00000056, SHP-NJ3P-00000055 The shipment's number.
invoice_id text 0.0% in_1R5CuFKYW674HvRFIZlOl4cf, in_1REGv9KYW674HvRFAxO8DKy2, in_1RbDswKYW674HvRFCxh47NWV The Club invoice that paid for the box, in the billing system.
tier text 0.0% RESERVE, LEAF, SPICE The Club tier of the box.
box_month timestamp, local wall clock, no zone 0.0% 2025-04-01 00:00:00 to 2026-09-01 00:00:00 The month the box belongs to (its first day).
shipped_at timestamp, local wall clock, no zone 0.0% 2025-04-07 17:44:46 to 2026-09-08 18:53:14 When the box shipped, on New York's clock.
currency text 0.0% USD Always USD.
amount number, 2 places 0.0% 12.49 to 44.99 The revenue the box releases, in US dollars, the invoice's subtotal divided by the months it covers, with rounding left to the last box.
release_on timestamp, local wall clock, no zone 0.0% 2025-04-30 00:00:00 to 2026-09-30 00:00:00 The month-end date on which the release is booked.

us_credit

What PINC gives back on a US storefront order: the whole order when it was cancelled after payment or came back undelivered, or the goods of a return refunded or credited. One row per credit; amounts in US dollars.

8 rows; key us_credit_id.

Column Type Empty Range or values Meaning
us_credit_id integer, key 0.0% 1 to 8 Row key.
us_sale_id integer, → ledger.us_sale.us_sale_id 0.0% 8 to 181 The sale credited.
order_id integer, → commerce.order.order_id 0.0% 4490 to 10736 The storefront order.
order_number text 0.0% ORD-US-1004907, ORD-US-1004921, ORD-US-1004923 The order's number.
return_id integer 37.5% 23 to 48 The customer return, in the commerce system's returns; set only when kind is return.
kind text 0.0% cancelled, return cancelled (cancelled after payment), returned_to_origin (back undelivered) or return (a customer return).
credited_at timestamp, local wall clock, no zone 0.0% 2025-01-22 03:56:40 to 2026-09-10 05:27:53 When the credit was made, on New York's clock.
settle_to text 0.0% refund, store_credit refund (money back) or store_credit. Of an order paid partly by store credit, that part goes back to store credit and settle_to names where the rest goes.
currency text 0.0% USD Always USD.
goods_net number 0.0% -0.0 to 134.95 The goods' revenue reversed, before sales tax, in US dollars; zero for a return, which is booked in returns.
shipping number 0.0% -0.0 to 6.95 The delivery charge reversed, in US dollars; zero for a return.
sales_tax number 0.0% -0.0 to 7.57 The sales tax given back, in US dollars.
card_total number 0.0% -0.0 to 0.0 Gift cards on the order reversed, in US dollars; zero for a return.
returns number, 2 places 0.0% -0.0 to 139.95 For a return, the goods credited before sales tax, booked to returns and allowances, in US dollars; zero otherwise.
amount number, 2 places 0.0% 5.49 to 139.95 The total given back, in US dollars.
rma_number text 37.5% RMA-US-100865, RMA-US-100866, RMA-US-100869 The return's authorisation number; set only for a return.

us_cutoff

A US storefront sale whose parcel was not delivered by a month's end: its revenue is held in deferred revenue and the entry reversed the next day. One row per sale and month end; amounts in US dollars.

27 rows; key us_cutoff_id.

Column Type Empty Range or values Meaning
us_cutoff_id integer, key 0.0% 1 to 27 Row key.
us_sale_id integer, → ledger.us_sale.us_sale_id 0.0% 9 to 204 The sale.
order_id integer, → commerce.order.order_id 0.0% 4582 to 11247 The storefront order.
reverse_on timestamp, local wall clock, no zone 0.0% 2025-02-01 00:00:00 to 2026-10-01 00:00:00 The first day of the next month, when the cut-off entry is reversed.
cut_on timestamp, local wall clock, no zone 0.0% 2025-01-31 00:00:00 to 2026-09-30 00:00:00 The month-end date of the cut-off.
goods_net number 0.0% 3.49 to 139.94 The goods' revenue held over, before sales tax, in US dollars.
shipping number 0.0% -0.0 to 6.95 The delivery charge held over, in US dollars.
currency text 0.0% USD Always USD.

us_dispute

A card chargeback or PayPal claim on one of PINC's payments: the amount and fees taken from the Stripe or PayPal balance, the fee for countering it, and what a win gave back. One row per dispute; amounts in US dollars.

0 rows; key us_dispute_id.

Column Type Empty Range or values Meaning
us_dispute_id integer, key 0.0% Row key.
dispute_id text, → billing.dispute.dispute_id 0.0% The dispute in the billing system.
payment_intent_id text, → billing.payment.payment_intent_id 0.0% The disputed payment.
invoice_id text, → billing.invoice.invoice_id 0.0% The Club invoice the payment paid; empty for a storefront payment.
order_id text, → commerce.order.order_id 0.0% The storefront order; empty for a Club payment.
method text 0.0% The payment method disputed.
reason text 0.0% The reason the payer's bank or PayPal gave.
status text 0.0% The dispute's outcome: won or lost.
currency text 0.0% Always USD.
amount number, 2 places 0.0% The amount disputed and taken from the balance, in US dollars.
opened_at timestamp, local wall clock, no zone 0.0% When the dispute was opened, on New York's clock.
countered_at timestamp, local wall clock, no zone 0.0% When PINC submitted evidence to counter it, on New York's clock; empty when it was not countered.
closed_at timestamp, local wall clock, no zone 0.0% When the dispute closed, on New York's clock.
processor text 0.0% Stripe or PayPal.
fee number, 2 places 0.0% The dispute fee taken, in US dollars.
counter_fee number, 2 places 0.0% The fee for countering the dispute, in US dollars; zero when it was not countered.
amount_returned number, 2 places 0.0% The disputed amount given back when PINC won, in US dollars; zero otherwise.
fees_returned number, 2 places 0.0% Fees given back when PINC won, in US dollars; zero otherwise.

us_duty_statement

CBP's periodic monthly statement for PINC: the duties and fees of the customs broker's entries released in a month, debited by ACH on the statement's payment day in the following month. One row per statement; amounts in US dollars.

18 rows; key statement_id.

Column Type Empty Range or values Meaning
statement_id integer, key 0.0% 1 to 18 Row key.
statement_month timestamp, local wall clock, no zone 0.0% 2024-12-01 00:00:00 to 2026-09-01 00:00:00 The month whose released entries the statement covers (its first day).
preliminary_on timestamp, local wall clock, no zone 0.0% 2025-01-17 00:00:00 to 2026-10-16 00:00:00 The date CBP issued the preliminary statement.
debit_on timestamp, local wall clock, no zone 0.0% 2025-01-24 00:00:00 to 2026-10-22 00:00:00 The date the statement was debited by ACH.
paid boolean 0.0% False to True True when the debit was made by the end of September 2026.
currency text 0.0% USD Always USD.
entries_in integer 0.0% 1 to 2 Entries on the statement, as listed in us_entry.
entries integer 0.0% 1 to 2 Entries on the statement.
amount number, 2 places 0.0% 39.72 to 20021.06 The duties and fees debited, in US dollars.

us_entry

The US customs entry for a container to New Jersey (filed by the customs broker) or a courier box (filed by the courier): its type, dates, value, duties and fees. One row per entry; amounts in US dollars.

23 rows; key us_entry_id.

Column Type Empty Range or values Meaning
us_entry_id integer, key 0.0% 1 to 23 Row key.
transfer_id integer, → logistics.stock_transfer.transfer_id 0.0% 9 to 155 The stock transfer entered, in the logistics system.
entry_number text 0.0% K7R-0335714-6, K7R-0336770-7, K7R-0337444-8 The CBP entry number.
filer text 0.0% broker, courier Who filed it: broker (a container) or courier (a box).
filed_at timestamp, local wall clock, no zone 0.0% 2024-11-27 14:28:40 to 2026-09-04 13:25:33 When the entry was filed, on New York's clock.
entered_on timestamp, local wall clock, no zone 0.0% 2024-12-05 00:00:00 to 2026-09-08 00:00:00 The entry date, the day the goods arrived; the duty rates are that day's.
loaded_on timestamp, local wall clock, no zone 0.0% 2024-10-28 00:00:00 to 2026-07-28 00:00:00 The day the goods were loaded for export at Kochi, which decides some duty rates.
released_at timestamp, local wall clock, no zone 0.0% 2024-12-09 10:31:10 to 2026-09-09 10:27:14 When CBP released the goods, on New York's clock.
fda_hold boolean 0.0% False to True True when the FDA held the goods for sampling before release.
statement_id integer, → ledger.us_duty_statement.statement_id 17.4% 1 to 18 The monthly statement that paid the entry's duties; empty for a courier's entry, whose duties are on the courier's bill.
currency text 0.0% USD Always USD.
lines integer 0.0% 1 to 44 Lines on the entry.
entered_value number, 2 places 0.0% 19.5 to 41524.98 The goods' entered value, in US dollars.
entry_type text 0.0% 01, 86, 11 The entry type: 01 (formal consumption entry), 11 (informal entry) or 86 (low-value entry, used until 29 August 2025).
mfn_duty number, 2 places 0.0% -0.0 to 124.23 Duty at the general (most favoured nation) rates, in US dollars.
ieepa_duty number, 2 places 0.0% -0.0 to 19817.86 Additional duty under the IEEPA tariffs on Indian goods, in US dollars.
ch99_duty number, 2 places 0.0% -0.0 to 25.03 Other Chapter 99 additional duties, in US dollars.
duty number, 2 places 0.0% -0.0 to 19834.22 All duties, in US dollars.
mpf number, 2 places 0.0% -0.0 to 143.84 The merchandise processing fee, in US dollars.
hmf number, 2 places 0.0% -0.0 to 51.91 The harbor maintenance fee, in US dollars; zero on air shipments.
total number, 2 places 0.0% -0.0 to 20021.06 Duties and fees, in US dollars.
liquidated_on timestamp, local wall clock, no zone 39.1% 2025-10-17 00:00:00 to 2026-09-25 00:00:00 The date CBP liquidated the entry; empty while unliquidated and for a low-value entry.
reliquidated_on timestamp, local wall clock, no zone 95.7% 2026-04-21 00:00:00 to 2026-04-21 00:00:00 The date CBP reliquidated it without the IEEPA duty; empty unless reliquidated.

us_entry_line

A line of a US customs entry: one SKU's customs value, its share of its tariff line's duties and of the entry's fees, and its landed cost. Amounts in US dollars.

2,084 rows; key us_entry_line_id.

Column Type Empty Range or values Meaning
us_entry_line_id integer, key 0.0% 1 to 2084 Row key.
ic_line_id integer, → ledger.ic_invoice_line.ic_line_id 0.0% 1005 to 4876 The export invoice line the goods were invoiced on.
us_entry_id integer, → ledger.us_entry.us_entry_id 0.0% 1 to 23 The entry.
sku_id integer, → core.sku.sku_id 0.0% 1 to 900 The SKU.
quantity integer 0.0% 1 to 581 Units entered.
net_kg number 0.0% 0.05 to 760.92 Net weight, in kilograms.
hts_code text 0.0% 0902.10.90, 4419.90.91, 6912.00.10 The goods' HTS subheading.
general_rate number 0.0% -0.0 to 0.225 The general duty rate, as a fraction of value.
per_kg_usd number 0.0% -0.0 to 0.05 A specific duty in US dollars a kilogram, where the subheading has one.
duty_class text 0.0% food, goods, copper The class the additional duties apply by: food, goods, steel or copper.
customs_value number, 2 places 0.0% 0.16 to 16374.7 The goods' customs value, the export invoice's line amount, in US dollars.
ieepa_rate number, 4 places 0.0% -0.0 to 0.5 The IEEPA additional duty rate on the line, as a fraction.
ch99_rate number, 4 places 0.0% -0.0 to 0.25 The other Chapter 99 additional duty rate, as a fraction.
mfn_duty number, 2 places 0.0% -0.0 to 23.51 The line's share of its tariff line's general duty, in US dollars.
ieepa_duty number, 2 places 0.0% -0.0 to 8187.35 The line's IEEPA duty, in US dollars.
ch99_duty number, 2 places 0.0% -0.0 to 25.03 The line's other Chapter 99 duty, in US dollars.
mpf number, 2 places 0.0% -0.04 to 56.72 The line's share of the merchandise processing fee, in US dollars.
hmf number, 2 places 0.0% -0.03 to 20.47 The line's share of the harbor maintenance fee, in US dollars.
landed_cost number, 2 places 0.0% 0.25 to 26088.94 The line's cost at the New Jersey 3PL, in US dollars, its value, duties, fees and share of freight and other import costs.

us_goods_issue

Goods out of PINC's stock at the New Jersey 3PL in Edison, for a storefront or wholesale order or a Club box, valued first in, first out. One row per stock movement; costs in US dollars.

2,967 rows; key gi_id.

Column Type Empty Range or values Meaning
gi_id integer, key 0.0% 1 to 2967 Row key.
movement_id integer, → logistics.stock_movement.movement_id 0.0% 22423 to 55004 The stock movement (the pick) in the logistics system.
sku_id integer, → core.sku.sku_id 0.0% 1 to 896 The SKU issued.
us_stock_id integer, → ledger.us_stock.us_stock_id 0.0% 1 to 579 The stock record the goods came out of.
order_line_id integer, → commerce.order_line.order_line_id 8.6% 24458 to 61672 The order line picked; empty for a Club box.
order_id integer, → commerce.order.order_id 8.6% 4395 to 11247 The order; empty for a Club box.
issued_at timestamp, local wall clock, no zone 0.0% 2025-01-13 14:26:00 to 2026-09-29 15:36:02 When the goods were picked, on New York's clock.
document text 0.0% GI-US-2025-0000001, GI-US-2025-0000002, GI-US-2025-0000003 The goods issue document number, numbered per calendar year.
quantity number 0.0% 1.0 to 450.0 Units issued.
currency text 0.0% USD Always USD.
cost number 0.0% 0.19 to 7409.34 The cost of the units issued, in US dollars, at the landed cost of the oldest units on hand.
layer integer 0.0% 4 to 1924 The goods receipt (gr_id in us_goods_receipt) whose units the issue took first.
club_box_line_id integer, → logistics.club_box_line.club_box_line_id 91.4% 2599 to 3208 The Club box line; empty for an order.
club_box_id integer, → logistics.club_box.club_box_id 91.4% 527 to 1083 The Club box; empty for an order.

us_goods_receipt

Goods into PINC's stock at the New Jersey 3PL. A container or courier box line at its landed cost, or an unopened return or a parcel returned undelivered back on the shelf at the SKU's latest landed cost. Each receipt is a layer of the first in, first out stock. Values in US dollars.

2,087 rows; key gr_id.

Column Type Empty Range or values Meaning
gr_id integer, key 0.0% 1 to 2087 Row key; the layer that goods issues refer to.
movement_id integer, → logistics.stock_movement.movement_id 0.0% 112 to 51803 The stock movement in the logistics system.
sku_id integer, → core.sku.sku_id 0.0% 1 to 900 The SKU received.
us_stock_id integer, → ledger.us_stock.us_stock_id 0.0% 1 to 583 The stock record received into.
kind text 0.0% container, customer_return What came in: container (a shipment from Kochi, by sea or courier), customer_return (an unopened return) or returned_parcel (a parcel returned undelivered).
received_at timestamp, local wall clock, no zone 0.0% 2024-12-13 12:38:30 to 2026-09-11 15:01:45 When the goods were put away, on New York's clock.
quantity number 0.0% 1.0 to 581.0 Units received.
currency text 0.0% USD Always USD.
unit_cost number, 4 places 0.0% 0.1803 to 106.3331 The landed cost per unit, in US dollars, to four places.
value number, 2 places 0.0% 0.25 to 26088.94 The receipt's value, in US dollars. For a shipment from Kochi, its customs entry's landed cost of the line.
unit_value number, 10 places 0.0% 0.1802723735 to 106.3331111111 The value per unit at full precision, in US dollars, which first in, first out costing uses.
document text 0.0% GR-US-2024-000001, GR-US-2024-000002, GR-US-2024-000003 The goods receipt document number, numbered per calendar year.

us_ieepa_layer

The IEEPA duty refunded on a line of a US customs entry, taken off the goods receipt the goods came in on, on the day CBP liquidated the entry without it. The part on units still on the shelf reduces inventory; the part on units already sold reduces cost of goods sold. One row per entry line; amounts in US dollars.

395 rows; key layer_id.

Column Type Empty Range or values Meaning
layer_id integer, key 0.0% 1 to 395 Row key.
us_entry_line_id integer, → ledger.us_entry_line.us_entry_line_id 0.0% 650 to 1049 The entry line refunded.
us_entry_id integer, → ledger.us_entry.us_entry_id 0.0% 7 to 11 The entry.
entry_number text 0.0% K7R-0339868-6, K7R-0341190-1, K7R-0341637-1 The CBP entry number.
gr_id integer, → ledger.us_goods_receipt.gr_id 0.0% 655 to 1050 The goods receipt the duty is taken off.
sku_id integer, → core.sku.sku_id 0.0% 1 to 842 The SKU.
us_stock_id integer, → ledger.us_stock.us_stock_id 0.0% 1 to 549 The stock record.
liquidated_on timestamp, local wall clock, no zone 0.0% 2026-04-21 00:00:00 to 2026-06-04 00:00:00 The day CBP liquidated or reliquidated the entry without the duty.
currency text 0.0% USD Always USD.
refund number, 2 places 0.0% 0.02 to 8187.35 The IEEPA duty refunded on the line, in US dollars.
on_shelf number 0.0% -686.62 to 0.0 The part taken off the value of units still on hand, as a negative amount in US dollars.
sold number 0.0% -8187.35 to 0.0 The part taken off cost of goods sold for units already issued, as a negative amount in US dollars.

us_ieepa_refund

PINC's copy of CBP's refunds report for its IEEPA duties: each customs broker's entry liquidated or reliquidated without the IEEPA duty, the duty refunded and interest from the day it was deposited. One row per entry; amounts in US dollars.

5 rows; key refund_id.

Column Type Empty Range or values Meaning
refund_id integer, key 0.0% 1 to 5 Row key.
us_entry_id integer, → ledger.us_entry.us_entry_id 0.0% 7 to 11 The entry refunded.
entry_number text 0.0% K7R-0339868-6, K7R-0341190-1, K7R-0341637-1 The CBP entry number.
action text 0.0% reliquidation, liquidation liquidation (first liquidated without the duty) or reliquidation (an entry already liquidated, liquidated again).
liquidated_on timestamp, local wall clock, no zone 0.0% 2026-04-21 00:00:00 to 2026-06-04 00:00:00 The day CBP liquidated or reliquidated it.
deposited_on timestamp, local wall clock, no zone 0.0% 2025-06-23 00:00:00 to 2025-11-24 00:00:00 The day the duty was originally paid to CBP, from which interest runs.
cbp_refund_id number, → ledger.us_cbp_refund.cbp_refund_id 0.0% 1.0 to 2.0 The ACH refund that paid it.
currency text 0.0% USD Always USD.
refund number, 2 places 0.0% 142.83 to 19817.86 The IEEPA duty refunded, in US dollars.
interest number, 2 places 0.0% 7.21 to 599.58 The interest on it, in US dollars.

us_payout

Stripe's payout of PINC's available balance to its account at Hudson Mercantile Bank, with the movements the payout nets. One row per payout; amounts in US dollars.

156 rows; key payout_id.

Column Type Empty Range or values Meaning
payout_id text, key 0.0% po_3QhFcRuROtkNbukk6ukFu1CJ, po_3Qhy72uROtkNbukk2V3lu5XH, po_3QjmlCuROtkNbukkCtQpzNf7 The payout's id.
arrival_date timestamp, local wall clock, no zone 0.0% 2025-01-15 00:00:00 to 2026-09-28 00:00:00 The day the payout reached the bank.
created timestamp, local wall clock, no zone 0.0% 2025-01-15 00:47:43 to 2026-09-28 00:23:56 When Stripe created the payout, on New York's clock.
currency text 0.0% USD Always USD.
payment_count integer 0.0% 1 to 3 Payments the payout includes.
gross number, 2 places 0.0% 12.44 to 467.84 The payments' gross, in US dollars.
fees number, 2 places 0.0% 0.66 to 14.17 Stripe's processing fees on those payments, in US dollars.
refunds number, 2 places 0.0% -0.0 to 139.95 Refunds netted from the payout, in US dollars.
billing_fees number, 2 places 0.0% -0.0 to 3.15 Stripe Billing fees netted from the payout, in US dollars.
disputes number, 2 places 0.0% -0.0 to 0.0 Disputed amounts taken from the balance, in US dollars.
dispute_fees number, 2 places 0.0% -0.0 to 0.0 Dispute and counter fees taken, in US dollars.
dispute_reversals number, 2 places 0.0% -0.0 to 0.0 Disputed amounts given back after a win, in US dollars.
dispute_fees_returned number, 2 places 0.0% -0.0 to 0.0 Dispute fees given back after a win, in US dollars.
amount number, 2 places 0.0% 11.78 to 450.52 The amount paid out, in US dollars, gross less fees, refunds, billing fees and net dispute costs.

us_paypal_transfer

PayPal's automatic transfer of PINC's PayPal balance above the minimum it keeps for refunds to Hudson Mercantile Bank, made each Federal Reserve business day morning and arriving the next business day. One row per transfer; amounts in US dollars.

32 rows; key transfer_id.

Column Type Empty Range or values Meaning
transfer_id integer, key 0.0% 1 to 32 Row key.
initiated_on timestamp, local wall clock, no zone 0.0% 2025-08-14 00:00:00 to 2026-09-08 00:00:00 The day PayPal started the transfer.
initiated_at timestamp, local wall clock, no zone 0.0% 2025-08-14 05:02:02 to 2026-09-08 05:39:12 When PayPal started the transfer, on New York's clock.
arrival_date timestamp, local wall clock, no zone 0.0% 2025-08-15 00:00:00 to 2026-09-09 00:00:00 The day the transfer reached the bank.
currency text 0.0% USD Always USD.
reference text 0.0% G2AGJTJ56WL78VXH2, T937T59XFY8S22USH, 1MSA35HBEUTWAAUU1 PayPal's reference for the transfer.
amount number, 2 places 0.0% 11.52 to 322.16 The amount transferred, in US dollars.

us_refund

A refund to a US storefront customer of PINC's, through Stripe or PayPal. One row per refund; amounts in US dollars.

6 rows; key us_refund_id.

Column Type Empty Range or values Meaning
us_refund_id integer, key 0.0% 1 to 6 Row key.
refund_id text, → billing.refund.refund_id 0.0% re_3Qk04QKYW674HvRF39BZqdsG, re_3Qw8dIKYW674HvRF2bryxy5N, re_3TDLlxKYW674HvRFI2RSIUx3 The refund in the billing system.
order_id integer, → commerce.order.order_id 0.0% 4490 to 10736 The storefront order refunded.
order_number text 0.0% ORD-US-1004907, ORD-US-1004921, ORD-US-1005257 The order's number.
refunded_at timestamp, local wall clock, no zone 0.0% 2025-01-22 04:17:58 to 2026-09-10 05:27:58 When the refund was made, on New York's clock.
processor text 0.0% Stripe Stripe or PayPal.
currency text 0.0% USD Always USD.
amount number, 2 places 0.0% 5.49 to 139.95 The amount refunded, in US dollars.

us_sale

A US storefront order of PINC's, booked as the sale when paid: its goods, delivery charge, sales tax, gift cards and the processor's fee. One row per paid order; amounts in US dollars.

204 rows; key us_sale_id.

Column Type Empty Range or values Meaning
us_sale_id integer, key 0.0% 1 to 204 Row key.
order_id integer, → commerce.order.order_id 0.0% 4395 to 11247 The storefront order.
payment_intent_id text, → billing.payment.payment_intent_id 1.0% pi_3QgaB2KYW674HvRF5PjWlZwR, pi_3QgxQpKYW674HvRF00VnHSzU, pi_3QhCKBKYW674HvRF05cmsjkY The payment in the billing system.
order_number text 0.0% ORD-US-1004900, ORD-US-1004901, ORD-US-1004902 The order's number.
sold_at timestamp, local wall clock, no zone 0.0% 2025-01-12 18:03:12 to 2026-09-29 11:59:41 When the payment succeeded, on New York's clock.
method text 0.0% paypal, card, store_credit How the customer paid: card or paypal.
processor text 1.0% PayPal, Stripe Stripe or PayPal.
ship_to_state text 0.0% NY, NJ, PA The state the order ships to, which decides the sales tax.
currency text 0.0% USD Always USD.
goods_net number, 2 places 0.0% -0.0 to 226.44 The goods' revenue before sales tax, in US dollars, gift cards excluded.
shipping number, 2 places 0.0% -0.0 to 6.95 The delivery charge, in US dollars.
sales_tax number, 2 places 0.0% -0.0 to 8.67 The sales tax charged, in US dollars.
card_total number, 2 places 0.0% -0.0 to 50.0 Gift cards sold on the order, in US dollars; they are a liability, not revenue.
total number, 2 places 0.0% -0.0 to 226.44 The amount paid, in US dollars.
fee number, 2 places 0.0% -0.0 to 6.87 The processor's fee on the payment, in US dollars, a percentage plus a fixed amount.

us_sales_tax_return

PINC's sales tax return to a state for a filing period: its sales into the state, what was taxable, the tax charged and given back, the state's discount for filing on time, and what was paid. One row per return; amounts in US dollars.

29 rows; key return_id.

Column Type Empty Range or values Meaning
return_id integer, key 0.0% 1 to 29 Row key.
state text 0.0% PA, NJ, IL The state filed with.
form text 0.0% PA-3, ST-50, ST-1 The state's return form.
frequency text 0.0% quarterly, monthly How often PINC files with the state: monthly or quarterly.
filed_at timestamp, local wall clock, no zone 0.0% 2025-04-11 09:10:18 to 2026-09-14 12:36:21 When the return was filed, on New York's clock.
period_start timestamp, local wall clock, no zone 0.0% 2025-01-06 00:00:00 to 2026-08-01 00:00:00 The first day of the period covered; for the first return, the day PINC's obligation to collect tax in the state began.
period_end timestamp, local wall clock, no zone 0.0% 2025-03-31 00:00:00 to 2026-08-31 00:00:00 The last day of the period covered.
due_on timestamp, local wall clock, no zone 0.0% 2025-04-21 00:00:00 to 2026-09-21 00:00:00 The filing and payment due date.
debit_on timestamp, local wall clock, no zone 0.0% 2025-04-21 00:00:00 to 2026-09-21 00:00:00 The date the state debited the payment by ACH.
currency text 0.0% USD Always USD.
gross_sales number, 2 places 0.0% -0.0 to 16454.92 Sales into the state in the period, in US dollars.
taxable_sales number, 2 places 0.0% -0.0 to 283.2 The part of those sales subject to sales tax, in US dollars.
exempt_sales number, 2 places 0.0% -0.0 to 16454.92 The part not subject to the state's sales tax, in US dollars.
tax_collected number, 2 places 0.0% -0.0 to 10.44 Sales tax charged in the period, in US dollars.
tax_refunded number, 2 places 0.0% -0.0 to 7.57 Sales tax given back on credits in the period, in US dollars.
credit_brought_forward number, 2 places 0.0% -0.0 to 0.0 Credits beyond the previous return's tax carried into this one, in US dollars.
tax_due number, 2 places 0.0% -0.0 to 8.67 The tax due for the period, in US dollars.
discount number, 2 places 0.0% -0.0 to 0.08 The state's discount for filing and paying on time, in US dollars; zero where the state gives none.
amount_paid number, 2 places 0.0% -0.0 to 8.67 The tax paid, tax due less the discount, in US dollars.

us_sku_tariff

PINC's customs master: each SKU the New Jersey 3PL holds, its HTS subheading, the general duty rate and the class the Chapter 99 additional duties apply by. One row per SKU.

583 rows; key us_sku_tariff_id.

Column Type Empty Range or values Meaning
us_sku_tariff_id integer, key 0.0% 1 to 583 Row key.
sku_id integer, → core.sku.sku_id 0.0% 1 to 900 The SKU.
hts_code text 0.0% 0902.10.90, 0910.91.00, 4419.90.91 The HTS subheading the SKU is entered under.
general_rate number, 3 places 0.0% -0.0 to 0.225 The general (most favoured nation) ad valorem duty rate, as a fraction of value.
per_kg_usd number, 3 places 0.0% -0.0 to 0.05 A specific duty in US dollars a kilogram, where the subheading has one; zero otherwise.
duty_class text 0.0% food, goods, copper The class the Chapter 99 additional duties apply by: food, goods, steel or copper.

us_stock

PINC's stock of a SKU at the New Jersey 3PL, valued first in, first out. One row per stock item, a snapshot at the end of September 2026.

583 rows; key us_stock_id.

Column Type Empty Range or values Meaning
us_stock_id integer, key 0.0% 1 to 583 Row key.
item_id integer, → logistics.stock_item.item_id 0.0% 630 to 1212 The warehouse's stock item in the logistics system.
sku_id integer, → core.sku.sku_id 0.0% 1 to 900 The SKU.
currency text 0.0% USD Always USD.
on_hand number 0.0% -0.0 to 364.0 Units on hand at the end of September 2026.
value number 0.0% -0.0 to 4974.72 Their value at landed cost, in US dollars.

us_trade_cutoff

A US wholesale invoice still open at a month's end with its goods not yet delivered: its revenue is held in deferred revenue and the entry reversed the next day. One row per invoice and month end; amounts in US dollars.

48 rows; key us_trade_cutoff_id.

Column Type Empty Range or values Meaning
us_trade_cutoff_id integer, key 0.0% 1 to 48 Row key.
us_trade_id integer, → ledger.us_trade_invoice.us_trade_id 0.0% 1 to 445 The wholesale invoice.
order_id integer, → commerce.order.order_id 0.0% 4597 to 11232 The wholesale order.
reverse_on timestamp, local wall clock, no zone 0.0% 2025-02-01 00:00:00 to 2026-10-01 00:00:00 The first day of the next month, when the cut-off entry is reversed.
cut_on timestamp, local wall clock, no zone 0.0% 2025-01-31 00:00:00 to 2026-09-30 00:00:00 The month-end date of the cut-off.
net number 0.0% 193.04 to 10016.6 The invoice's revenue held over, before sales tax, in US dollars.
currency text 0.0% USD Always USD.

us_trade_invoice

A US wholesale order's invoice, booked by PINC as a sale on credit terms, with its payment and any write-off. One row per invoice; amounts in US dollars.

445 rows; key us_trade_id.

Column Type Empty Range or values Meaning
us_trade_id integer, key 0.0% 1 to 445 Row key.
invoice_id text, → billing.invoice.invoice_id 0.0% in_1QnRqgKYW674HvRF7u6LcGdA, in_1QpzTvKYW674HvRF7X2tKPTV, in_1R1ZDiKYW674HvRFEEpsk2Fs The invoice in the billing system.
order_id integer, → commerce.order.order_id 0.0% 4597 to 11232 The wholesale order.
number text 0.0% CD0FF476-0001, C1AC2967-0001, 4E114F5C-0001 The invoice number.
invoice_at timestamp, local wall clock, no zone 0.0% 2025-01-31 16:34:02 to 2026-09-29 16:32:49 When the invoice was created, on New York's clock.
account_id text, → crm.account.Id 0.0% 0015g0000000d2cAAA, 0015g0000000d2hAAA, 0015g0000000d2nAAA The wholesale account, in the CRM.
ship_to_state text 0.0% CA, NJ, NC The state the goods ship to.
currency text 0.0% USD Always USD.
total number, 2 places 0.0% 62.24 to 23313.9 The invoice total, in US dollars.
sales_tax number, 2 places 0.0% -0.0 to 0.0 The sales tax charged, in US dollars; zero on a sale for resale.
net number, 2 places 0.0% 62.24 to 23313.9 The invoice before sales tax, in US dollars.
due_on timestamp, local wall clock, no zone 0.0% 2025-03-02 00:00:00 to 2026-10-29 00:00:00 The payment due date under the account's terms.
status text 0.0% paid, uncollectible, open The billing invoice's status: paid, open (not yet paid) or uncollectible.
paid_at timestamp, local wall clock, no zone 7.4% 2025-02-27 12:27:38 to 2026-09-30 14:45:32 When the payment was recorded, on New York's clock; empty until paid.
paid_on timestamp, local wall clock, no zone 7.4% 2025-02-27 00:00:00 to 2026-09-30 00:00:00 The date of the payment; empty until paid.
amount_paid number, 2 places 0.0% -0.0 to 23313.9 What the buyer has paid, in US dollars.
written_off boolean 0.0% False to True True when the invoice was written off as uncollectible.
off_on timestamp, local wall clock, no zone 99.6% 2026-01-31 00:00:00 to 2026-05-31 00:00:00 The month-end date the write-off was booked; empty unless written off.

vendor

The vendor master for PEBV's and PINC's payables, each vendor as the finance desk set it up: its tax number, bank account and payment terms. One row per vendor record.

11 rows; key vendor_id.

Column Type Empty Range or values Meaning
vendor_id integer, key 0.0% 1 to 11 Row key.
vendor_code text 0.0% V100001, V100002, V100003 The vendor's code in the ERP.
entity text 0.0% PEBV, PINC The company the vendor bills: PEBV or PINC.
kind text 0.0% insurer, forwarder, haulier What the vendor does: forwarder, insurer, broker (customs broker), haulier, drayage or courier.
legal_name text 0.0% Noordzee Transportverzekeringen N.V., Waalhaven Cargo Lines B.V., Ridderkerk Container Transport B.V. The vendor's legal name.
country text 0.0% NL, US The vendor's country.
tax_number text 0.0% NL988065472B91, NL562671515B33, NL577912732B78 The vendor's VAT number (Dutch vendors) or employer identification number (US vendors).
bank_account text 0.0% NL43NTVB6136456488, NL08WCLB8023914613, NL24RCTB1585299742 The bank account the vendor is paid to, an IBAN for a Dutch vendor or a routing and account number for a US vendor.
terms_days integer 0.0% 14 to 30 Payment terms, in days from the bill.
created_at timestamp, local wall clock, no zone 0.0% 2023-11-28 11:34:18 to 2025-08-11 10:27:07 When the vendor record was created in the ERP, on Kochi's clock.
created_by text 0.0% EMP-10142, EMP-10176, ext-hvcpa Who created it, an employee number or PINC's outside accountant (ext-hvcpa).

vendor_bill

A bill to PEBV or PINC for a shipment from Kochi: from a forwarder, insurer, customs broker, haulier or drayage carrier for a container, or from the courier for a box. One row per bill; amounts in the company's currency.

167 rows; key bill_id.

Column Type Empty Range or values Meaning
bill_id integer, key 0.0% 1 to 167 Row key.
transfer_id integer, → logistics.stock_transfer.transfer_id 0.0% 1 to 169 The stock transfer the bill is for, in the logistics system.
entity text 0.0% PEBV, PINC The company billed: PEBV or PINC.
vendor text 0.0% Noordzee Transportverzekeringen N.V., Waalhaven Cargo Lines B.V., Maasgrens Douane-Expediteurs B.V. The vendor's name as on the bill.
vendor_id integer, → ledger.vendor.vendor_id 0.0% 1 to 11 The vendor record the bill was entered under.
kind text 0.0% insurer, forwarder, broker The kind of vendor that sent the bill.
bill_number text 0.0% NTV-2023-00117, WCL23104531, MDE-24-00286 The vendor's own bill number.
issued_at timestamp, local wall clock, no zone 0.0% 2023-12-06 15:58:35 to 2026-09-11 13:06:45 When the vendor issued the bill, on the vendor's local clock (Amsterdam's for PEBV's vendors, New York's for PINC's).
received_on timestamp, local wall clock, no zone 0.0% 2023-12-06 00:00:00 to 2026-09-14 00:00:00 The date the bill reached the finance desk.
due_on timestamp, local wall clock, no zone 0.0% 2024-01-05 00:00:00 to 2026-10-11 00:00:00 The payment due date under the vendor's terms.
currency text 0.0% EUR, USD EUR for PEBV, USD for PINC.
amount number, 2 places 0.0% -240.92 to 5214.69 The bill total; negative on a credit note from the vendor.

vendor_bill_line

A charge on a vendor bill. Amounts in the bill's currency.

449 rows; key bill_line_id.

Column Type Empty Range or values Meaning
bill_line_id integer, key 0.0% 1 to 449 Row key.
bill_id integer, → ledger.vendor_bill.bill_id 0.0% 1 to 167 The bill.
line_no integer 0.0% 1 to 8 The line's number on the bill.
charge text 0.0% cargo_insurance, ocean_freight, terminal_handling The kind of charge, such as ocean_freight, terminal_handling or cargo_insurance.
amount number, 2 places 0.0% -96.0 to 4914.69 The charge; negative on a credit note.

vendor_payment

A vendor bill paid. PEBV pays from Zeeland Handelsbank at its Thursday payment run on or after the due date; PINC pays by ACH from Hudson Mercantile Bank at its Tuesday run. One row per bill paid; a credit note is taken against a later run.

164 rows; key payment_id.

Column Type Empty Range or values Meaning
payment_id integer, key 0.0% 1 to 164 Row key.
bill_id integer, → ledger.vendor_bill.bill_id 0.0% 1 to 165 The bill paid.
paid_on timestamp, local wall clock, no zone 0.0% 2024-01-11 00:00:00 to 2026-09-29 00:00:00 The date of the payment run.
entity text 0.0% PEBV, PINC The company paying: PEBV or PINC.
currency text 0.0% EUR, USD EUR for PEBV, USD for PINC.
amount number, 2 places 0.0% -240.92 to 5214.69 The amount paid; negative when a credit note is taken.

xb_cancellation

A paid US order that PTPL cancelled before it was packed, while it sold to the US from Kochi: the payment is owed back. One row per order.

2 rows; key xb_cancellation_id.

Column Type Empty Range or values Meaning
xb_cancellation_id integer, key 0.0% 1 to 2 Row key.
order_id integer, → commerce.order.order_id 0.0% 3034 to 4335 The storefront order.
cancelled_at timestamp, local wall clock, no zone 0.0% 2024-09-04 09:48:28 to 2025-01-04 23:35:23 When the order was cancelled, on Kochi's clock.
amount_usd number, 2 places 0.0% 24.04 to 50.94 The payment owed back, in US dollars.
amount_inr number, 2 places 0.0% 2065.87 to 4259.93 The same at the rate of the day it was paid, in rupees, as PTPL booked the advance.

xb_credit_note

PTPL's credit note on an export invoice to a US customer: for a parcel back in Kochi undelivered (rto), or for goods a customer was refunded or credited without sending them back (return). One row per credit note; amounts in US dollars and in rupees at the invoice's rate.

2 rows; key xb_cn_id.

Column Type Empty Range or values Meaning
xb_cn_id integer, key 0.0% 1 to 2 Row key.
xb_invoice_id integer, → ledger.xb_invoice.xb_invoice_id 0.0% 73 to 77 The export invoice credited.
order_id integer, → commerce.order.order_id 0.0% 3856 to 4079 The storefront order.
return_id integer 50.0% 18 to 18 The customer return, in the commerce system's returns; set only when kind is return.
kind text 0.0% rto, return rto (back undelivered) or return (refunded or credited without the goods coming back).
issued_at timestamp, local wall clock, no zone 0.0% 2024-12-16 14:16:46 to 2024-12-29 05:21:38 When the note was issued, on Kochi's clock.
settle_to text 0.0% refund refund (money back) or store_credit. Of an order paid partly by store credit, that part goes back to store credit and settle_to names where the rest goes.
amount_usd number 0.0% 19.7 to 96.3 The credit, in US dollars.
rate_inr number 0.0% 84.312 to 84.7882 The rate of the original sale, in rupees per US dollar.
credit_note_number text 0.0% KLXR/24-25/00001, KLXR/24-25/00002 The credit note number, in the KLXR series, restarting each financial year.
currency text 0.0% USD Always USD.
amount_inr number, 2 places 0.0% 1670.33 to 8119.25 The credit in rupees at the sale's rate.

xb_cutoff

An export invoice to a US customer whose parcel was still on its way at a month's end: its revenue and cost are held in the balance sheet and the entry reversed the next day. One row per invoice and month end; amounts in rupees.

19 rows; key xb_cutoff_id.

Column Type Empty Range or values Meaning
xb_cutoff_id integer, key 0.0% 1 to 19 Row key.
xb_invoice_id integer, → ledger.xb_invoice.xb_invoice_id 0.0% 7 to 86 The export invoice.
reverse_on timestamp, local wall clock, no zone 0.0% 2023-12-01 00:00:00 to 2025-01-01 00:00:00 The first day of the next month, when the cut-off entry is reversed.
cut_on timestamp, local wall clock, no zone 0.0% 2023-11-30 00:00:00 to 2024-12-31 00:00:00 The month-end date of the cut-off.
total_inr number 0.0% 1670.33 to 10113.04 The invoice's revenue held over, in rupees.
cost_of_goods number 0.0% 51.15 to 2520.45 The goods' standard cost held over, in rupees.

xb_dispute

A card chargeback or PayPal claim on one of PTPL's US sales while it sold from Kochi: the amount in US dollars, what it cost in rupees and from where, and what a win gave back. Through Paisora the amount comes out of the next Indian settlement; through PayPal it is debited from PTPL's linked bank account. One row per dispute.

0 rows; key xb_dispute_id.

Column Type Empty Range or values Meaning
xb_dispute_id integer, key 0.0% Row key.
dispute_id text, → billing.dispute.dispute_id 0.0% The dispute in the billing system.
payment_intent_id text, → billing.payment.payment_intent_id 0.0% The disputed payment.
invoice_id text, → billing.invoice.invoice_id 0.0% The invoice the disputed payment paid, where it paid one.
order_id text, → commerce.order.order_id 0.0% The storefront order.
method text 0.0% The payment method disputed.
reason text 0.0% The reason the payer's bank or PayPal gave.
status text 0.0% The dispute's outcome: won or lost.
currency text 0.0% Always USD.
amount number, 2 places 0.0% The amount disputed, in US dollars.
opened_at timestamp, local wall clock, no zone 0.0% When the dispute was opened, on Kochi's clock.
closed_at timestamp, local wall clock, no zone 0.0% When the dispute closed, on Kochi's clock.
processor text 0.0% Paisora or PayPal.
fee number, 2 places 0.0% PayPal's fee on a claim it decided against PTPL, in US dollars; zero otherwise.
rate_inr number, 4 places 0.0% The reference rate on the day it opened, in rupees per US dollar.
amount_inr number, 2 places 0.0% What the dispute took, in rupees, at the processor's rate.
returned_inr number, 2 places 0.0% The rupees given back when PTPL won; zero otherwise.
fee_inr number, 2 places 0.0% PayPal's fee in rupees; zero otherwise.
debited_at timestamp, local wall clock, no zone 0.0% When PayPal debited the amount from PTPL's bank account, on Kochi's clock; empty for Paisora.
settled_back_at timestamp, local wall clock, no zone 0.0% When PayPal returned the amount or debited its fee, on Kochi's clock; empty for Paisora and when neither happened.

xb_invoice

PTPL's export invoice for a US storefront parcel shipped from Kochi until 5 January 2025: zero-rated under a letter of undertaking (LUT), in US dollars, raised when the parcel is packed and booked in rupees at the rate of the day the customer paid. One row per order.

87 rows; key xb_invoice_id.

Column Type Empty Range or values Meaning
xb_invoice_id integer, key 0.0% 1 to 87 Row key.
order_id integer, → commerce.order.order_id 0.0% 3 to 4295 The storefront order.
invoice_at timestamp, local wall clock, no zone 0.0% 2023-10-03 17:10:03 to 2025-01-01 14:25:50 When the invoice was raised, at packing, on Kochi's clock.
seller_gstin text 0.0% 32UWICH3497D1ZU The GSTIN of PTPL's Kerala registration.
declaration text 0.0% Supply meant for export under LUT without payment of IGST The export declaration printed on the invoice.
currency text 0.0% USD Always USD.
goods_usd number, 2 places 0.0% 3.0 to 227.92 The goods' value, in US dollars, gift cards excluded.
shipping_usd number, 2 places 0.0% -0.0 to 6.95 The delivery charge, in US dollars.
total_usd number, 2 places 0.0% 9.95 to 227.92 The invoice total, in US dollars.
rate_inr number, 4 places 0.0% 82.7267 to 85.6035 The rate on the day the customer paid, in rupees per US dollar.
goods_inr number, 2 places 0.0% 253.29 to 19205.68 The goods' value in rupees at that rate.
total_inr number, 2 places 0.0% 840.06 to 19205.68 The invoice total in rupees at that rate.
invoice_number text 0.0% KLX/23-24/000001, KLX/23-24/000002, KLX/23-24/000003 The invoice number, in the KLX series, restarting each financial year.

xb_invoice_line

A line of PTPL's export invoice to a US customer: the goods with their HSN code and value in US dollars.

162 rows; key xb_line_id.

Column Type Empty Range or values Meaning
xb_line_id integer, key 0.0% 1 to 162 Row key.
order_line_id integer, → commerce.order_line.order_line_id 0.0% 9 to 23935 The order line invoiced.
xb_invoice_id integer, → ledger.xb_invoice.xb_invoice_id 0.0% 1 to 87 The export invoice.
sku_id integer, → core.sku.sku_id 0.0% 1 to 778 The SKU sold.
hsn text 0.0% 0904, 0902, 0910 The goods' HSN code.
quantity integer 0.0% 1 to 3 Units sold.
amount_usd number, 2 places 0.0% 3.0 to 170.99 The line amount, in US dollars.

xb_receipt

A US storefront payment to PTPL while it sold to the US from Kochi (until 5 January 2025), through Paisora's international service or PayPal. Each processor converts the dollars and pays PTPL rupees some days later. One row per payment.

89 rows; key xb_receipt_id.

Column Type Empty Range or values Meaning
xb_receipt_id integer, key 0.0% 1 to 89 Row key.
payment_intent_id text, → billing.payment.payment_intent_id 0.0% pi_3NweYlKYW674HvRF3PaspB7P, pi_3NxYCAKYW674HvRFGyNa1o3j, pi_3NzjvnKYW674HvRFGQfhJ4sk The payment in the billing system.
order_id integer, → commerce.order.order_id 0.0% 3 to 4335 The storefront order.
received_at timestamp, local wall clock, no zone 0.0% 2023-10-02 10:51:20 to 2025-01-04 22:51:09 When the payment succeeded, on Kochi's clock.
method text 0.0% paypal, card How the customer paid: card or paypal.
processor text 0.0% PayPal, Paisora Paisora (cards) or PayPal.
currency text 0.0% USD Always USD.
amount_usd number, 2 places 0.0% 9.95 to 227.92 The amount paid, in US dollars.
rate_inr number, 4 places 0.0% 82.7267 to 85.9346 The reference rate on the day it was paid, in rupees per US dollar.
amount_inr number, 2 places 0.0% 840.06 to 19205.68 The payment in rupees at that rate, as PTPL booked the customer's advance.

xb_refund

A refund to a US customer of PTPL's, paid back in US dollars through the processor that took the payment. Paisora takes it from PTPL's balance with the next Indian settlement; PayPal debits it from PTPL's linked bank account the next bank day. One row per refund.

4 rows; key xb_refund_id.

Column Type Empty Range or values Meaning
xb_refund_id integer, key 0.0% 1 to 4 Row key.
refund_id text, → billing.refund.refund_id 0.0% re_3PvAqsKYW674HvRFBH6xsxfy, re_3QXHe2KYW674HvRF6p1yZgOZ, re_3Qb9nPKYW674HvRF71F6FL5h The refund in the billing system.
order_id integer, → commerce.order.order_id 0.0% 3034 to 4335 The storefront order refunded.
refunded_at timestamp, local wall clock, no zone 0.0% 2024-09-04 09:59:54 to 2025-01-04 23:59:52 When the refund was made, on Kochi's clock.
processor text 0.0% PayPal, Paisora Paisora or PayPal.
currency text 0.0% USD Always USD.
amount_usd number, 2 places 0.0% 19.7 to 96.3 The amount refunded, in US dollars.
rate_inr number, 4 places 0.0% 83.6264 to 85.9346 The reference rate on the day of the refund, in rupees per US dollar.
amount_inr number, 2 places 0.0% 1686.34 to 8258.43 What the refund cost in rupees, at the processor's rate on the day.
debited_at timestamp, local wall clock, no zone 75.0% 2024-09-05 11:41:29 to 2024-09-05 11:41:29 When PayPal debited the refund from PTPL's bank account, on Kochi's clock; empty for Paisora.

xb_settlement

A processor's payout in rupees of a day's US captures, net of its fees and the GST on them: Paisora's international settlement or PayPal's. One row per processor and capture day; amounts in rupees.

84 rows; key xb_settlement_id.

Column Type Empty Range or values Meaning
xb_settlement_id integer, key 0.0% 1 to 84 Row key.
gateway text 0.0% PayPal, Paisora The processor: Paisora or PayPal.
capture_date timestamp, local wall clock, no zone 0.0% 2023-10-02 00:00:00 to 2025-01-04 00:00:00 The day of the captures paid out.
settled_at timestamp, local wall clock, no zone 0.0% 2023-10-04 09:24:55 to 2025-01-14 09:29:34 When the payout reached PTPL's bank, on Kochi's clock.
payment_count integer 0.0% 1 to 2 Captures paid out.
fees number, 2 places 0.0% 25.01 to 601.09 The processor's fees, in rupees.
cgst number, 2 places 0.0% -0.0 to 54.1 Central GST on Paisora's fees, in rupees; zero for PayPal.
sgst number, 2 places 0.0% -0.0 to 54.1 State GST on Paisora's fees, in rupees; zero for PayPal.
igst number, 2 places 0.0% -0.0 to 105.1 Integrated GST on PayPal's fees, in rupees; zero for Paisora.
net_amount number, 2 places 0.0% 804.25 to 19327.29 What the processor paid out, in rupees.
utr text 0.0% WGBXN23277629567, CTBKN23285449092, CTBKN23292673187 The bank's unique transaction reference for the payout.