[2025-08-07 21:12:29] Method: authenticate Input: Array
(
    [0] => 166571n1ep61ee50da9d7a9d62bafa6b0ea66dca4a
)

[2025-08-07 21:12:29] Method: listdocumentseries Input: Array
(
    [sid] => b8960b4841d08e270016657185848ee97d3a2cf2
    [docType] => 34
)

[2025-08-07 21:12:30] Method: insertDocumentHeader Input: Array
(
    [sid] => b8960b4841d08e270016657185848ee97d3a2cf2
    [nif] => 247597538
    [docType] => 34
    [obs] => Fatura Recibo gerada automaticamente
    [opt_name] => Catarina Cunha
    [opt_nif] => 247597538
    [opt_address] => Avenida do Princicpe Perfeito n 173 Valadares, Vila Nova de Gaia
    [opt_locality] => 
    [opt_postalCode] => 
    [docRef] => 
)

[2025-08-07 21:12:30] Method: setDocumentHeaderField Input: Array
(
    [sid] => b8960b4841d08e270016657185848ee97d3a2cf2
    [idDocTemp] => 24
    [docType] => 34
    [fieldname] => docdate
    [value] => 2025-08-07
)

[2025-08-07 21:12:30] Method: setDocumentHeaderField Input: Array
(
    [sid] => b8960b4841d08e270016657185848ee97d3a2cf2
    [idDocTemp] => 24
    [docType] => 34
    [fieldname] => duedate
    [value] => 2025-08-07
)

[2025-08-07 21:12:30] Method: insertDocumentLine Input: Array
(
    [sid] => b8960b4841d08e270016657185848ee97d3a2cf2
    [idDocTemp] => 24
    [docType] => 34
    [ref] => 
    [qt] => 1.00
    [price] => 38.21
    [tax] => 23.00
    [prodDesc] => Pack 8 treinos (2 semanal)
    [discount] => 
    [exemption] => 1
    [obs] => 
)

[2025-08-07 21:12:51] Method: closeDocument Input: Array
(
    [sid] => b8960b4841d08e270016657185848ee97d3a2cf2
    [idDocTemp] => 24
    [docType] => 34
)

