@@ -291,7 +291,7 @@ The `Taxes` field represents a List of `TaxField` objects. As it is the represen
291291Fields which are specific to this product; they are not used in any other product.
292292
293293### Line Items Field
294- List of line item details .
294+ List of line item present on the document .
295295
296296A ` FinancialDocumentV1LineItem ` implements the following attributes:
297297
@@ -315,17 +315,17 @@ System.out.println(result.getDocument().getInference().getPrediction().getBillin
315315```
316316
317317## Purchase Category
318- ** category** : The purchase category among predefined classes .
318+ ** category** : The purchase category, only for receipts .
319319
320320#### Possible values include:
321- - toll
322- - food
323- - parking
324- - transport
325- - accommodation
326- - gasoline
327- - telecom
328- - miscellaneous
321+ - ' toll'
322+ - ' food'
323+ - ' parking'
324+ - ' transport'
325+ - ' accommodation'
326+ - ' gasoline'
327+ - ' telecom'
328+ - ' miscellaneous'
329329
330330``` java
331331System . out. println(result. getDocument(). getInference(). getPrediction(). getCategory(). value);
@@ -339,7 +339,7 @@ System.out.println(result.getDocument().getInference().getPrediction().getCustom
339339```
340340
341341## Customer Company Registrations
342- ** customerCompanyRegistrations** : List of company registrations associated to the customer.
342+ ** customerCompanyRegistrations** : List of company registration numbers associated to the customer.
343343
344344``` java
345345for (customerCompanyRegistrationsElem : result. getDocument(). getInference(). getPrediction(). getCustomerCompanyRegistrations())
@@ -370,20 +370,20 @@ System.out.println(result.getDocument().getInference().getPrediction().getDate()
370370```
371371
372372## Document Number
373- ** documentNumber** : The document number or identifier.
373+ ** documentNumber** : The document number or identifier (invoice number or receipt number) .
374374
375375``` java
376376System . out. println(result. getDocument(). getInference(). getPrediction(). getDocumentNumber(). value);
377377```
378378
379379## Document Type
380- ** documentType** : One of: ' INVOICE', ' CREDIT NOTE', ' CREDIT CARD RECEIPT', ' EXPENSE RECEIPT' .
380+ ** documentType** : The type of the document: INVOICE or CREDIT NOTE if it is an invoice, CREDIT CARD RECEIPT or EXPENSE RECEIPT if it is a receipt .
381381
382382#### Possible values include:
383- - INVOICE
384- - CREDIT NOTE
385- - CREDIT CARD RECEIPT
386- - EXPENSE RECEIPT
383+ - ' INVOICE'
384+ - ' CREDIT NOTE'
385+ - ' CREDIT CARD RECEIPT'
386+ - ' EXPENSE RECEIPT'
387387
388388``` java
389389System . out. println(result. getDocument(). getInference(). getPrediction(). getDocumentType(). value);
@@ -404,7 +404,7 @@ System.out.println(result.getDocument().getInference().getPrediction().getInvoic
404404```
405405
406406## Line Items
407- ** lineItems** (List<[ FinancialDocumentV1LineItem] ( #line-items-field ) >): List of line item details .
407+ ** lineItems** (List<[ FinancialDocumentV1LineItem] ( #line-items-field ) >): List of line item present on the document .
408408
409409``` java
410410for (lineItemsElem : result. getDocument(). getInference(). getPrediction(). getLineItems())
@@ -414,7 +414,7 @@ for (lineItemsElem : result.getDocument().getInference().getPrediction().getLine
414414```
415415
416416## Locale
417- ** locale** : The locale detected on the document.
417+ ** locale** : The locale of the document.
418418
419419``` java
420420System . out. println(result. getDocument(). getInference(). getPrediction(). getLocale(). value);
@@ -428,7 +428,7 @@ System.out.println(result.getDocument().getInference().getPrediction().getPaymen
428428```
429429
430430## Purchase Order Number
431- ** poNumber** : The purchase order number.
431+ ** poNumber** : The purchase order number, only if the document is an invoice .
432432
433433``` java
434434System . out. println(result. getDocument(). getInference(). getPrediction(). getPoNumber(). value);
@@ -442,7 +442,7 @@ System.out.println(result.getDocument().getInference().getPrediction().getReceip
442442```
443443
444444## Reference Numbers
445- ** referenceNumbers** : List of Reference numbers, including PO number.
445+ ** referenceNumbers** : List of Reference numbers, including PO number, only if the document is an invoice .
446446
447447``` java
448448for (referenceNumbersElem : result. getDocument(). getInference(). getPrediction(). getReferenceNumbers())
@@ -459,14 +459,15 @@ System.out.println(result.getDocument().getInference().getPrediction().getShippi
459459```
460460
461461## Purchase Subcategory
462- ** subcategory** : The purchase subcategory among predefined classes for transport and food.
462+ ** subcategory** : The purchase subcategory for transport and food, only for receipts .
463463
464464#### Possible values include:
465- - plane
466- - taxi
467- - train
468- - restaurant
469- - shopping
465+ - 'plane'
466+ - 'taxi'
467+ - 'train'
468+ - 'restaurant'
469+ - 'shopping'
470+ - null
470471
471472``` java
472473System . out. println(result. getDocument(). getInference(). getPrediction(). getSubcategory(). value);
@@ -480,7 +481,7 @@ System.out.println(result.getDocument().getInference().getPrediction().getSuppli
480481```
481482
482483## Supplier Company Registrations
483- ** supplierCompanyRegistrations** : List of company registrations associated to the supplier.
484+ ** supplierCompanyRegistrations** : List of company registration numbers associated to the supplier.
484485
485486``` java
486487for (supplierCompanyRegistrationsElem : result. getDocument(). getInference(). getPrediction(). getSupplierCompanyRegistrations())
@@ -504,7 +505,7 @@ System.out.println(result.getDocument().getInference().getPrediction().getSuppli
504505```
505506
506507## Supplier Payment Details
507- ** supplierPaymentDetails** : List of payment details associated to the supplier.
508+ ** supplierPaymentDetails** : List of payment details associated to the supplier (only for invoices) .
508509
509510``` java
510511for (supplierPaymentDetailsElem : result. getDocument(). getInference(). getPrediction(). getSupplierPaymentDetails())
@@ -531,7 +532,7 @@ System.out.println(result.getDocument().getInference().getPrediction().getSuppli
531532```
532533
533534## Taxes
534- ** taxes** : List of tax lines information .
535+ ** taxes** : List of all taxes on the document .
535536
536537``` java
537538for (taxesElem : result. getDocument(). getInference(). getPrediction(). getTaxes())
@@ -541,7 +542,7 @@ for (taxesElem : result.getDocument().getInference().getPrediction().getTaxes())
541542```
542543
543544## Purchase Time
544- ** time** : The time the purchase was made.
545+ ** time** : The time the purchase was made (only for receipts) .
545546
546547``` java
547548System . out. println(result. getDocument(). getInference(). getPrediction(). getTime(). value);
@@ -569,7 +570,7 @@ System.out.println(result.getDocument().getInference().getPrediction().getTotalN
569570```
570571
571572## Total Tax
572- ** totalTax** : The total amount of taxes.
573+ ** totalTax** : The sum of all taxes present on the document .
573574
574575``` java
575576System . out. println(result. getDocument(). getInference(). getPrediction(). getTotalTax(). value);
0 commit comments