@talonic/docs 0.21.64 → 0.21.66

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/content.js CHANGED
@@ -52182,7 +52182,7 @@ curl -X PATCH "https://api.talonic.com/v1/parties/roles/$ROLE_ID" \\
52182
52182
  seoTitle: "Parties Setup & Sync API \u2014 Status, Settings \u2014 Talonic Docs",
52183
52183
  description: "Check read progress, choose the data products and the party field map, get field suggestions with samples, and start a background sync through /v1/parties.",
52184
52184
  content: [
52185
- { type: "paragraph", text: "Setup tells the app which data products hold the contracts and which of their fields describe parties. The app reads every active assembled data product of the workspace; the settings hold that list and the **field map**, which names, per data product, the meaning of each party field: a role (`partner`, `our_party`, `manager`, `tenant`, `previous_owner`, `new_owner`, `contact` or `invoice_recipient`) and an attribute (`name`, `first_name`, `last_name`, `company_name`, `salutation`, `street`, `postcode`, `town`, `postcode_town`, `address`, `email` or `phone`)." },
52185
+ { type: "paragraph", text: "Setup tells the app which data products hold the contracts and which of their fields describe parties. The app reads every active assembled data product of the workspace; the settings hold that list and the **field map**, which names, per data product, the meaning of each party field: a role (`partner`, `our_party`, `manager`, `tenant`, `previous_owner`, `new_owner`, `contact` or `invoice_recipient`) and an attribute (`name`, `first_name`, `last_name`, `company_name`, `salutation`, `street`, `postcode`, `town`, `postcode_town`, `address`, `email`, `phone` or `kind`: a customer-type field such as Privatkunde / Firmenkunde / WEG that sets whether the party is a person, a company or an association of owners)." },
52186
52186
  { type: "heading", level: 2, id: "parties-status", text: "Status" },
52187
52187
  { type: "paragraph", text: "`GET /v1/parties/status` reports whether the workspace has data products to read, whether the first fill is still under way, row and read counts, party counts and the products whose party fields could not be read. A workspace that has not added the app answers `configured: false` when it has no stored settings, and the call enrolls nothing, which makes it a safe probe." },
52188
52188
  {
@@ -52345,13 +52345,13 @@ curl -X PATCH "https://api.talonic.com/v1/parties/roles/$ROLE_ID" \\
52345
52345
  description: "List contract partners with their roles and open problems, create and edit parties, and read one party with its letters, contracts, documents and duplicates.",
52346
52346
  content: [
52347
52347
  { type: "paragraph", text: "`GET /v1/parties` lists the parties the key's minting user may see: a party holding a role on a visible row, or one that user created and that has no role yet. By default the register lists **contract partners**, meaning parties holding the `partner` or `our_party` role, or no role yet. Every other entity (a Verwalter, a tenant, an owner, a contact) appears with `scope=all`. The list is sorted by display name." },
52348
- { type: "paragraph", text: "Each entry is a party with three additions: `contracts` (the contract rows the party holds a non-rejected role on), `roles` (the role names it holds) and `issues` (the problems that name the party, plus one when the party has a duplicate candidate). `total` counts the parties matching the filters before `limit`, and `needs_attention` counts the parties in scope, before the other filters, that need a person. `attention=true` (or `1`) keeps only those; any other value applies no filter." },
52348
+ { type: "paragraph", text: "Each entry is a party with three additions: `contracts` (the contract rows the party holds a non-rejected role on), `roles` (the role names it holds) and `issues` (the problems that name the party, plus one when the party has a duplicate candidate). `total` counts the parties matching the filters before paging (`limit` rows from `offset`, or the 1-based `page`), and `needs_attention` counts the parties in scope, before the other filters, that need a person. `attention=true` (or `1`) keeps only those; any other value applies no filter." },
52349
52349
  {
52350
52350
  type: "endpoint",
52351
52351
  method: "GET",
52352
52352
  path: "/v1/parties",
52353
52353
  summary: "The register of contract partners.",
52354
- description: "Requires the read scope. Returns { total, needs_attention, data[] }.",
52354
+ description: "Requires the read scope. Returns one page: { total, needs_attention, offset, limit, data[] }.",
52355
52355
  blocks: [
52356
52356
  {
52357
52357
  type: "param-table",
@@ -52361,7 +52361,9 @@ curl -X PATCH "https://api.talonic.com/v1/parties/roles/$ROLE_ID" \\
52361
52361
  { name: "q", type: "string", description: "Case-insensitive substring over name, street, postcode, town and e-mail; also matches the normalized name key." },
52362
52362
  { name: "kind", type: "string", description: "person, company, owners_association or unknown." },
52363
52363
  { name: "attention", type: "string", description: "true or 1 keeps only parties that need a person (a problem names them, or they have a duplicate candidate)." },
52364
- { name: "limit", type: "integer", description: "1 to 5000.", default: "200" },
52364
+ { name: "limit", type: "integer", description: "Rows per page, 1 to 5000.", default: "200" },
52365
+ { name: "offset", type: "integer", description: "The first row of the page (0-based); wins over page when both are given.", default: "0" },
52366
+ { name: "page", type: "integer", description: "The page to return (1-based, limit rows each), an alternative to offset." },
52365
52367
  { name: "scope", type: "string", description: "partners or all.", default: "partners" }
52366
52368
  ]
52367
52369
  }
@@ -57830,7 +57832,7 @@ curl "https://api.talonic.com/v1/ap/netsuite/runs" \\
57830
57832
  faq: [
57831
57833
  { question: "Does posting create bills in NetSuite?", answer: "No. The adapter is a simulated sandbox. Posting stores a run in the posting log inside the platform and answers each record the way NetSuite's REST API answers a created record, but nothing is sent to NetSuite. The preview and the CSV export show what a real posting would send." },
57832
57834
  { question: "What currency are the amounts in?", answer: "Totals and at-stake amounts are in the ledger currency of the workspace's Money Found configuration. Each bill also carries its own currency and amount, and amount_base in the ledger currency when a rate is known. Bills that cannot be converted are counted in totals.unconverted and left out of the dollar totals." },
57833
- { question: "Why does the app say the configuration is missing something?", answer: "The overview lists gaps: money_found_not_configured, no_binding:<role>, unreadable:<role> and ledger_unavailable. Each names what is missing for a complete read, such as a Money Found role with no binding." }
57835
+ { question: "Why does the app say the configuration is missing something?", answer: "The overview lists gaps, each naming what is missing for a complete read: no_invoice_pipeline (no run holds an invoice yet), contracts_not_set_up or contracts_not_bound (Money Found is not set up, or does not read these invoices, so prices are not checked against contracts while every other check runs), processing:<role> (invoices still being read), no_binding:<role>, unreadable:<role>, ledger_unavailable and contracts_pending." }
57834
57836
  ],
57835
57837
  mentions: ["accounts payable", "vendor bills", "NetSuite sandbox", "held bills", "duplicate invoices", "purchase order", "payment hold"]
57836
57838
  },
@@ -57842,7 +57844,7 @@ curl "https://api.talonic.com/v1/ap/netsuite/runs" \\
57842
57844
  description: "Read the payables overview with totals and gaps, list posting-ready vendor bills filtered by status or hold reason, and read the worklist of held bills.",
57843
57845
  content: [
57844
57846
  { type: "paragraph", text: "Three read routes cover the payables inbox. `GET /v1/ap/overview` returns the state of the inbox without the bills themselves: totals, one block per legal entity, the bill sources and the last posting run. `GET /v1/ap/bills` returns the bills, held bills first and then by dollars at stake. `GET /v1/ap/issues` returns only the held bills with why they are held, the dollars at stake and the evidence, largest first. All three need the `read` scope." },
57845
- { type: "paragraph", text: "The overview's `gaps` array lists what is missing for a complete read: `money_found_not_configured`, `no_binding:<role>`, `unreadable:<role>` and `ledger_unavailable`. `configured` is false when the workspace has no Money Found configuration, and `gaps` then holds `money_found_not_configured`. `totals.held.at_stake` counts the dollars the holds put at stake, never more than the bill itself, while `totals.held.amount` is the full amount of the held bills." },
57847
+ { type: "paragraph", text: "AP finds its invoices by itself: the Spec Money Found's invoice role names, else the workspace's pipeline holding the most documents classified as invoices. New invoices, purchase orders and delivery notes are added to that pipeline once classified, when no run holds them yet and they come from a source the pipeline already reads, or a new source no other Spec reads; `POST /v1/ap/intake` (scope `write`, `dry_run` to only list) adds the ones that arrived before. Payment rules come from files: `POST /v1/ap/rules/batches` turns uploaded documents (policies, validation rules) into rules, `GET /v1/ap/rules` lists them, and every invoice is checked against them with the documents it links to; a failed rule holds it with the reason `policy_rule` and the words it rests on. The overview's `gaps` array lists what is missing for a complete read: `no_invoice_pipeline`, `contracts_not_set_up` / `contracts_not_bound` (Money Found not set up, or not reading these invoices: prices are not checked against contracts, every other check runs), `processing:<role>` (invoices still being read), `rules_pending` (invoices still being checked against the payment rules), `no_binding:<role>`, `unreadable:<role>`, `ledger_unavailable` and `contracts_pending`. `configured` is false only when no pipeline holds an invoice, and `gaps` then holds `no_invoice_pipeline`. `totals.held.at_stake` counts the dollars the holds put at stake, never more than the bill itself, while `totals.held.amount` is the full amount of the held bills." },
57846
57848
  {
57847
57849
  type: "endpoint",
57848
57850
  method: "GET",
@@ -57869,14 +57871,14 @@ curl "https://api.talonic.com/v1/ap/netsuite/runs" \\
57869
57871
  type: "endpoint",
57870
57872
  method: "GET",
57871
57873
  path: "/v1/ap/bills",
57872
- summary: "The bills, ready or held.",
57874
+ summary: "The bills, ready, missing information, evaluating or held.",
57873
57875
  description: "Requires the read scope. total is the number of bills matching the filters before limit applies.",
57874
57876
  blocks: [
57875
57877
  {
57876
57878
  type: "param-table",
57877
57879
  title: "Query parameters",
57878
57880
  params: [
57879
- { name: "status", type: "string", description: "ready or held. Any other value is a 400." },
57881
+ { name: "status", type: "string", description: "ready, needs_info, evaluating or held. Any other value is a 400." },
57880
57882
  { name: "entity", type: "string", description: "Entity code." },
57881
57883
  { name: "reason", type: "string", description: "Bills with a hold of this reason: above_contract, duplicate, missing_po or vendor_unknown." },
57882
57884
  { name: "q", type: "string", description: "Case-insensitive substring over vendor, invoice number, file name and contract reference." },
@@ -57893,7 +57895,7 @@ curl "https://api.talonic.com/v1/ap/netsuite/runs" \\
57893
57895
  { name: "data[].key / document_id / filename", type: "string", description: "The bill key and the document it was read from." },
57894
57896
  { name: "data[].vendor / invoice_number", type: "string", description: "invoice_number is the document number the bill posts under; captured_number is the number as captured when it differs." },
57895
57897
  { name: "data[].amount / currency / amount_base", type: "number / string", description: "The bill's own amount and currency, and the amount in the ledger currency (null when no rate is known)." },
57896
- { name: "data[].status", type: "string", description: "ready or held." },
57898
+ { name: "data[].status", type: "string", description: "ready, needs_info, evaluating (the contract price check is still running) or held." },
57897
57899
  { name: "data[].holds[]", type: "array", description: "Why the bill is held: reason, label, amount, explanation, duplicate_of, evidence." },
57898
57900
  { name: "data[].notes[]", type: "array", description: "Findings that do not hold the bill." },
57899
57901
  { name: "data[].lines[]", type: "array", description: "Lines with account, department, class (klass), sublist (item or expense) and tax." },
@@ -57969,10 +57971,11 @@ curl "https://api.talonic.com/v1/ap/netsuite/runs" \\
57969
57971
  ],
57970
57972
  faq: [
57971
57973
  { question: "What is the difference between amount and at_stake?", answer: "amount is the full value of the bill. at_stake is the dollars the holds put at risk, for example the part above the contract price, and is never more than the bill. The worklist sorts by at_stake, largest first." },
57974
+ { question: "What is the risk of a held bill?", answer: "Each held bill gets a risk from a risk matrix: how likely its kind of hold loses money (duplicate, already paid and a changed bank account are high; above contract, above PO, not received and a failed payment rule medium; the rest low) against the money at stake (high from 10,000, medium from 1,000 in the ledger currency). A duplicate of 100 is a medium risk, one of 15,000 high. Both tables can be changed per workspace in the Risk matrix dialog on the AP page or with PUT /v1/ap/risk; only what differs from the defaults is stored. Filter with GET /v1/ap/bills?risk=high." },
57972
57975
  { question: "Why does a bill have notes but no holds?", answer: "Estimated and potential findings, such as an estimated exposure or a discount to take, are notes on the bill and never holds. Only owed ledger rows and the AP controls (duplicate, missing_po, vendor_unknown) hold a bill." },
57973
57976
  { question: "How is invoice_number chosen?", answer: "It is the posting reference: the printed number when it reads like one, else agreement and period for statements, else vendor, date and a document hash. The raw capture is kept as captured_number when it differs." }
57974
57977
  ],
57975
- mentions: ["payables overview", "vendor bills", "held bills", "hold reasons", "at stake", "ledger currency", "worklist"]
57978
+ mentions: ["payables overview", "vendor bills", "held bills", "hold reasons", "at stake", "ledger currency", "worklist", "risk matrix", "invoice risk"]
57976
57979
  },
57977
57980
  {
57978
57981
  slug: "payables-config",